[Tomcat, HTTPD, Servlets & JSP] - Re: Accessing varargs from jsp (jboss 4.2.0 / jre 5.0)
by jaikiran
Try adding the "compilerSourceVM" init-param to the web.xml file present in server/< serverName>/deploy/jboss-web.deployer/conf folder, as follows:
<!-- compilerTargetVM Compiler target VM -->
| <!-- default is System.properties -->
| <!-- java.specification.version > 1.4 -->
| <!-- [1.5] else [1.4] -->
| <!-- -->
| <!-- compilerSourceVM Compiler source VM -->
| <!-- default is System.properties -->
| <!-- java.specification.version > 1.4 -->
| <!-- [1.5] else [1.4] -->
| <!-- -->
| <!-- If you wish to use Jikes to compile JSP pages: -->
| <!-- Please see the "Using Jikes" section of the Jasper-HowTo -->
| <!-- page in the Tomcat documentation. -->
|
| <servlet>
| <servlet-name>jsp</servlet-name>
| <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
| <init-param>
| <param-name>fork</param-name>
| <param-value>false</param-value>
| </init-param>
| <init-param>
| <param-name>xpoweredBy</param-name>
| <param-value>false</param-value>
| </init-param>
|
| <!-- Use a custom options class to allow the shared tag lib descriptors
| to be loaded from jars in the tomcat sar conf/tlds directory. The
| standard options implementation can only find taglibs based on the
| class loader classpath.
| -->
| <init-param>
| <param-name>engineOptionsClass</param-name>
| <param-value>org.jboss.web.tomcat.service.jasper.JspServletOptions</param-value>
| </init-param>
| <!-- Specify the jars relative to the jbossweb-tomcat6.sar that should
| be scanned for common tag lib descriptors to include in every war
| deployment.
| -->
| <init-param>
| <description>JSF standard tlds</description>
| <param-name>tagLibJar0</param-name>
| <param-value>jsf-libs/jsf-impl.jar</param-value>
| </init-param>
| <init-param>
| <description>JSTL standard tlds</description>
| <param-name>tagLibJar1</param-name>
| <param-value>jstl.jar</param-value>
| </init-param>
|
| <init-param>
| <param-name>compilerSourceVM</param-name>
| <param-value>1.5</param-value>
| </init-param>
| <load-on-startup>3</load-on-startup>
| </servlet>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086587#4086587
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086587
18 years, 9 months
[JBoss jBPM] - org.jbpm.graph.def.DelegationException
by naresh049
I am getting following exception when I am using ProcessInstance.signal()..
can anyone get me out from this problem......
org.jbpm.graph.def.DelegationException
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:367)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358)
at org.jbpm.graph.def.Node.execute(Node.java:343)
at org.jbpm.graph.def.Node.enter(Node.java:318)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:393)
at org.jbpm.graph.node.StartState.leave(StartState.java:70)
at org.jbpm.graph.exe.Token.signal(Token.java:194)
at org.jbpm.graph.exe.Token.signal(Token.java:139)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:251)
at my.com.Test.EmailTest.testSendMail(EmailTest.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.lang.NullPointerException
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.Node.execute(Node.java:338)
... 26 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086585#4086585
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086585
18 years, 9 months
[JBoss Seam] - Re: SessionBeans depend on JSF component libraries?
by vanyatka
"pete.muir(a)jboss.org" wrote : Well my definition of dependency is absolutely required by - here it isn't a requirement, just the way you choose to structure your app.
Well, it is necessary as long as I want to use the component :) If you say don't use RichFaces (particularly trees, not sure about other UI components), then yes, it is not a requirement :)
anonymous wrote : 1) In RichFaces 3.1 you have an api jar which contains stuff you may need to reference from your ejbs
Aha, that's more like it :)
anonymous wrote : 2) In RichFaces 3.1 you also have a xml bound tree which may not have this problem.
Hm... I construct my tree from the data from DB, so I'm not quite sure this can really help me. But thanks for mentioning it anyway.
RF also needs to provide an optional version of onSelect which doesn't take any parameters. (I'm not sure if does or not).
|
My understanding is that some UI components require their action beans link to RF libs while others don't. Is that so?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086576#4086576
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086576
18 years, 9 months