You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Eric Westfall (JIRA)" <ji...@apache.org> on 2006/04/18 00:39:17 UTC

[jira] Created: (WSS-43) WSS4J does not work on JDK 1.5 with Xalan 2.7

WSS4J does not work on JDK 1.5 with Xalan 2.7
---------------------------------------------

         Key: WSS-43
         URL: http://issues.apache.org/jira/browse/WSS-43
     Project: WSS4J
        Type: Improvement

    Reporter: Eric Westfall
 Assigned to: Davanum Srinivas 


I get the exception below when trying to connect to my webservice on JDK 1.5 with Xalan 2.7 in the classpath.  I believe the version of WSS4J I'm using is 1.0.0 but when I use WSS4J 1.1.0 I get the same error.

It appears to me that the package names of some of the Xalan classes have changed.

2006-02-16 09:46:11,823 [http-8080-Processor25] INFO  org.apache.axis.EXCEPTIONS :: Exception:
java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
	at org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:132)
	at org.apache.ws.axis.security.WSDoAllReceiver.<clinit>(WSDoAllReceiver.java:65)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:242)
	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
	at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
	at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
	at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
	at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:453)
        ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-43) WSS4J does not work on JDK 1.5 with Xalan 2.7

Posted by "Eric Westfall (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-43?page=comments#action_12378710 ] 

Eric Westfall commented on WSS-43:
----------------------------------

I actually discovered that the offending class is org.apache.xml.security.Init in the Apache Xml Security library (xmlsec.jar).  In version 1.3.0 they removed the use of the FuncLoader from this class so upgrading the xmlsec.jar will fix the problem.

> WSS4J does not work on JDK 1.5 with Xalan 2.7
> ---------------------------------------------
>
>          Key: WSS-43
>          URL: http://issues.apache.org/jira/browse/WSS-43
>      Project: WSS4J
>         Type: Improvement

>     Reporter: Eric Westfall
>     Assignee: Davanum Srinivas

>
> I get the exception below when trying to connect to my webservice on JDK 1.5 with Xalan 2.7 in the classpath.  I believe the version of WSS4J I'm using is 1.0.0 but when I use WSS4J 1.1.0 I get the same error.
> It appears to me that the package names of some of the Xalan classes have changed.
> 2006-02-16 09:46:11,823 [http-8080-Processor25] INFO  org.apache.axis.EXCEPTIONS :: Exception:
> java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
> 	at org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:132)
> 	at org.apache.ws.axis.security.WSDoAllReceiver.<clinit>(WSDoAllReceiver.java:65)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:242)
> 	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
> 	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
> 	at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
> 	at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
> 	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:453)
>         ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Resolved: (WSS-43) WSS4J does not work on JDK 1.5 with Xalan 2.7

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSS-43?page=all ]
     
Ruchith Udayanga Fernando resolved WSS-43:
------------------------------------------

    Resolution: Fixed

Fixed in WSS4J-1.5.0.

WSS4J-1.5.0 uses xmlsec-1.3.0 and xalan-2.7

> WSS4J does not work on JDK 1.5 with Xalan 2.7
> ---------------------------------------------
>
>          Key: WSS-43
>          URL: http://issues.apache.org/jira/browse/WSS-43
>      Project: WSS4J
>         Type: Improvement

>     Reporter: Eric Westfall
>     Assignee: Davanum Srinivas

>
> I get the exception below when trying to connect to my webservice on JDK 1.5 with Xalan 2.7 in the classpath.  I believe the version of WSS4J I'm using is 1.0.0 but when I use WSS4J 1.1.0 I get the same error.
> It appears to me that the package names of some of the Xalan classes have changed.
> 2006-02-16 09:46:11,823 [http-8080-Processor25] INFO  org.apache.axis.EXCEPTIONS :: Exception:
> java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
> 	at org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:132)
> 	at org.apache.ws.axis.security.WSDoAllReceiver.<clinit>(WSDoAllReceiver.java:65)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:242)
> 	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
> 	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
> 	at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
> 	at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
> 	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:453)
>         ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-43) WSS4J does not work on JDK 1.5 with Xalan 2.7

Posted by "Eric Westfall (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSS-43?page=comments#action_12378710 ] 

Eric Westfall commented on WSS-43:
----------------------------------

I actually discovered that the offending class is org.apache.xml.security.Init in the Apache Xml Security library (xmlsec.jar).  In version 1.3.0 they removed the use of the FuncLoader from this class so upgrading the xmlsec.jar will fix the problem.

> WSS4J does not work on JDK 1.5 with Xalan 2.7
> ---------------------------------------------
>
>          Key: WSS-43
>          URL: http://issues.apache.org/jira/browse/WSS-43
>      Project: WSS4J
>         Type: Improvement

>     Reporter: Eric Westfall
>     Assignee: Davanum Srinivas

>
> I get the exception below when trying to connect to my webservice on JDK 1.5 with Xalan 2.7 in the classpath.  I believe the version of WSS4J I'm using is 1.0.0 but when I use WSS4J 1.1.0 I get the same error.
> It appears to me that the package names of some of the Xalan classes have changed.
> 2006-02-16 09:46:11,823 [http-8080-Processor25] INFO  org.apache.axis.EXCEPTIONS :: Exception:
> java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
> 	at org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:132)
> 	at org.apache.ws.axis.security.WSDoAllReceiver.<clinit>(WSDoAllReceiver.java:65)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:242)
> 	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
> 	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
> 	at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
> 	at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
> 	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:453)
>         ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Resolved: (WSS-43) WSS4J does not work on JDK 1.5 with Xalan 2.7

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSS-43?page=all ]
     
Ruchith Udayanga Fernando resolved WSS-43:
------------------------------------------

    Resolution: Fixed

Fixed in WSS4J-1.5.0.

WSS4J-1.5.0 uses xmlsec-1.3.0 and xalan-2.7

> WSS4J does not work on JDK 1.5 with Xalan 2.7
> ---------------------------------------------
>
>          Key: WSS-43
>          URL: http://issues.apache.org/jira/browse/WSS-43
>      Project: WSS4J
>         Type: Improvement

>     Reporter: Eric Westfall
>     Assignee: Davanum Srinivas

>
> I get the exception below when trying to connect to my webservice on JDK 1.5 with Xalan 2.7 in the classpath.  I believe the version of WSS4J I'm using is 1.0.0 but when I use WSS4J 1.1.0 I get the same error.
> It appears to me that the package names of some of the Xalan classes have changed.
> 2006-02-16 09:46:11,823 [http-8080-Processor25] INFO  org.apache.axis.EXCEPTIONS :: Exception:
> java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
> 	at org.apache.ws.security.WSSecurityEngine.<clinit>(WSSecurityEngine.java:132)
> 	at org.apache.ws.axis.security.WSDoAllReceiver.<clinit>(WSDoAllReceiver.java:65)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:242)
> 	at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
> 	at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
> 	at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
> 	at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
> 	at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
> 	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:453)
>         ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org