You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Captor (JIRA)" <de...@tuscany.apache.org> on 2009/08/12 12:28:14 UTC

[jira] Created: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

binding.ws not work in tomcat,get 404 error
-------------------------------------------

                 Key: TUSCANY-3211
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Web App Integration
    Affects Versions: Java-SCA-2.0-M3
         Environment: tomcat 6.0.18
jdk 1.6.14
            Reporter: Captor


I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742309#action_12742309 ] 

ant elder commented on TUSCANY-3211:
------------------------------------

It turns out this is caused by a bug that got fixed in trunk yesterday - http://svn.apache.org/viewvc?view=rev&revision=803084

What is th eeasiest way for you to pick up that fix? Can you use a nightly build or the latest snapshot jars or do you need a fix patch for the M3 jars?


> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: test-2.0.rar, WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742286#action_12742286 ] 

ant elder commented on TUSCANY-3211:
------------------------------------

I don't have the same Eclipse environment so haven't been able to get that to build yet, could you also attach the build .war?

I suspect the probem may be with finding the sca-contribution.xml file, could you try moving and renaming META-INF/test.composite to be WEB-INF/web.composite?

> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "Captor (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742296#action_12742296 ] 

Captor edited comment on TUSCANY-3211 at 8/12/09 4:41 AM:
----------------------------------------------------------

because of upload size limmitation, I just put all file except  tuscany jars. please put those file to WEB-INF\lib youself.

I tested this scene again. Tomcat had load sca-contribution.xml , Servlet mapping succeed add. but address below get 404 error

http://127.0.0.1:8080/TestWS?wsdl
http://127.0.0.1:8080/test-2.0/TestWS?wsdl ( test-2.0 is web app dir)
http://127.0.0.1:8080/test/TestWS?wsdl ( test is web app dir)

