[jBPM] - Issues oryx to jbpm
by Tobias Wittur
Tobias Wittur [http://community.jboss.org/people/tob1as] created the discussion
"Issues oryx to jbpm"
To view the discussion, visit: http://community.jboss.org/message/622829#622829
--------------------------------------------------------------
Hi,
I guess I will put any issues that I encounter with oryx to jbpm in here.
Here the bpmn2:definitions attribute id created by oryx is rejected by java.
package TestingBPMN;
import java.util.HashMap;
import java.util.Map;
import org.drools.KnowledgeBase;
import org.drools.builder.KnowledgeBuilder;
import org.drools.builder.KnowledgeBuilderFactory;
import org.drools.builder.ResourceType;
import org.drools.io.ResourceFactory;
import org.drools.logger.KnowledgeRuntimeLogger;
import org.drools.logger.KnowledgeRuntimeLoggerFactory;
import org.drools.runtime.StatefulKnowledgeSession;
import org.drools.runtime.process.WorkflowProcessInstance;
import org.jbpm.process.workitem.wsht.WSHumanTaskHandler;
import org.jbpm.bpmn2.handler.SendTaskHandler;
import org.jbpm.bpmn2.handler.ServiceTaskHandler;
/**
* This is a sample file to launch a process.
*/
public class ProcessTest {
public static final void main(String[] args) {
try {
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("TestingBPMN/TestingBPMN2.bpmn2"), ResourceType.BPMN2);
KnowledgeBase kbase = kbuilder.newKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
} catch (Throwable t) {
t.printStackTrace();
}
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/622829#622829]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 10 months
[JBoss Tools] - Error starting Seam + BIRT application
by Carlos Celis Osorio
Carlos Celis Osorio [http://community.jboss.org/people/cacelis] created the discussion
"Error starting Seam + BIRT application"
To view the discussion, visit: http://community.jboss.org/message/622798#622798
--------------------------------------------------------------
Hi there.
I have a problem when I try to deploy my Seam + BIRT application on server.
Error is not shown when I try to deploy a Seam application, i.e. without BIRT.
Problem is as follow:
14:34:05,004 WARN [ClassLoaderManager] Unexpected error during load of:com.lowagie.text.pdf.BadPasswordException: java.lang.SecurityException: class "com.lowagie.text.pdf.BadPasswordException"'s signer information does not match signer information of other classes in the same package
14:34:05,034 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///C:/jboss_seam/tools/jboss-6.0.0.Final/server/default/deploy/PruebaSeamBirt.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/jboss_seam/tools/jboss-6.0.0.Final/server/default/deploy/PruebaSeamBirt.war
Caused by: java.lang.Error: Error visiting "/C:/jboss_seam/tools/jboss-6.0.0.Final/server/default/deploy/PruebaSeamBirt.war/WEB-INF/lib/itext.jar/com/lowagie/text/pdf/BadPasswordException.class"
Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ com/lowagie/text/pdf/BadPasswordException.class / BaseClassLoader@14ea4a2{vfs:///C:/jboss_seam/tools/jboss-6.0.0.Final/server/default/deploy/PruebaSeamBirt.war}, visitor: org.jboss.scanning.hierarchy.plugins.HierarchyTypeVisitor@1ae9d
Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: com.lowagie.text.pdf.BadPasswordException, msg=class "com.lowagie.text.pdf.BadPasswordException"'s signer information does not match signer information of other classes in the same package
Caused by: java.lang.SecurityException: class "com.lowagie.text.pdf.BadPasswordException"'s signer information does not match signer information of other classes in the same package
14:34:11,407 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment "vfs:///C:/jboss_seam/tools/jboss-6.0.0.Final/server/default/deploy/PruebaSeamBirt.war" is in error due to the following reason(s): java.lang.SecurityException: class "com.lowagie.text.pdf.BadPasswordException"'s signer information does not match signer information of other classes in the same package
I am using:
- JBoss Developer Studio 5
- Seam Framework 2.2.1
- BIRT 3.7
- JBoss AS 6
I hope you can help me.
Thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/622798#622798]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 10 months
trust chain difficulties
by Christoph Lechner
Dear all,
I'm experiencing difficulties getting JBoss to present the trust chain
to the client.
The server certificate is signed by an intermediate CA and the
intermediate CA has a certificate signed by the root CA.
I imported these certificates into the keystore using keytool. A keytool
-list shows these. However, after reviewing a number of tutorials and
HOWTOs on the net, it still remains unclear what alias one has to
specify. The certificate of the website has the alias tomcat that is
also used in the JBoss configuration.
The tutorials suggest numerous alias -- but not the same as the alias of
the site cert -- values for the certificates.
When I run openssl against the JBoss installation
openssl s_client -connect www.xyz123abc.com:8443
I get the result:
Certificate chain
0 s:....
So the certificate chain contains only one certificate, the certificate
of the site.
Inspecting the keystore again -- this time using keytool -list -v --
reveals something strange:
[..]
Alias name: tomcat
Creation date: Jul 1, 2011
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
[..]
Shouldn't the certificate chain length be greater than 1???
So I'm wondering if one has to store the certificates of the trust chain
under the same alias. And if yes, how can I achieve this.
Thanks in advance
Christoph
12 years, 10 months