Problem deploying to my JAVA EE on glassfish project.

31 views
Skip to first unread message

Kim Torgersen

unread,
Feb 21, 2012, 5:33:56 AM2/21/12
to jpoxy
I get this message when i try to run:

deploy?DEFAULT=/home/kim/NetBeansProjects/MyGrona/build/
web&name=MyGrona&contextroot=/MyGrona&force=true failed on GlassFish
Server 3.1.1
Error occurred during deployment: Exception while loading the app :
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException:
org.apache.catalina.LifecycleException:
com.sun.enterprise.container.common.spi.util.InjectionException: Error
creating managed object for class: class org.jpoxy.RPC. Please see
server.log for more details.

Added XML:

<servlet>
<servlet-name>jsonrpc</servlet-name>
<servlet-class>org.jpoxy.RPC</servlet-class>
<init-param>
<param-name>rpcclasses</param-name>
<param-value>webservice.Example</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>jsonrpc</servlet-name>
<url-pattern>/jsonrpc/*</url-pattern>
</servlet-mapping>


How i did:
1. Added the jar.
2. Created the webservice.Example.java class.
3. Added the XML to web.xml.

Developing in NetBeans. Running on glassfish


I'm a student and doing this in a course. Totally new to JAVA EE.
Please! Any ideas!?

Matt Roth

unread,
Apr 12, 2013, 4:16:59 PM4/12/13
to jp...@googlegroups.com
Did you ever find a solution?
Reply all
Reply to author
Forward
0 new messages