incubator-stonehenge-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Dewey <Ben.De...@26ny.com>
Subject RE: JAVA_OPSSEC not working
Date Wed, 08 Jul 2009 19:42:44 GMT
Do you have the JCE in your jdk1.5*/jre/lib/security folder.

Also in the install docs.

-Ben Dewey

-----Original Message-----
From: Avantika Agrawal [mailto:t-avagra@microsoft.com]
Sent: Wednesday, July 08, 2009 3:09 PM
To: stonehenge-dev@incubator.apache.org
Subject: RE: JAVA_OPSSEC not working

Thanks.
Now I have JAVA_BS and JAVA_OPS working but OPSSEC is still giving me the same error as before.
I am using wso2wsas3.0 and jdk1.5.0_19
Any ideas?
I will try the wso2wsas3.1 and let you know how that works out.

-----Original Message-----
From: Ben Dewey [mailto:Ben.Dewey@26ny.com]
Sent: Wednesday, July 08, 2009 11:49 AM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: JAVA_OPSSEC not working

Ensure that the MSSql Server jtds is in the new wso2wsas3.0/lib/extensions folder.

See the install guide for links and info.

-Ben Dewey

-----Original Message-----
From: Avantika Agrawal [mailto:t-avagra@microsoft.com]
Sent: Wednesday, July 08, 2009 2:45 PM
To: stonehenge-dev@incubator.apache.org
Subject: RE: JAVA_OPSSEC not working

I installed wso2wsas 3.0 but now I am getting a different error for any of the WSAS services
(this is for DOTNET_CLIENT -> JAVA_BS).

org.apache.stonehenge.stocktrader.dal.DAOException: Exception was thrown when instantiating
a MSSQLCustomerDAO
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated
in the code.

Exception Details: System.ServiceModel.FaultException: org.apache.stonehenge.stocktrader.dal.DAOException:
Exception was thrown when instantiating a MSSQLCustomerDAO

Source Error:


Line 198:                throw;
Line 199:            }
Line 200:        }
Line 201:
Line 202:        /// <summary>


Source File: c:\StockTrader\stocktrader\dotnet\trader_client\StockTraderWebApplicationClients\BusinessServiceClient.cs
   Line: 200

Stack Trace:


[FaultException: org.apache.stonehenge.stocktrader.dal.DAOException: Exception was thrown
when instantiating a MSSQLCustomerDAO]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage
retMsg) +10257466
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32
type) +539
   Trade.BusinessServiceContract.ITradeServices.getAccountData(String userID) +0
   Trade.StockTraderWebApplicationServiceClient.BusinessServiceClient.getAccountData(String
userID) in c:\StockTrader\stocktrader\dotnet\trader_client\StockTraderWebApplicationClients\BusinessServiceClient.cs:200
   Trade.StockTraderWebApplicationServiceClient.BSLClient.getAccountData(String userID) in
c:\StockTrader\stocktrader\dotnet\trader_client\StockTraderWebApplicationClients\BSLClient.cs:173
   Trade.Web.TradeHome.Page_Load(Object sender, EventArgs e) in c:\StockTrader\stocktrader\dotnet\trader_client\Trade\TradeHome.aspx.cs:61
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs
e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+2428

 Here is what I get in the logging files of the WSAS console.

n.core.StartupServlet}
[2009-07-08 11:43:56,066]  WARN -  Unable to load DBDrive class {org.apache.ston
ehenge.stocktrader.mssql.MSSQLDAOFactory}
java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.<clinit>(MSSQ
LDAOFactory.java:49)
        at org.apache.stonehenge.stocktrader.dal.DAOFactory.getFacotry(DAOFactor
y.java:53)
        at org.apache.stonehenge.stocktrader.services.TraderServiceManager.<init
>(TraderServiceManager.java:46)
        at org.apache.stonehenge.stocktrader.services.TradeServiceImpl.<init>(Tr
adeServiceImpl.java:75)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.axis2.receivers.AbstractMessageReceiver$8.run(AbstractMess
ageReceiver.java:242)
        at org.apache.axis2.java.security.AccessController.doPrivileged(AccessCo
ntroller.java:132)
        at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObje
ct(AbstractMessageReceiver.java:239)
        at org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementati
onObject(AbstractMessageReceiver.java:283)
        at org.tempuri.TradeServiceWcfMessageReceiverInOut.invokeBusinessLogic(T
radeServiceWcfMessageReceiverInOut.java:39)
        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleR
