Hi Stefan,

Please try the following build, there was an error in the build :-(

http://builder.wso2.org/download/ESB-NIGHTLY/artifacts/build-68/ESB-nightly-zip/wso2-esb-java-SNAPSHOT-bin.zip

Thanks,
Ruwan

[EMAIL PROTECTED] wrote:
Ruwan,

In the 1.7-beta2 release, the MailTransportListener is contained in 
synapse-transports-1.2-beta1.jar. In the build67 release, synapse-transports-1.1.1.jar is 
used, but this jar is missing the required class. When replacing all 1.1.1 JARs of 
Synapse with 1.2-beta1, I'm receiving the underneath included error. When using the 
"wso2-esb.bat" of 1.7-beta2, I'm receiving the same error message :o(.

2008-06-19 09:49:39,694 [-] [WrapperSimpleAppMain] FATAL ServerManager The 
Synapse home must be set as a system property or init-parameter
2008-06-19 09:49:39,694 [-] [WrapperSimpleAppMain] FATAL StartUpServlet WSO2 
ESB failed to start
org.apache.synapse.SynapseException: The Synapse home must be set as a system 
property or init-parameter
 at org.apache.synapse.ServerManager.handleFatal(ServerManager.java:286)
 at org.apache.synapse.ServerManager.validate(ServerManager.java:250)
 at org.apache.synapse.ServerManager.start(ServerManager.java:95)
 at org.wso2.esb.ServiceBusManager.startListeners(ServiceBusManager.java:147)
 at org.wso2.esb.transport.tomcat.StartUpServlet.init(StartUpServlet.java:81)
 at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
 at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
 at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
 at org.wso2.esb.transport.tomcat.TomcatServer.start(TomcatServer.java:120)
 at org.wso2.esb.ServiceBusManager.start(ServiceBusManager.java:118)
 at org.wso2.esb.ServiceBus.start(ServiceBus.java:135)
 at org.wso2.esb.ServiceBus.main(ServiceBus.java:69)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
 at java.lang.Thread.run(Thread.java:595)
2008-06-19 09:49:39,709 [-] [WrapperSimpleAppMain] ERROR [/esb] Servlet /esb 
threw load() exception


Regards, Stefan Lecho.

Ruwan Linton-3 wrote:
Hi Stefan,

As promised I have placed a build at [1] and you may try the feature according to the configuration described in this thread. Please note that there is no UI to change this for the moment and you have to go to the Configuration tab and edit the raw configuration and update it to see it working. I will be adding the UI for this soon.

[1] - http://builder.wso2.org/download/ESB-NIGHTLY/artifacts/build-63/ESB-nightly-zip

Thanks,
Ruwan

Ruwan Linton wrote:
stlecho wrote:
Ruwan,

Any idea that the issue you've filed is linked to the following one: http://www.nabble.com/-Axis2-Rampart--Using-Rampart-for-OutFlow%2C-but-not-for-InFlow-td15689307.html#a15709088 http://www.nabble.com/-Axis2-Rampart--Using-Rampart-for-OutFlow%2C-but-not-for-InFlow-td15689307.html#a15709088 ?
Hi Stefan,

It does relate (actually it is the same) but when the message is going through synapse we have a set of pre-constructed services and we don't want to create services for each and every message that we are sending out (due to the performance). Because of that we cannot set policies to the message of that pre-constructed services (they are used by many other messages as well). There fore we need a mechanism to dynamically set this policy at the message level using a message property. (we can do that for service level for the moment, so I have requested the same for message level as well).

AFAIK, Nandana is working on that and I will be able to give you a build by the end of this week.

Thanks,
Ruwan
Regards, Stefan.


Ruwan Linton-3 wrote:
Ruwan Linton wrote:
stlecho wrote:
Ruwan,

Not sure I've understood your explanation. Anyway, the referenced Jira issue (SYNAPSE-355) exactly describes my problem. I thought that the earlier in this post mentioned SYNAPSE-127 issue solved my issue, but apparantly it is
not :o(.

Any idea when this fix will be made available ?
We are planing on a quick point release of ESB/Synapse and it will be available within next 3 weeks, but I will be fixing this by the end of this week or early next week.
Hi Stefan,

I tried to fix this issue and found there is an issue in Rampart which permits the behavior being implemented on Synapse, and filed an issue for that. Once it has been fixed there, we can fix the issue and you can use this as follows;

If you want to apply service level policies, (that is the same policy for both in and out messages) you can use the existing behavior;
<enableSec policy="key"/>

If you need message level policies after the Rampart fix you should be able to specify different policies for messages as follows;
<enableSec inboundPolicy="key" outboundPolicy="key"/>

In effect if you need only messages going to the service to be signed and expect unsigned messages from the actual service, then you can drop the inboundPolicy attribute and provide the policy key for signing to the outboundPolicy attribute.

Thanks,
Ruwan
Thanks,
Ruwan
Regards, Stefan.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user


Quoted from: http://www.nabble.com/NullPointerException-in-org.apache.rampart.RampartEngine.process-tp15979093p17820893.html



begin:vcard
fn:Ruwan Linton
n:Linton;Ruwan
email;internet:[EMAIL PROTECTED]
url:http://ruwansblog.blogspot.com
version:2.1
end:vcard

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to