You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Francois Wauquier (JIRA)" <ji...@apache.org> on 2008/02/08 11:52:07 UTC
[jira] Closed: (SYNAPSE-228) Start Synapse Rampart in eclipse
NullPointerException when receiving request
[ https://issues.apache.org/jira/browse/SYNAPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Wauquier closed SYNAPSE-228.
-------------------------------------
Resolution: Fixed
Misconfiguration problem.
The correct VMargs config is:
-Dport=8008
-Dsynapse.xml="D:\IOPS\fournisseurWS\eclipse\workspace\iops-synapse\repository\conf\synapse.xml"
-Dsynapse.home="D:\IOPS\fournisseurWS\eclipse\workspace\iops-synapse\bin\.."
-Daxis2.xml="D:\IOPS\fournisseurWS\eclipse\workspace\iops-synapse\repository\conf\axis2.xml"
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XMLGrammarCachingConfiguration
and rampart module must be in the folder modules.
to start synapse in eclipse i have copy/past all elements in my workspace, and translate the synapse.bat into a "Run..." configuration.
> Start Synapse Rampart in eclipse NullPointerException when receiving request
> ----------------------------------------------------------------------------
>
> Key: SYNAPSE-228
> URL: https://issues.apache.org/jira/browse/SYNAPSE-228
> Project: Synapse
> Issue Type: Bug
> Components: Deployment
> Affects Versions: 1.1
> Environment: Windows XP Pro, eclipse 3.2.2 wtp, synapse 1.1 started in eclipse with rampart activated
> org.apache.synapse.SynapseServer repository
> VM arguments :
> -Dsynapse.home="D:\IOPS\fournisseurWS\eclipse\workspace\iops-synapse"
> -Daxis2.xml="repository/conf/axis2.xml"
> -Djava.endorsed.dirs="C:/Program Files/apache-synapse-1.1/lib/endorsed"
> -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XMLGrammarCachingConfiguration
> Reporter: Francois Wauquier
> Priority: Minor
> Fix For: 1.1
>
>
> Hello, thanks for your gret job.
> I'm french, so my writing style is quite direct.
> Synapse starts correctly,
> but when receiving request...
> Exception in thread "HttpServerWorker-1" java.lang.NullPointerException
> at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:165)
> at org.apache.rampart.RampartEngine.process(RampartEngine.java:64)
> at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:218)
> at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:182)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> at this line :
> Parameter clientSideParam = msgCtx.getAxisService().getParameter(PARAM_CLIENT_SIDE);
> org.apache.axis2.context.MessageContext
> msgCtx.getAxisService() is effectively null.
> Could you reproduce it?
> Why Synapse is packaged with module rampart(no version) but without rahas?
> When you download rampart 1.3, you get modules rampart-1.3 and rahas-1.3
> thanks for help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org