equest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:111)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
[2009-07-08 11:43:56,174] DEBUG -  MSSQLDAOFactory.getOrderDAO {org.apache.stone
henge.stocktrader.mssql.MSSQLDAOFactory}
[2009-07-08 11:43:56,184] DEBUG -  MSSQLDAOFactory.getConnectionString()
Connection :jdbc:jtds:sqlserver://localhost:1433/stocktraderdb;user=trade;passwo
rd=yyy; {org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory}
[2009-07-08 11:43:56,191] DEBUG -   {org.apache.stonehenge.stocktrader.mssql.MSS
QLDAOFactory}
java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:545)
        at java.sql.DriverManager.getConnection(DriverManager.java:193)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getConnection
(MSSQLDAOFactory.java:124)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getCustomerDA
O(MSSQLDAOFactory.java:79)
        at org.apache.stonehenge.stocktrader.services.TraderServiceManager.getAc
countData(TraderServiceManager.java:60)
        at org.apache.stonehenge.stocktrader.services.TradeServiceImpl.getAccoun
tData(TradeServiceImpl.java:93)
        at org.tempuri.TradeServiceWcfMessageReceiverInOut.invokeBusinessLogic(T
radeServiceWcfMessageReceiverInOut.java:262)
        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleR
equest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:111)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
[2009-07-08 11:43:56,201] DEBUG -   {org.apache.stonehenge.stocktrader.services.
TradeServiceImpl}
org.apache.stonehenge.stocktrader.dal.DAOException: Exception was thrown when in
stantiating a MSSQLCustomerDAO
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getCustomerDA
O(MSSQLDAOFactory.java:83)
        at org.apache.stonehenge.stocktrader.services.TraderServiceManager.getAc
countData(TraderServiceManager.java:60)
        at org.apache.stonehenge.stocktrader.services.TradeServiceImpl.getAccoun
tData(TradeServiceImpl.java:93)
        at org.tempuri.TradeServiceWcfMessageReceiverInOut.invokeBusinessLogic(T
radeServiceWcfMessageReceiverInOut.java:262)
        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleR
equest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:111)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:545)
        at java.sql.DriverManager.getConnection(DriverManager.java:193)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getConnection
(MSSQLDAOFactory.java:124)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getCustomerDA
O(MSSQLDAOFactory.java:79)
        ... 30 more
[2009-07-08 11:43:56,215] ERROR -  org.apache.stonehenge.stocktrader.dal.DAOExce
ption: Exception was thrown when instantiating a MSSQLCustomerDAO {org.apache.ax
is2.engine.AxisEngine}
org.apache.axis2.AxisFault: org.apache.stonehenge.stocktrader.dal.DAOException:
Exception was thrown when instantiating a MSSQLCustomerDAO
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at org.tempuri.TradeServiceWcfMessageReceiverInOut.invokeBusinessLogic(T
radeServiceWcfMessageReceiverInOut.java:369)
        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleR
equest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:111)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: org.apache.stonehenge.stocktrader.dal.DAO
Exception: Exception was thrown when instantiating a MSSQLCustomerDAO
        at org.apache.stonehenge.stocktrader.services.TradeServiceImpl.getAccoun
tData(TradeServiceImpl.java:96)
        at org.tempuri.TradeServiceWcfMessageReceiverInOut.invokeBusinessLogic(T
radeServiceWcfMessageReceiverInOut.java:262)
        ... 27 more
Caused by: org.apache.stonehenge.stocktrader.dal.DAOException: Exception was thr
own when instantiating a MSSQLCustomerDAO
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getCustomerDA
O(MSSQLDAOFactory.java:83)
        at org.apache.stonehenge.stocktrader.services.TraderServiceManager.getAc
countData(TraderServiceManager.java:60)
        at org.apache.stonehenge.stocktrader.services.TradeServiceImpl.getAccoun
tData(TradeServiceImpl.java:93)
        ... 28 more
Caused by: java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:545)
        at java.sql.DriverManager.getConnection(DriverManager.java:193)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getConnection
(MSSQLDAOFactory.java:124)
        at org.apache.stonehenge.stocktrader.mssql.MSSQLDAOFactory.getCustomerDA
O(MSSQLDAOFactory.java:79)
        ... 30 more

