[JBossWS] - Re: JbossWS 2.0.3GA installation fails on JBoss AS 4.2.1.GA
by joshua.dev
Installation failed again with the same result. I re-downloaded JBoss AS 4.2.1.GA to make sure it's the right one, downloaded http://www.jboss.org/downloading/?projectId=jbossws&url=/jbossws/download... , modified ant.properties, run "ant deploy-jboss421" and got errors as before. It starts with:
2008-04-23 09:40:44,725 DEBUG [org.jboss.kernel.KernelFactory] Completed JBoss Kernel construction. Duration: 14 milliseconds
| 2008-04-23 09:40:44,741 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=WSServerConfig state=Not Installed mode=Manual requiredState=Create
| java.lang.NoClassDefFoundError: org/jboss/wsf/common/management/AbstractServerConfigMBean
and ends with:
| 09:41:00,497 ERROR [MainDeployer] Could not create deployment: file:/home/joshua/java/jboss-4.2.1.GA/server/default/deploy/jbossws.sar/
| org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE)
I'm using Ubuntu 7.10 (x86, 32 bit) with Java 1.5.0_15 from Sun.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146065#4146065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146065
16 years, 8 months
[JBossWS] - Re: Problem accessing generated WSDL
by moksha2007
Hi,
Did a little more investigation, and it seems the problem is somewhere in the server.xml (jboss-web.deployer), at least that is what I think.
In there I have a Host configuration that matches with the virtual host. Meaning all request go through that specific web application, including the web-service requests.
| <Host name="x"
| errorReportValveClass="org.apache.catalina.core.StandardHostValve"
| autoDeploy="false"
| deployOnStartup="false"
| deployXML="false"
| configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
| >
| <Alias>x.xxx.com</Alias>
| ...
|
and apache proxy config:
| <VirtualHost *:80>
| ServerName x.xxx.com
| ServerSignature Off
| ProxyPass / ajp://127.0.0.105:8009/
| ProxyPassReverse / ajp://127.0.0.105:8009/
| </VirtualHost>
|
Using that, I cannot reach the 'standard' services (sars) like jmx-console and such, but my application just fine.
When I add another virtual host config in apache, like:
| <VirtualHost *:80>
| ServerName y.xxx.com
| ServerSignature Off
| ProxyPass / ajp://127.0.0.105:8009/
| ProxyPassReverse / ajp://127.0.0.105:8009/
| </VirtualHost>
|
Then, I can see the wsdl, but it is located under http://y.xxx.com/...?wsdl
How to configure the server.xml correctly? I am using a default server.xml with one addition, namely the host config as mentioned above.
Any help on this?
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145989#4145989
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145989
16 years, 8 months
[JBossWS] - ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot c
by Lauri
Hello.
Do you probably know if such (see subject) error message mean serious trouble?
Jboss 4.2.2 + jbossws 3.0.1 are installed.
Quite often, may be on every WS call a error message is posted to the log
18:40:52,551 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot close output stream
| 18:40:56,699 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot close output stream
| 18:41:21,552 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cannot close output stream
source of org.jboss.wsf.stack.jbws.RequestHandlerImpl
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossws/branches/jbossws-2.0/i...
gives no explanation
| ......
| try
| {
| ServletRequestContext reqContext = new ServletRequestContext(context, req, res);
| handleWSDLRequest(endpoint, out, reqContext);
| }
| catch (Exception ex)
| {
| handleException(ex);
| }
| finally
| {
| try
| {
| out.close();
| }
| catch (IOException ioex)
| {
| log.error("Cannot close output stream");
| }
| }
| ....
|
Questions
1) Do you probably know if such (see subject) error message mean serious trouble?
2) What can be reason of the error message?
3) Can it be that WS code has inappropriate code which somehow closes that stream?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145980#4145980
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145980
16 years, 8 months
[JBossWS] - Problem accessing generated WSDL
by moksha2007
Hi,
I am using Jboss 4.2.2.GA in the following situation; multiple jboss instances and virtual hosts on a single machine. I am also using apache with ajp/proxy to forward requests to the appropriate virtual hosts.
For the webservices, I have stateless EJB with annotations, and I can see Jboss generates the wdsl file, but binds it where it becomes difficult to reach it. Something like 127.0.0.105:8080 (virtual ip).
To solve that, I am using jboss' WebContext annotation (jbossws-spi). In addition, I am overriding the property 'webServiceHost' in the jboss-beans.xml (from the jbossws.sar/jbossws.beans/META-INF). As result I seeing a 'correct' address in the server.log/ServerEndPointMetaData. However when using the URL it is being picked up by the regular web site that is accompied with the ear-file. I am doing something wrong here? Or do I need to add a mapping/reference in the web.xml to forward web-service requests to the appropriate servlet?
Any suggestions? Thanks in advance,
Mike Ahlers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145904#4145904
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145904
16 years, 8 months