[rules-users] Can't get snmp/log4j to work with 6.0.1.F KIE-WB (this is a tough one!)

SrjTx clickthex at yahoo.com
Mon Jan 27 09:08:12 EST 2014


Thanks for the reply!

When you say 
"Maven dependencies that are scope "provided" exhibit this behaviour. In
your case I would have to assume the missing classes would have normally
been provided by the (J2EE?) application server."

Yes, they are jboss.
What do I need to do to use them then?   That I have the jar file with that
class in it in maven repo doesn't count?
>>jar tf
>>/opt/jboss-as-7.2.0.Final/standalone/deployments/kie-drools-wb.war/WEB-INF/lib/jboss-jms-api_1.1_spec-1.0.1.Final.jar
| grep MessageListener
>>/javax/jms/MessageListener.class/



Regarding POMS, I've found uploading JARs without POMs and entering GAV to
be 50/50 on working.  So I tend to add the poms

When it doesn't work, you get errors like below (This is the error you get
trying to upload snmp4j-1.10.1.jar)
Upload failed:
JBWEB000065: HTTP Status 500 - mark/reset not supported
JBWEB000309: type JBWEB000066: Exception report

JBWEB000068: message mark/reset not supported

JBWEB000069: description JBWEB000145: The server encountered an internal
error that prevented it from fulfilling this request.

JBWEB000070: exception

org.guvnor.common.services.shared.exceptions.GenericPortableException:
*mark/reset not supported*

org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:24)

org.guvnor.m2repo.backend.server.FileServlet.uploadFile(FileServlet.java:180)

org.guvnor.m2repo.backend.server.FileServlet.processUpload(FileServlet.java:84)
	org.guvnor.m2repo.backend.server.FileServlet.doPost(FileServlet.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)

org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)

org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)

org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)
JBWEB000072: note JBWEB000073: The full stack trace of the root cause is
available in the JBoss Web/7.2.0.Final logs.

JBoss Web/7.2.0.Final
 Ok




--
View this message in context: http://drools.46999.n3.nabble.com/Can-t-get-snmp-log4j-to-work-with-6-0-1-F-KIE-WB-this-is-a-tough-one-tp4027860p4027863.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list