Let me know if anyone has seen this error and knows what's wrong?
Thanks,
Avantika

-----Original Message-----
From: Avantika Agrawal [mailto:t-avagra@microsoft.com]
Sent: Wednesday, July 08, 2009 10:39 AM
To: stonehenge-dev@incubator.apache.org
Subject: RE: JAVA_OPSSEC not working

Hi everyone,
Sorry for the late reply - I was offline last evening.

I don't think this is a blocker for SH-67 - I have had this problem before developing the
ConfigService. Right now, JAVA_OPSSEC does not work for me on a clean tree from the repository
either.

I am running Windows 7 x64, and wso2wsas3.0.1. I will try running it on wso2wsas3.0 and/or
wso2wsas3.1 and let you know what I see. Here is the logging from the console:


Jul 8, 2009 10:31:01 AM org.wso2.carbon.server.Main main
INFO: Starting WSO2 Carbon...
Jul 8, 2009 10:31:01 AM org.wso2.carbon.server.Main main
INFO: Using Java Home        : C:\Program Files (x86)\Java\jdk1.5.0_19\jre
Jul 8, 2009 10:31:01 AM org.wso2.carbon.server.Main main
INFO: Using Java Version     : 1.5.0_19
Jul 8, 2009 10:31:01 AM org.wso2.carbon.server.Main main
INFO: Using Carbon Home      : C:\wso2wsas-3.0.1
Jul 8, 2009 10:31:02 AM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Jul 8, 2009 10:31:03 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Jul 8, 2009 10:31:03 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 8, 2009 10:31:04 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9763
Jul 8, 2009 10:31:04 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9763
Jul 8, 2009 10:31:05 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9443
Jul 8, 2009 10:31:05 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9443
[2009-07-08 10:31:23,636]  INFO -  Using embedded Registry {org.wso2.carbon.regi
stry.core.internal.Activator}
[2009-07-08 10:31:23,640]  INFO -  Registry is used in READ-WRITE mode {org.wso2
.carbon.registry.core.internal.Activator}
[2009-07-08 10:31:26,552]  INFO -  Clustering has been disabled {org.apache.axis
2.deployment.ClusterBuilder}
[2009-07-08 10:31:36,171]  INFO -  Deploying module: addressing-1.41 - file:/C:/
wso2wsas-3.0.1/repository/modules/addressing-1.41.mar {org.apache.axis2.deployme
nt.ModuleDeployer}
[2009-07-08 10:31:37,398]  INFO -  Deploying Web service: HelloWorld.aar - file:
/C:/wso2wsas-3.0.1/repository/services/HelloWorld.aar {org.apache.axis2.deployme
nt.ServiceDeployer}
[2009-07-08 10:31:37,802]  INFO -  Trouble processing wsdl file :No services fou
nd in the WSDL at META-INF/wsdl0.wsdl with targetnamespace http://Trade.TraderOr
derHost {org.apache.axis2.deployment.repository.util.ArchiveReader}
[2009-07-08 10:31:37,981]  INFO -  Deploying Web service: OrderProcessor.aar - f
ile:/C:/wso2wsas-3.0.1/repository/services/OrderProcessor.aar {org.apache.axis2.
deployment.ServiceDeployer}
[2009-07-08 10:31:38,063]  INFO -  Trouble processing wsdl file :No services fou
nd in the WSDL at META-INF/wsdl0.wsdl with targetnamespace http://Trade.TraderOr
derHost {org.apache.axis2.deployment.repository.util.ArchiveReader}
[2009-07-08 10:31:38,485]  INFO -  Deploying Web service: OrderProcessorMsec.aar
 - file:/C:/wso2wsas-3.0.1/repository/services/OrderProcessorMsec.aar {org.apach
e.axis2.deployment.ServiceDeployer}
[2009-07-08 10:31:38,660]  INFO -  Trouble processing wsdl file :No services fou
nd in the WSDL at META-INF/wsdl0.wsdl with targetnamespace http://trade.samples.
websphere.ibm.com {org.apache.axis2.deployment.repository.util.ArchiveReader}
[2009-07-08 10:31:39,712]  INFO -  Deploying Web service: TradeServiceWsas.aar -
 file:/C:/wso2wsas-3.0.1/repository/services/TradeServiceWsas.aar {org.apache.ax
is2.deployment.ServiceDeployer}

