[jBPM] - Apache "Bad Request"
by reganma
reganma [https://community.jboss.org/people/reganma] created the discussion
"Apache "Bad Request""
To view the discussion, visit: https://community.jboss.org/message/810085#810085
--------------------------------------------------------------
We have jBPM 5.4.0 running behind Apache httpd via AJP, and have configured jBPM to route through Apache's SSL interface. This works fine for accessing /drools-guvnor and /jbpm-console. However, trying to start a workflow process yields the following error in the browser:
> Bad Request
>
> Your browser sent a request that this server could not understand.
> Reason: You're speaking plain HTTP to an SSL-enabled server port.
> Instead use the HTTPS scheme to access this URL, please.
> Hint: https://<FQDN>/ https://<FQDN>/
It seems that some component of jBPM or JBoss is sending out non-SSL data. What is the best way to pinpoint where this is coming from and discern how to reconfigure for proper SSL output?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/810085#810085]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months
[jBPM] - jBPM 5.4 Error reported by task server: Task operation request timed out when running evaluation project
by Pedro Zuppelli
Pedro Zuppelli [https://community.jboss.org/people/uniocos] created the discussion
"jBPM 5.4 Error reported by task server: Task operation request timed out when running evaluation project"
To view the discussion, visit: https://community.jboss.org/message/809406#809406
--------------------------------------------------------------
Hi! I'm running the wvaluation project that comes with the jBPM 5.4.0 Final installer. I've ran ant install.demo, and ant start.demo. But whenever I try to ran the ProcessTest I'm getting the following exception
[code]
1 20/04 18:46:11,029[main] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem - Sat Apr 20 18:46:11 ART 2013: Error when creating task on task server for work item id 1. Error reported by task server: Task operation request timed out
java.lang.RuntimeException: Task operation request timed out
at org.jbpm.task.service.SyncTaskServiceWrapper.addTask(SyncTaskServiceWrapper.java:118)
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:182)
at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)
[/code]
I've shut down the jboss server and started it manually with the same result, no exception on war deployment, yet I cannot start the evaluation process. I can connect with the console properly in the following url http://localhost:8080/jbpm-console/ http://localhost:8080/jbpm-console/ yet I cannot add tasks.
Any idea why is this happening? I'm running the test with the eclipse instance that gets installed and called with the ant goal.
Thanks!
Pedro Zuppelli
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/809406#809406]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months
[Beginner's Corner] - Unable to access JBoss Console
by colshine
colshine [https://community.jboss.org/people/colshine] created the discussion
"Unable to access JBoss Console"
To view the discussion, visit: https://community.jboss.org/message/808445#808445
--------------------------------------------------------------
I've installed JBoss on Fedora 18, it starts and I can access the default welcome page. I setup a standalong config using:
jboss-as-cp -l $HOME/s
However, when I attempt to access the console I get a blank page. I'm running a standalone server and there are no errors in the log:
jboss/bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/share/jboss-as
JAVA: java
JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
=========================================================================
20:56:19,237 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
20:56:19,362 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
20:56:19,407 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
20:56:20,025 INFO [org.xnio] XNIO Version 3.0.3.GA
20:56:20,036 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
20:56:20,040 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
20:56:20,055 INFO [org.jboss.remoting] JBoss Remoting version 3.2.4.GA
20:56:20,084 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
20:56:20,129 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 22) JBAS010280: Activating Infinispan subsystem.
20:56:20,133 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 18) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
20:56:20,154 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 26) JBAS011800: Activating Naming Subsystem
20:56:20,178 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
20:56:20,186 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
20:56:20,195 INFO [org.jboss.as.security] (ServerService Thread Pool -- 29) JBAS013101: Activating Security Subsystem
20:56:20,200 INFO [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.6.final
20:56:20,278 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on fedora-vm/10.0.1.3:9447
20:56:20,447 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http-fedora-vm-10.0.1.3-9480
20:56:20,622 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on fedora-vm/10.0.1.3:9999
20:56:20,642 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /home/s/jboss/deployments
20:56:20,752 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
20:56:20,835 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://10.0.1.3:9990 http://10.0.1.3:9990
20:56:20,836 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 1774ms - Started 126 of 159 services (32 services are passive or on-demand)
Does anyone know what I've missed?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/808445#808445]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months
[JBoss Web Services] - Updating JBossWS-CXF in AS 6.1?
by Andrew Hart
Andrew Hart [https://community.jboss.org/people/naql] created the discussion
"Updating JBossWS-CXF in AS 6.1?"
To view the discussion, visit: https://community.jboss.org/message/809853#809853
--------------------------------------------------------------
I am having many issues with WS-Security configuration using JBoss AS 6.1 with JBossWS-CXF 3.4.1 which comes with CXF 2.3.1 and WSS4J 1.5.8. I am being told on the CXF mailing lists that these versions are ancient and that I should upgrade, but I am in an environment where I am constrained to stick with this version of JBoss AS.
So, my questions are:
Has anyone successfully updated JBossWS-CXF in AS 6?
In the compatibility matrix, nothing is marked as tested later than the version that I have. Am I inviting alot of new issues with JBoss/CXF integration if I do this?
Or, should I just try to disable all the web service stuff in Jboss AS 6 and then completely embed CXF? If I were to take this approach, what would be an efficient way of going about this, considering that I will have several web service modules that will need it? Should I bundle them all into an EAR project and then just let the web service modules use them there? Should I then avoid the JBossWS-Tools in eclipse, which I suppose rely on JBossWS-CXF integration features?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/809853#809853]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months
[JNDI and Naming] - Cannot map java:/JmsXA to web app resource as java:comp/env/jms/JmsXA
by chris.wolf
chris.wolf [https://community.jboss.org/people/chris.wolf] created the discussion
"Cannot map java:/JmsXA to web app resource as java:comp/env/jms/JmsXA"
To view the discussion, visit: https://community.jboss.org/message/809836#809836
--------------------------------------------------------------
Hello,
This is my first post. I want to use a JMS ConectionFactory via a Resource Adapter, therefore I want the CF boud to "java:JmsXA". I want to access this from a web application, but it cannot "see" this (returns null upon attempt to lookup). I don't understand why this is an issue since the web app is in the same VM as the JBoss server. I wonder if there are other isolation mechanisms to consider for web apps accessing the "java:" namespace?
I know that "JmsXA" can be reconfigured to be in the global namespace, but that will impact other applications on the server that expect it in the "java:" namespace, so that's not an option.
Then I read how these resources can be mapped into a web app's private ENC namespace:
http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/ENC_... http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/ENC_...
So in my WEB-INF/web.xml, I put:
<resource-ref>
<res-ref-name>jms/JmsXA</res-ref-name>
<res-type>javax.jms.ConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
...and in WEB-INF/jboss-web.xml, I put:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web xmlns:xs=" http://www.jboss.org/j2ee/schema http://www.jboss.org/j2ee/schema" version="5.1"
xs:schemaLocation=" http://www.jboss.org/j2ee/schema http://www.jboss.org/j2ee/schema
http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd">
<resource-ref>
<res-ref-name>jms/JmsXA</res-ref-name>
<jndi-name>java:/JmsXA</jndi-name>
</resource-ref>
</jboss-web>
Then in the web app code I tried to do a lookup for "java:comp/env/jms/JmsXA" but it returned null.
+*How can web app code access java:JmsXA??*+
I already searched this forum and FAQs, e.g.
https://community.jboss.org/message/440879#440879#440879 https://community.jboss.org/message/440879#440879
https://community.jboss.org/thread/47131?tstart=0 https://community.jboss.org/thread/47131?tstart=0
but there's no info on web app code accessing java:JmsXA.
If I re-package my code as a Spring deployment and deploy using "Snowdrop", then the +same+ code works and can access "java:JmsXA", but I'd rather
depoy as a web app.
http://www.jboss.org/snowdrop http://www.jboss.org/snowdrop
Oh and it's JBoss-6.1.0 due to legacy apps, we have to stick with this old realease for now.
Thanks,
Chris
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/809836#809836]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 12 months