I'm trying to get the Editor Tools run in embedded scenario on my Linux (Ubuntu).
Anybody out there, who work with such a scenario?
I got stucked, starting the embedded server (a lot of BAD MAGIC Number Errors)?!!
i don't have an concrete solution for your problem,
but i had some experience with bad magic number in the past.
each class starts with 4-byte with identifies the class file format, this is called the magic number.
When this error occurs its very likely that the class is corrupt (or even the jvm).
perhaps recompiling would help.
(a class can also be corrupt when it is signed with two different certificates at the same time)
thanx for your hints, no magic number problem anymore, but ...
now it seems that the application is not able to handle embedded:// url forms, it throws a malformed URL exception?
next problem, although I have the catalina.jar in my classpath I get following errors:
java.lang.NoClassDefFoundError: org/apache/catalina/Realm
at org.eclnt.client.comm.http.EmbeddedTomcatFactory.getEmbeddedTomcat(EmbeddedTomcatFactory.java:11)
at org.eclnt.client.comm.http.DataTransfer.transferXML(DataTransfer.java:424)
at org.eclnt.client.comm.http.DataTransfer.buildErrorResponse(DataTransfer.java:601)
at org.eclnt.client.comm.http.DataTransfer.transferXML(DataTransfer.java:430)
at org.eclnt.client.comm.http.DataTransfer.communicateToServerSynchronous(DataTransfer.java:176)
at org.eclnt.client.page.Page.loadPageFromServer(Page.java:478)
at org.eclnt.client.page.Page.<init>(Page.java:257)
at org.eclnt.client.page.PageContainer.<init>(PageContainer.java:61)
at org.eclnt.client.page.PageBrowser.<init>(PageBrowser.java:902)
at org.eclnt.client.page.PageBrowser.<init>(PageBrowser.java:771)
at org.eclnt.client.page.PageBrowser.fillFrame(PageBrowser.java:525)
at org.eclnt.client.page.PageBrowser.access$1(PageBrowser.java:523)
at org.eclnt.client.page.PageBrowser$FillFrameRunner.run(PageBrowser.java:321)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.Realm
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)