2009-8-12 19:26:09 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\DevelopTools\SDK\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\DevelopTools\IDE\Delphi7\Bin;C:\DevelopTools\IDE\Delphi7\Projects\Bpl\;C:\DEVELO~1\IDE\CBUILD~1\Bin;C:\DEVELO~1\IDE\CBUILD~1\Projects\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Lenovo;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Tools\CommonTools\WinMerge;C:\DevelopTools\Other\TortoiseSVN\bin;C:\DevelopTools\Lib\Java\ant\bin;C:\DevelopTools\SDK\Python26;C:\DevelopTools\Other\SVN\bin;C:\DevelopTools\IDE\Maven\bin;C:\Tools\CommonTools\UltraEdit\;C:\DevelopTools\Lib\Ora10InstantClient
2009-8-12 19:26:10 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-8-12 19:26:10 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1093 ms
2009-8-12 19:26:10 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-8-12 19:26:10 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2009-8-12 19:26:11 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(C:\DevelopTools\Servers\Tomcat 6.0.18\webapps\test-2.0\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2009-8-12 19:26:12 org.apache.tuscany.sca.node.impl.NodeImpl start
信息: Starting node: test-2.0
2009-8-12 19:26:12 org.apache.tuscany.sca.node.impl.NodeFactoryImpl configureNode
信息: Loading contribution: file:/C:/DevelopTools/Servers/Tomcat%206.0.18/webapps/test-2.0/
2009-8-12 19:26:17 org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
信息: EndpointRegistry: Add endpoint - Endpoint:  URI = TestWS#service-binding(ITestWS/ITestWS)
2009-8-12 19:26:17 org.apache.tuscany.sca.host.webapp.WebAppServletHost addServletMapping
信息: Added Servlet mapping: /TestWS
2009-8-12 19:26:17 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-8-12 19:26:17 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-8-12 19:26:17 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31  config=null
2009-8-12 19:26:17 org.apache.catalina.startup.Catalina start
信息: Server startup in 7276 ms
2009-8-12 19:28:16 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080

      was (Author: depyuka):
    because of upload size limmitation, I just put all file except  tuscany jars. please put those file to WEB-INF\lib youself.

I tested this scene again. Tomcat had load sca-contribution.xml , Servlet mapping succeed add.

2009-8-12 19:26:09 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\DevelopTools\SDK\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\DevelopTools\IDE\Delphi7\Bin;C:\DevelopTools\IDE\Delphi7\Projects\Bpl\;C:\DEVELO~1\IDE\CBUILD~1\Bin;C:\DEVELO~1\IDE\CBUILD~1\Projects\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Lenovo;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Tools\CommonTools\WinMerge;C:\DevelopTools\Other\TortoiseSVN\bin;C:\DevelopTools\Lib\Java\ant\bin;C:\DevelopTools\SDK\Python26;C:\DevelopTools\Other\SVN\bin;C:\DevelopTools\IDE\Maven\bin;C:\Tools\CommonTools\UltraEdit\;C:\DevelopTools\Lib\Ora10InstantClient
2009-8-12 19:26:10 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-8-12 19:26:10 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1093 ms
2009-8-12 19:26:10 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-8-12 19:26:10 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2009-8-12 19:26:11 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(C:\DevelopTools\Servers\Tomcat 6.0.18\webapps\test-2.0\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2009-8-12 19:26:12 org.apache.tuscany.sca.node.impl.NodeImpl start
信息: Starting node: test-2.0
2009-8-12 19:26:12 org.apache.tuscany.sca.node.impl.NodeFactoryImpl configureNode
信息: Loading contribution: file:/C:/DevelopTools/Servers/Tomcat%206.0.18/webapps/test-2.0/
2009-8-12 19:26:17 org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
信息: EndpointRegistry: Add endpoint - Endpoint:  URI = TestWS#service-binding(ITestWS/ITestWS)
2009-8-12 19:26:17 org.apache.tuscany.sca.host.webapp.WebAppServletHost addServletMapping
信息: Added Servlet mapping: /TestWS
2009-8-12 19:26:17 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-8-12 19:26:17 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-8-12 19:26:17 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31  config=null
2009-8-12 19:26:17 org.apache.catalina.startup.Catalina start
信息: Server startup in 7276 ms
2009-8-12 19:28:16 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080
  
> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: test-2.0.rar, WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "Captor (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742677#action_12742677 ] 

Captor commented on TUSCANY-3211:
---------------------------------

Thank you ! I get last snapshot at 09/08/13 , the bug was FIX ! 

But i have another question now .the webservice address appear like this:

http://127.0.0.1:8080/test/TestWS/ITestWS?wsdl

The old fashion way sould looks like

http://127.0.0.1:8080/test/TestWS?wsdl
or
http://127.0.0.1:8080/TestWS?wsdl

Is that "componentName/Interface" style ok?


> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: test-2.0.rar, WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "Captor (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Captor updated TUSCANY-3211:
----------------------------

    Attachment: WSTest-2.0-Tomcat.rar

this's my test eclipse project  with empty WEB-INF\lib dir, please put file youself.

> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "Captor (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Captor updated TUSCANY-3211:
----------------------------

    Attachment: test-2.0.rar

because of upload size limmitation, I just put all file except  tuscany jars. please put those file to WEB-INF\lib youself.

I tested this scene again. Tomcat had load sca-contribution.xml , Servlet mapping succeed add.

2009-8-12 19:26:09 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\DevelopTools\SDK\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\DevelopTools\IDE\Delphi7\Bin;C:\DevelopTools\IDE\Delphi7\Projects\Bpl\;C:\DEVELO~1\IDE\CBUILD~1\Bin;C:\DEVELO~1\IDE\CBUILD~1\Projects\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Lenovo;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Tools\CommonTools\WinMerge;C:\DevelopTools\Other\TortoiseSVN\bin;C:\DevelopTools\Lib\Java\ant\bin;C:\DevelopTools\SDK\Python26;C:\DevelopTools\Other\SVN\bin;C:\DevelopTools\IDE\Maven\bin;C:\Tools\CommonTools\UltraEdit\;C:\DevelopTools\Lib\Ora10InstantClient
2009-8-12 19:26:10 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-8-12 19:26:10 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1093 ms
2009-8-12 19:26:10 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-8-12 19:26:10 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2009-8-12 19:26:11 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(C:\DevelopTools\Servers\Tomcat 6.0.18\webapps\test-2.0\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2009-8-12 19:26:12 org.apache.tuscany.sca.node.impl.NodeImpl start
信息: Starting node: test-2.0
2009-8-12 19:26:12 org.apache.tuscany.sca.node.impl.NodeFactoryImpl configureNode
信息: Loading contribution: file:/C:/DevelopTools/Servers/Tomcat%206.0.18/webapps/test-2.0/
2009-8-12 19:26:17 org.apache.tuscany.sca.endpoint.impl.EndpointRegistryImpl addEndpoint
信息: EndpointRegistry: Add endpoint - Endpoint:  URI = TestWS#service-binding(ITestWS/ITestWS)
2009-8-12 19:26:17 org.apache.tuscany.sca.host.webapp.WebAppServletHost addServletMapping
信息: Added Servlet mapping: /TestWS
2009-8-12 19:26:17 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-8-12 19:26:17 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-8-12 19:26:17 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31  config=null
2009-8-12 19:26:17 org.apache.catalina.startup.Catalina start
信息: Server startup in 7276 ms
2009-8-12 19:28:16 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8080

> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: test-2.0.rar, WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-3211) binding.ws not work in tomcat,get 404 error

Posted by "Captor (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742297#action_12742297 ] 

Captor commented on TUSCANY-3211:
---------------------------------

and please go to TUSCANY-3210 , Integate with weblogic 10.3 is very important to me

> binding.ws not work in tomcat,get 404 error
> -------------------------------------------
>
>                 Key: TUSCANY-3211
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3211
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Web App Integration
>    Affects Versions: Java-SCA-2.0-M3
>         Environment: tomcat 6.0.18
> jdk 1.6.14
>            Reporter: Captor
>         Attachments: test-2.0.rar, WSTest-2.0-Tomcat.rar
>
>
> I write a webservice sca component which tend to integrate with tomcat 6, the code works well when use tuscany 1.5 , but when i move to tuscany 2.0 M3 , the webservice not work. in 2.0 M3 ,tomcat start with no error infomation, but when i try the wsdl address ,i get 404 error from tomcat, but no error message from tuscany filter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.