Trying to set up dev environment

4 views
Skip to first unread message

Jeremy Thomerson

unread,
Jun 10, 2008, 9:54:30 AM6/10/08
to webical-d...@googlegroups.com
I'm trying to set up my dev environment to work with webical.  I followed all the instructions on your site, but I am getting the following error:

2008-06-10 08:53:14,899 INFO  StartWebApplication - Starting up Jetty
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
2008-06-10 08:53:15,346 ERROR StartWebApplication - java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Constructor.newInstance(libgcj.so.70)
   at org.mortbay.xml.XmlConfiguration.newObj(XmlConfiguration.java:595)
   at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:245)
   at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:179)
   at org.webical.web.StartWebApplication.main(StartWebApplication.java:59)
Caused by: javax.naming.OperationNotSupportedException
   at javax.naming.InitialContext.getNameInNamespace(libgcj.so.70)
   at org.mortbay.jetty.plus.naming.NamingEntry.save(NamingEntry.java:498)
   at org.mortbay.jetty.plus.naming.NamingEntry.<init>(NamingEntry.java:360)
   at org.mortbay.jetty.plus.naming.Resource.<init>(Resource.java:47)
   at java.lang.reflect.Constructor.newInstance(libgcj.so.70)
   ...4 more

Any ideas?

Jeremy Thomerson

Ivo van Dongen

unread,
Jun 12, 2008, 3:16:46 AM6/12/08
to webical-d...@googlegroups.com
Hmm, weird error. A couple things spring to mind:

- The jetty.xml file is incorrect (located in src/test/resources)
- The naming dependencies of jetty are not fulfilled (check your classpath)
- Somehow you have a different version of jetty (eg 4 instead of 6)

How are you running jetty (from eclipse/ mvn or command line)?

You could always run it in tomcat. perhaps through WTP in eclipse.

Regards,
Ivo

PS. Sorry for the slow response; we're terribly busy ATM.


--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500

Reply all
Reply to author
Forward
0 new messages