Hi There

Thanks for your reply. Certainly i have gone through of these videos.

I have created a new web application (myOwnWebapplication) in hot-deploy.
and configured in ofbiz-component.xml 

it works perfect.

But if i create a java web service in that webapplication
(myOwnWebapplication) and trying to run the server and it throws the error
saying it cant find the web service implementation. I have set the class
paths to build/web/WEB-INF/lib. and all classes are there.

I am using java 1.5 and netbeans.

Any idea Whats wrong?
Thanks in advance

Here is a stack trace
2007-10-15 20:50:28,468 (main) [    StandardContext.java:3767:ERROR]
Exception sending context initialized event to listener instance of class
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11:
failed to parse runtime descriptor:
com.sun.xml.ws.util.exception.LocatableWebServiceException: class not found
in runtime descriptor: newpackage.NewWebService
at line 3 of jndi:/0.0.0.0/webapplication4/WEB-INF/sun-jaxws.xml
        at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:107)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:225)
        at 
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:83)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:266)
        at org.ofbiz.base.start.Start.startServer(Start.java:317)
        at org.ofbiz.base.start.Start.start(Start.java:321)
        at org.ofbiz.base.start.Start.main(Start.java:407)
Caused by: com.sun.xml.ws.util.exception.LocatableWebServiceException: class
not found in runtime descriptor: newpackage.NewWebService
at line 3 of jndi:/0.0.0.0/webapplication4/WEB-INF/sun-jaxws.xml
        at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.getImplementorClass(DeploymentDescriptorParser.java:531)
        at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:207)
        at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:133)
        at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:97)
        ... 13 more
Caused by: java.lang.ClassNotFoundException: newpackage.NewWebService
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.getImplementorClass(DeploymentDescriptorParser.java:528)


jacques.le.roux wrote:
> 
> You may have at least a look at http://docs.ofbiz.org/x/PQM
> and more generally
> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index
> 
> Jacques
> 
> De : "RockyOfbiz" <[EMAIL PROTECTED]>
> 
> 
>> 
>> Hi BJ
>> 
>> No i am not talking about contribution. I am just trying to understand
>> the
>> things now so i dont think i can do contribute at this stage. ;-).
>> 
>> I am just trying to find out a way to my problem.
>> 
>> How can i deploy my own java xml web services on ofbiz tomcat server?.
>> 
>> is it possible or not?
>> 
>> /R
>> 
>> BJ Freeman wrote:
>> > 
>> > You are welcome to do what you want.
>> > Are you asking if it is something you can to contribute to ofbiz?
>> > Have you read the best practices
>> >
>> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
>> > 
>> > 
>> > 
>> > 
>> > RockyOfbiz sent the following on 10/13/2007 5:31 AM:
>> >> Hi BJ,
>> >> 
>> >> I am not sure about the framework/example. Can u tell me in detail if
>> >> possible please?.
>> >> 
>> >> I wanna develop a web service layer kinda stuff. So that i can reduce
>> the
>> >> generation of stubs for WSDL. 
>> >> 
>> >> It can act like a wrapper and combile all the services (service.xml)
>> and
>> >> provide only one endpoint for each application like this.
>> >> 
>> >> http://localhost/webtools/product?wsdl
>> >> http://localhost/webtools/accounting?wsdl
>> >> 
>> >> Do u have any other plans?
>> >> 
>> >> /R
>> >> 
>> >> BJ Freeman wrote:
>> >>> Like me when I first came, I had a misconception about what things
>> >>> meant.
>> >>> I believe you would be farther ahead by reading the wealth of
>> >>> information in the document site.  It was not available when I
>> started.
>> >>>
>> >>> for instance the service.xml is for runing services defined in other
>> xml
>> >>> files that relate to ofbiz structure.
>> >>>
>> >>> what you call a java xml web service would be a module like the one
>> in
>> >>> /framework/example
>> >>>
>> >>>
>> >>> RockyOfbiz sent the following on 10/12/2007 9:14 AM:
>> >>>> Hi all
>> >>>>
>> >>>> I am a newbie to ofbiz. I understood that the services are specified
>> >>>> service.xml.
>> >>>>
>> >>>> Is there any possibility to develop my own "java xml web services"
>> and
>> >>>> deploy then om ofbiz tomcat server?.
>> >>>>
>> >>>> Need : I want to make a web services layer in ofbiz project and
>> expose
>> >>>> the
>> >>>> ofbiz services (service.xml) with some extra funtionality.
>> >>>>
>> >>>> Suggestion are welcome :-)
>> >>>>
>> >>>> Thanks in advance
>> >>>>
>> >>>> /Regards
>> >>>> Rakesh
>> >>>>
>> >>>
>> >> 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Can-i-deploy-java-xml-web-services-on-ofbiz-tomcat---tf4614184.html#a13192333
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-i-deploy-java-xml-web-services-on-ofbiz-tomcat---tf4614184.html#a13220074
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to