Last WTP 1.0 (RC5) and Geronimo (M5) problems [message #153627] |
Sat, 24 December 2005 16:24  |
Eclipse User |
|
|
|
<br><font size=2 face="sans-serif">I'm trying to make it possible to develop
applications for Apache Geronimo server with last version of WTP.</font>
<br>
<br><font size=2 face="sans-serif">I installed WTP 1.0 on the clean Eclipse
3.1.1 by unzipping WTP and all requirements:</font>
<ul>
<li><font size=2 face="sans-serif">emf-sdo-xsd-SDK-2.1.1</font>
<li><font size=2 face="sans-serif">GEF-SDK-3.1.1</font>
<li><font size=2 face="sans-serif">JEM-SDK-1.1.0.1</font>
<li><font size=2 face="sans-serif">wtp-1.0RC5</font></ul>
<br><font size=2 face="sans-serif">and I have last version of Geronimo
(M5) installed and worked (I can launch it and deploy some test applications
quite well)</font>
<br>
<br><font size=2 face="sans-serif">I decided to test how it works WTP with
Geromino on the example application from WTP tutorial i've got from http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html</font>
<br>
<br><font size=2 face="sans-serif">I added geronimo server runtime (I have
no geronimo server in list of available runtimes, but after clicking "Cannot
find your server" link support for geronimo was downloaded and installed.</font>
<br><font size=2 face="sans-serif">I configure runtime, so it pointed to
the server location.</font>
<br><font size=2 face="sans-serif">Server is added to my server window
and added into project as default application server.</font>
<br>
<br><font size=2 face="sans-serif">I was able build tutorial test application
quite well, but then I tried to run it via "Run as" ->
"Run on the server" I've got some problems.</font>
<br>
<br><font size=2 face="sans-serif">Initially it wrote me in console that
cannot find Deamon class. After looking some time to configuration I found
that "Run..." -> "Generic Server" -> "Apache
Geronimo 1.0" does not have geronimo jars in class path.</font>
<br><font size=2 face="sans-serif">So, I added all required (I hope all,
actually I've got all jarsa from <geronimo>/lib & <geronimo>/reporitory/geronimo-spec/jars)
I seems tried to start - but got me errors in console about logging:</font>
<br>
<br><font size=2 face="Courier New">Booting Geronimo Kernel (in Java 1.5.0_05)...</font>
<br><font size=2 color=red face="Courier New">Exception in thread "main"
</font><font size=2 color=#000080 face="Courier New"><u>org.apache.commons.logging.LogConfigurationException </u></font><font size=2 color=red face="Courier New">:
</font><font size=2 color=#000080 face="Courier New"><u>org.apache.commons.logging.LogConfigurationException </u></font><font size=2 color=red face="Courier New">:
</font><font size=2 color=#000080 face="Courier New"><u>java.lang.NullPointerException</u></font><font size=2 color=red face="Courier New">
(Caused by java.lang.NullPointerException) (Caused by </font><font size=2 color=#000080 face="Courier New"><u>org.apache.commons.logging.LogConfigurationException </u></font><font size=2 color=red face="Courier New">:
</font><font size=2 color=#000080 face="Courier New"><u>java.lang.NullPointerException</u></font><font size=2 color=red face="Courier New">
(Caused by java.lang.NullPointerException))</font>
<br><font size=2 color=red face="Courier New">
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(</font ><font size=2 color=#000080 face="Courier New"><u>LogFactoryImpl.java:543</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(</font ><font size=2 color=#000080 face="Courier New"><u>LogFactoryImpl.java:235</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.geronimo.kernel.log.GeronimoLogFactory.getInstanc e( </font><font size=2 color=#000080 face="Courier New"><u>GeronimoLogFactory.java:92</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.geronimo.kernel.log.GeronimoLogFactory.getInstanc e( </font><font size=2 color=#000080 face="Courier New"><u>GeronimoLogFactory.java:75</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.commons.logging.LogFactory.getLog(</font><font size=2 color=#000080 face="Courier New"><u>LogFactory.java:351</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.geronimo.kernel.log.GeronimoLogging.initialize(</font ><font size=2 color=#000080 face="Courier New"><u>GeronimoLogging.java:52</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.geronimo.system.main.Daemon.initializeSystem(</font ><font size=2 color=#000080 face="Courier New"><u>Daemon.java:111</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.geronimo.system.main.Daemon.<init>( </font><font size=2 color=#000080 face="Courier New"><u>Daemon.java:73</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.geronimo.system.main.Daemon.main(</font><font size=2 color=#000080 face="Courier New"><u>Daemon.java:316</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">Caused by: </font><font size=2 color=#000080 face="Courier New"><u>org.apache.commons.logging.LogConfigurationException </u></font><font size=2 color=red face="Courier New">:
</font><font size=2 color=#000080 face="Courier New"><u>java.lang.NullPointerException</u></font><font size=2 color=red face="Courier New">
(Caused by java.lang.NullPointerException)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor( </font><font size=2 color=#000080 face="Courier New"><u>LogFactoryImpl.java:397</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(</font ><font size=2 color=#000080 face="Courier New"><u>LogFactoryImpl.java:529</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
... 8 more</font>
<br><font size=2 color=red face="Courier New">Caused by: </font><font size=2 color=#000080 face="Courier New"><u>java.lang.NullPointerException</u></font>
<br><font size=2 color=red face="Courier New">
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor( </font><font size=2 color=#000080 face="Courier New"><u>LogFactoryImpl.java:374</u></font><font size=2 color=red face="Courier New">)</font>
<br><font size=2 color=red face="Courier New">
... 9 more</font>
<br>
<br><font size=2 face="sans-serif">No any more information in the eclipse
or geronimo logs.</font>
<br>
<br><font size=2 face="sans-serif">Did anybody was able to use WTP for
Geronimo?</font>
<br>
<br><font size=2 face="sans-serif">With best regards,</font>
<br><font size=2 face="sans-serif">Alexey Kakunin</font>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02843 seconds