[jBPM Users] - Re: JBoss doesn't recognise jpdl file
by mmusaji
Yeah I'm using JBPM4 and Jboss 5.0.0.GA.
When using the ant task I get error saying that the resource for jbpm.cfg.xml can't be found... it's in my classpath. So I'm just using Eclipse to export my jpdl.xml and classes to a zip (.bar doesn't work either).
I was using Jboss 5.0.1 before so I got clean version of 5.0.0.GA and now I get this error:
| *** CONTEXTS IN ERROR: Name -> Error
|
| org.jbpm:service=ProcessEngine -> org.xml.sax.SAXParseException: Attribute name "idle-max" associate
| d with an element type "job-executor" must be followed by the ' = ' character.
|
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
|
| at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:665
| )
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Scheduled
| ThreadPoolExecutor.java:98)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Schedule
| dThreadPoolExecutor.java:181)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadP
| oolExecutor.java:205)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
|
I know its seems self-explanatory but I've quadtruple checked the jobexecutor file and it definately has the "=" and is valid xml!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252252#4252252
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252252
15 years, 3 months
[JBoss Portal Users] - include UTF-8 JSPs in a portlet
by TomHombergs
Hi all,
I'm including a UTF-8 JSP in my Portlet's dowView() as in the code snippet below. The JSP contains some non-latin characters (german umlauts, in my case). These characters are not displayed correctly in the browser, however.
If I simply user response.getWriter().println() to print the same characters, they are displayed correctly.
Can you configure the dispatcher somehow to set the encoding to UTF8? Any ideas why included JSPs are not displayed UTF8-conform?
| public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException, UnavailableException {
| response.setContentType("text/html");
| String contentUrl = getContentUrl(request, response);
| PortletContext context = getPortletContext();
| PortletRequestDispatcher dispatcher = context.getRequestDispatcher(contentUrl);
| try {
| dispatcher.include(request, response);
| } catch (Exception e) {
| response.getWriter().println("Cannot display content!");
| }
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252242#4252242
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252242
15 years, 3 months