[JBoss Portal] New message: "Re: german umlauts get lost"
by Andre Eikermann
User development,
A new message was posted in the thread "german umlauts get lost":
http://community.jboss.org/message/520409#520409
Author : Andre Eikermann
Profile : http://community.jboss.org/people/aeik
Message:
--------------------------------------------------------------
Hello,
check those 3 things but it does not solve my problem.
I tried some things, read a lot source code.
I removed all UTF-8 settings like URIencoding=UTF-8, JAVA_OPTS -dFile-Encoding=UTF-8 from the configuration files. It makes no difference.
I've set a filter with request.setCharacterEncoding("UTF-8"). it's the first filter which is executed, but my umlauts are already garbled there. so this garbling must happen before the filters are executed.
I wrote a small Servlet with a small form and an input field. When i set request.setCharacterEncoding("UTF-8") everything works fine. if it's not set my umlauts are grabled too.
So setting request.setCharacterEncoding("UTF-8") ist required, but where do i have to set it.
This behaviour is reproducabel on a standalone tomcat server and a JBoss 5 Server.
Best regards
Andre
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520409#520409
16 years, 3 months
[jBPM] New message: "Problem Signaling a Waiting Execution"
by Andy Barreras
User development,
A new message was posted in the thread "Problem Signaling a Waiting Execution":
http://community.jboss.org/message/520405#520405
Author : Andy Barreras
Profile : http://community.jboss.org/people/FlyNavy
Message:
--------------------------------------------------------------
I'm having trouble signaling a process instance to advance beyond a wait activity. I've looked at the jBPM example but no luck. I have a process definition with numerous state activities. I created a lisetner for each activity. The listeners (simulate) some external work then call the executionService.signalExecutionById() method:
public void notify(EventListenerExecution execution) throws Exception {
System.out.println("MESSAGE: " + msg);
//Timer timer = new Timer();
//ExternalTaskProxy task = new ExternalTaskProxy();
//Date now = new Date();
//timer.schedule(task, now, 1500);
ExecutionService executionService = processEngine.getExecutionService();
executionService.signalExecutionById(execution.getId());
}
I deploy the business archive using an Ant script then run a process instance via the jBPM console. The process instance starts but halts at the first activity. Here's the process definition's jpdl code look like this:
<?xml version="1.0" encoding="UTF-8"?>
<process name="Simple Activity Scheduling" xmlns="http://jbpm.org/4.0/jpdl">
<start g="188,25,48,48" name="start">
<transition g="-110,-11" name="to Activity1" to="Activity1"/>
</start>
<state g="137,123,150,52" name="Activity1">
<on event="end">
<event-listener class="my.package.MyListener1"/>
</on>
<transition name="to Activity2" to="Activity2" g="-138,-18"/>
</state>
<state g="137,220,152,52" name="Activity2">
<on event="end">
<event-listener class="my.package.MyListener2"/>
</on>
<transition name="to Activity3" to="Activity3" g="-153,-18"/>
</state>
<state g="128,322,170,52" name="Activity3">
<on event="end">
<event-listener class="my.package.MyListener3"/>
</on>
<transition name="to Activity4" to="Activity4" g="-129,-18"/>
</state>
<state g="141,420,142,52" name="Activity4">
<on event="end">
<event-listener class="my.package.MyListener4"/>
</on>
<transition name="to Activity5" to="Activity5" g="-150,-18"/>
</state>
<state g="129,527,168,52" name="Activity5">
<on event="start">
<event-listener class="my.package.MyListener5"/>
</on>
<transition name="to Activity6" to="Activity6" g="-137,-18"/>
</state>
<state g="127,632,170,52" name="Activity6">
<on event="start">
<event-listener class="my.package.MyListener6"/>
</on>
<transition name="to Activity7" to="Activity7" g="-46,-18"/>
</state>
<state g="165,739,92,52" name="Activity7">
<on event="start">
<event-listener class="my.package.MyListener7"/>
</on>
<transition name="to Activity8" to="Activity8" g="-130,-18"/>
</state>
<state g="142,846,139,52" name="Activity8">
<on event="start">
<event-listener class="my.package.MyListener8"/>
</on>
<transition name="to end" to="end" g="-36,-18"/>
</state>
<end g="651,849,48,48" name="end"/>
</process>
Any help would be appreciated.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520405#520405
16 years, 3 months
[Beginner's Corner] New message: "*All* the sources for JBoss AS?"
by null null
User development,
A new message was posted in the thread "*All* the sources for JBoss AS?":
http://community.jboss.org/message/520401#520401
Author : null null
Profile : http://community.jboss.org/people/ranjix
Message:
--------------------------------------------------------------
Hey everybody, downloaded the 5.1.0 binaries and sources and I started running into an exception in the ServerPeer class. Thinking I could take a look at the source, I tried to find the class in the downloaded sources. No such luck, the class doesn't seem to be there.
Question - is there some other place where I should look for the specific source?
Binaries and sources downloaded from http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/
Exception:
17:20:13,058 ERROR [ExceptionUtil] Topic[com.bluemartini.DBUtilTopic] startService
java.lang.NullPointerException
at org.jboss.jms.server.ServerPeer.getPostOfficeInstance(ServerPeer.java:1382)
at org.jboss.jms.server.destination.DestinationServiceSupport.setMaxSizeForQueues(DestinationServiceSupport.java:273)
at org.jboss.jms.server.destination.DestinationServiceSupport.startService(DestinationServiceSupport.java:110)
at org.jboss.jms.server.destination.TopicService.startService(TopicService.java:63)
thanks/Ranjix
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520401#520401
16 years, 3 months
[jBPM] New message: "Re: Getting variables for completed tasks"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Getting variables for completed tasks":
http://community.jboss.org/message/520390#520390
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Yes I do like to get into constructive discussions. But first let me apologize, my comment was a bit harsh and not specifically directed at you. But it is a frustration to see others propose to use workarounds instead of helping to fix the issue.
Now regarding the helpfulness of my post. It is as valid as yours. Let me explain why. You propose one of two things, create a workaround or use it with the limitations it has if that is possible.
I propose a third one, help fixing it. In my humble opinion that is as valid as yours and in as much detail. To be honest I think mine is in the end more helpfull since if it is choosen by the original poster, everybody is helped. So please next time do not forbid me to post
Peace
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520390#520390
16 years, 3 months