axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jones, Alan R" <alan.r.jo...@boeing.com>
Subject [Axis2] Error loading sec.properties
Date Fri, 11 Aug 2006 22:04:24 GMT
Hi Ruchith,


Is there any reason why the sec.properties file is not being loaded at
at the service side:


-------------------------

>From TCPMON on response side:

java.lang.RuntimeException: CryptoFactory: Cannot load properties:
sec.properties
org.apache.ws.security.components.crypto.CryptoFactory.getProperties(Cry
ptoFactory.java:185

----------------------------------
>From Tomcat log:

INFO: ContextListener: contextInitialized()
Aug 11, 2006 4:00:53 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Aug 11, 2006 4:01:25 PM org.apache.catalina.core.StandardHostValve
custom
SEVERE: Exception Processing ErrorPage[errorCode=500,
location=/axis2-web/Error/error500.jsp]
org.apache.jasper.JasperException: getOutputStream() has already been
called for this response
	at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:510)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:387)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:465)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:398)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)
	at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java
:363)
	at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java
:284)
	at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.j
ava:228)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:134)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
9)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:664)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
	at java.lang.Thread.run(Thread.java:595)



------------------------------

My .aar file:

PWCallbackHandler.class
sec.properties
services.jks
com\test\testservice1\TestService1.class
meta-inf\Manifest.mf
meta-inf\services.wsdl
meta-inf\services.xml


------------------

My services.xml file:

<serviceGroup>
	<service name="TestService1">
		<description>TestService 1 - For testing web
services</description>
		<parameter
name="ServiceClass">com.test.testservice1.TestService1</parameter>
		<operation name="provideService">
			<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
		</operation>
		<parameter name="InflowSecurity">
			<action>
				<items>Signature</items>
	
<passwordCallbackClass>PWCallbackHandler</passwordCallbackClass>
	
<signaturePropFile>sec.properties</signaturePropFile>
			</action>
		</parameter>
	</service>
</serviceGroup>



Appreciate any insight!

Thanks,

Alan J



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


Mime
View raw message