[2009-07-08 10:31:43,548]  INFO -  Repository             : C:\wso2wsas-3.0.1/re
pository/ {org.wso2.carbon.core.DefaultServerInitializer}
[2009-07-08 10:31:43,718]  INFO -  No services directory was found under C:\wso2
wsas-3.0.1\resources\clientRepository. {org.apache.axis2.deployment.DeploymentEn
gine}
[2009-07-08 10:31:43,757]  INFO -  Deploying module: rampart-1.41 - file:/C:/wso
2wsas-3.0.1/resources/clientRepository/modules/rampart-1.41.mar {org.apache.axis
2.deployment.ModuleDeployer}
Jul 8, 2009 10:31:43 AM org.apache.catalina.connector.Connector start
INFO: The connector has already been started
Jul 8, 2009 10:31:43 AM org.apache.catalina.connector.Connector start
INFO: The connector has already been started

[2009-07-08 10:31:43,877]  INFO -  HTTPS port             : 9443 {org.wso2.carbo
n.core.StartupServlet}
[2009-07-08 10:31:43,879]  INFO -  HTTP port              : 9763 {org.wso2.carbo
n.core.StartupServlet}

[2009-07-08 10:31:43,881]  INFO -  WSO2 Carbon started in 42 sec {org.wso2.carbo
n.core.StartupServlet}
[2009-07-08 10:34:36,496] ERROR -  Must Understand check failed for header http:
//docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : S
ecurity {org.apache.axis2.engine.AxisEngine}
org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.
oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security

        at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.jav
a:102)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:166)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleR
equest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:111)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)



-----Original Message-----
From: Ben Dewey [mailto:Ben.Dewey@26ny.com]
Sent: Tuesday, July 07, 2009 7:32 PM
To: 'stonehenge-dev@incubator.apache.org'
Subject: RE: JAVA_OPSSEC not working

I have WSAS_OPSSEC working in my lab, I can test SH-67, and see if it works for me.

-Ben

-----Original Message-----
From: Drew Baird (Volt) [mailto:a-drewba@microsoft.com]
Sent: Tuesday, July 07, 2009 10:10 PM
To: stonehenge-dev@incubator.apache.org
Subject: RE: JAVA_OPSSEC not working

Is this is blocker to commit for SH-67?
I definitely think SH-67 should commit before METRO is committed.

Thanks!
Drew


________________________________________
From: Avantika Agrawal [t-avagra@microsoft.com]
Sent: Tuesday, July 07, 2009 1:58 PM
To: stonehenge-dev@incubator.apache.org
Subject: JAVA_OPSSEC not working

I am unable to process orders using the JAVA_OPSSEC. I tried processing with the JAVA_OPS
and that works fine.
Here are some more details - when I tried using DOTNET_CLIENT -> JAVA_BS -> JAVA_OPSSEC
to place an order, I get this error:
org.apache.axis2.AxisFault: Error during encryption
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated
in the code.

Exception Details: System.ServiceModel.FaultException: org.apache.axis2.AxisFault: Error during
encryption

Source Error:

Line 309:                throw;
Line 310:            }
Line 311:        }
Line 312:
Line 313:        /// <summary>


Source File: C:\dotnet\trader_client\StockTraderWebApplicationClients\BusinessServiceClient.cs
   Line: 311

Stack Trace:

[FaultException: org.apache.axis2.AxisFault: Error during encryption]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage
retMsg) +10257466
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32
type) +539
   Trade.BusinessServiceContract.ITradeServices.buy(String userID, String symbol, Double quantity,
Int32 orderProcessingMode) +0
   Trade.StockTraderWebApplicationServiceClient.BusinessServiceClient.buy(String userID, String
symbol, Double quantity, Int32 orderProcessingMode) in C:\dotnet\trader_client\StockTraderWebApplicationClients\BusinessServiceClient.cs:311
   Trade.StockTraderWebApplicationServiceClient.BSLClient.buy(String userID, String symbol,
Double quantity) in C:\dotnet\trader_client\StockTraderWebApplicationClients\BSLClient.cs:435
   Trade.Web.Order.Page_Load(Object sender, EventArgs e) in c:\dotnet\trader_client\Trade\Order.aspx.cs:60
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs
e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+2428


Let me know if anyone else has faced this issue or if it is something that I have forgotten
to set up. If not, I can write up a formal bug on the JIRA.

Thanks,
Avantika




Mime
View raw message