[JBoss Cache] - Migrated code not working in JBOSS.Think it is a problem with JBOSS cache
by Ankitdhar Inkollu
Ankitdhar Inkollu [http://community.jboss.org/people/ankitdhar] created the discussion
"Migrated code not working in JBOSS.Think it is a problem with JBOSS cache"
To view the discussion, visit: http://community.jboss.org/message/642151#642151
--------------------------------------------------------------
Hi Everyone,
We are facing a problem with an application which has been migrated from Weblogic to JBOSS.
ISSUE:
The application has two user-roles:
1. Admin
2. Normal User
Firstly,an admin logs in,he is able to work fine with his privileges.
Secondly,a normal user logs in and he is able to work fine with his respective privileges.
Thirldy,when an admin logs in,his privileges have been set as of a normal-user.The buttons which were generally
enabled for him have been disabled.
Rest of the application is working fine.
This problem persists until we restart the servers.And if a normal user logs in,the issue persists.
As of now,as a work-around,we have requested the normal users not to login into the application.
Note:
1.The JDK has been upgraded from 1.4 to 1.6
2.Oracle has been upgraded from 9i to 11G.
We do not know whether the issue is with code or the configuration settings of JBOSS server.
The log files are not showing any errors. I think it is problem with JBOSS cache.
If anyone has faced such an issue before or can help us in resolving this issue, please post your views.
You can also contact me through my mail id- mailto:ainkollu@gmail.com ainkollu(a)gmail.com
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/642151#642151]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month
[jBPM] - Unable to generate PNG document from the Web Designer 2.0.
by Victor Sarmiento
Victor Sarmiento [http://community.jboss.org/people/vsarmien] created the discussion
"Unable to generate PNG document from the Web Designer 2.0."
To view the discussion, visit: http://community.jboss.org/message/641610#641610
--------------------------------------------------------------
We have just installed jBPM 5.2 from the full installer (*jbpm-5.2.0.Final-installer-full.zip*) on Windows. We haven't been able to generate the PNG document from the Web Designer 2.0. If we use the options "Share Process Image" from the top toolbar, we get the following error message: "Failed to create the process image".
If we use the PNG button at the bottom of the Web Designer, we get the following error messages. (I have included the error shown on the web page, as well as the error shown in the server.log file)
ERROR MESSAGE IN DESIGNER
=========================
File not found
Firefox can't find the file at http://localhost:8080/designer/transformer?uuid=4ce60bdb-18e0-4580-9ad3-0... http://localhost:8080/designer/transformer?uuid=4ce60bdb-18e0-4580-9ad3-0....
DETAILS FROM SERVER.LOG
========================
14:36:06,075 SEVERE [com.intalio.web.server.TransformerServlet] (http-localhost-127.0.0.1-8080-4) Server returned HTTP response code: 505 for URL: http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Test http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/Test Process/source/
14:36:06,076 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
14:36:06,076 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
14:36:06,077 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
14:36:06,077 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
14:36:06,077 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
14:36:06,077 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
14:36:06,078 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
14:36:06,078 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at com.intalio.web.server.TransformerServlet.doPost(TransformerServlet.java:196)
14:36:06,078 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
14:36:06,078 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
14:36:06,078 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
14:36:06,079 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
14:36:06,079 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)
14:36:06,079 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
14:36:06,079 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
14:36:06,079 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
14:36:06,080 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
14:36:06,080 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
14:36:06,080 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
14:36:06,080 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
14:36:06,080 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
14:36:06,081 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
14:36:06,081 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
14:36:06,081 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
14:36:06,081 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
14:36:06,082 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
14:36:06,082 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at java.lang.Thread.run(Thread.java:662)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641610#641610]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month
[JNDI and Naming] - HAJNDI problem
by Krzysztof Pankowski
Krzysztof Pankowski [http://community.jboss.org/people/apph_] created the discussion
"HAJNDI problem"
To view the discussion, visit: http://community.jboss.org/message/641846#641846
--------------------------------------------------------------
Hello,
First of all I will try to describe goal we would like to achieve plus the configuration we are using.
Application server version is JBoss 5.
There are 4 nodes which form a cluster. All nodes are on the same machine, having the same IP address. Only ports configuration is different.
We have enterprise application which uses JCA adapter to connect to some EIS. ConnectionFactory in JCA adapter is defined under some name in JNDI. This is working perfectly fine. Now, what we would like to do, is to have this JNDI name for ConnectionFactory to be seen on every node (not to have different pools on each node).
The first very basic idea, since it is a JCA adapter, is to deply the RAR file on the other nodes also so that classes used from the adapter are seen, but without the adapterName-ds.xml file, so that JBoss does not create JNDI entry on every node for ConnectionFactory.
Instead we would like to use HAJNDI, so basicaly have the connection pool shared on all nodes.
But there is a problem, because in such configuration the JNDI entry is only found on the Node1 which has both: RAR adapter plus the adapterName-ds.xml configuration for JNDI entry. On all other nodes the JNDI lookup does not return anything.
We have tried http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j... http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j... and to be more specific configuration described for running clients inside application server using jnp.partitionName.
There are no errors, but JNDI lookup fails.
We have also the hajndi-jboss-beans.xml file on all nodes in the 'cluster' directory as shown in http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j... http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j...
What is wrong, or what is missing? Maybe it is not the best configuration for our problem?
Of course I can provide any additional informations...
Thanks and regards
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641846#641846]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month