FOP & JBoss

Hallo,
Thx for the great fop feature Apex provides in the apex_3.1\apex\utilities\fop.
I wanted to install it on JBoss and got it to run (see the description below). It currently works but I got always an error message in the JBoss log.
Maybe someone has some hints on this for me:
Servlet.service() for servlet jsp threw exception:
java.lang.IllegalStateException: getOutputStream() has already been called for this response.Add the missing Oracle XML Parser v2 (you may find them e.g. in JDeveloper/lib) libraries (lib/xmlparserv2.jar, lib/xml.jar) by opening the fop.war with your favorite zip program (e.g. rename fop.war to fop.zip) and saving the libraries WEB-INF/lib. Then copy the fop.war to the e.g. jboss\server\default\deploy directory. Maybe you have to restart your application server (dependent on your settings). Then try http://your-hostname:your-port/fop/apex_fop.jsp (e.g. http://127.0.0.1:8080/fop/apex_fop.jsp) to see if your work was successful.
Manage Service / Instance Settings / Report Printing
Print Server: Standard Support
Print Server Host Address: 127.0.0.1
Print Server Port:8080
Print Server Script: /fop/apex_fop.jsp
<%@ page import='java.io.*'%>
<%@ page import='org.xml.sax.InputSource'%>
<%@ page import='org.apache.fop.apps.Driver'%>
<%@ page import='org.apache.fop.apps.Options'%>
<%@ page import='oracle.xml.parser.v2.XMLDocument'%>
<%@ page import='oracle.xml.parser.v2.XSLProcessor'%>
<%@ page import='oracle.xml.parser.v2.XSLStylesheet'%>
<%@ page import='oracle.xml.parser.v2.DOMParser'%>
<%
// see http://xml.apache.org/fop/output.html for all output types
XMLDocument   v_doc;
XSLStylesheet v_xsl = null;
String        v_fop;
DOMParser     parser = new DOMParser();
XSLProcessor processor = new XSLProcessor();
String        v_encode = "UTF-8";
String p_xsl = request.getParameter("template");
String p_xml = request.getParameter("xml");
/* transform an XML source to XSLFO using an XSL transformation */
v_xsl = new XSLStylesheet(new java.io.StringReader(p_xsl),null);
parser.parse(new java.io.StringReader(p_xml));
v_doc = parser.getDocument();
ByteArrayOutputStream v_out = new ByteArrayOutputStream();
processor.processXSL(v_xsl, v_doc, v_out);
v_fop = new String(v_out.toByteArray(),v_encode);
/* The FOP process */
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
driver.setInputSource(new InputSource(new StringReader(v_fop)));
ByteArrayOutputStream outBuffer = new ByteArrayOutputStream();
driver.setOutputStream(outBuffer);
driver.run();
OutputStream outStream = response.getOutputStream();
response.setContentType("application/pdf");
response.setContentLength(outBuffer.size());
outStream.write(outBuffer.toByteArray());
outStream.flush();
%>

I don't really understand you description. Is JMSPayload an extension of javax.jms.ObjectMessage, or is that the object you are serializing and storing in the javax.jms.ObjectMessage? I suspect the latter. If so, I think the:
ObjectMessage objMessage = (ObjectMessage) arg0;
should instead be:
Object obj = ( (ObjectMessage) arg0).getObject();
Then you can check if "obj" is an instance of JMSPayload.

Similar Messages

  • Error while Provisioning a user to Exchange:Configuration OIM 9.1 & JBOSS

    Hi,
    I am facing the below error while provisioning a user to Exchange. The Resource gets provisioned. But inside the resource, two tasks (Create User & Set Mailbox) are rejected. When i retry these tasks, the Resource status is set to Revoked in the Resource Profile of OIM. The AD Provisioning is working fine. There are 2 AD IT Resources here. Database is Oracle 10g.
    Error:
    2012-03-02 15:06:10,347 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[xlWebApp]] action: LogonAction: User 'RWFLORENCIO' logged on in session 8B825B2D391A654D975CDC91FECB5E8E
    2012-03-02 15:06:34,712 INFO [STDOUT] Running GETFULLNAME
    2012-03-02 15:06:34,712 INFO [STDOUT] Target Class = gitidm.LogProfileUser
    2012-03-02 15:06:34,721 INFO [STDOUT] Running GETMANAGER
    2012-03-02 15:06:34,721 INFO [STDOUT] Target Class = gitidm.LogProfileUser
    2012-03-02 15:07:00,233 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavri15-1iti
    2012-03-02 15:07:00,233 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:07:00,233 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:07:55,208 INFO [STDOUT] Running IDMVALIDATION
    2012-03-02 15:07:55,208 INFO [STDOUT] Target Class = gitidm.CustomApproval
    2012-03-02 15:07:55,267 INFO [STDOUT] select USR_MANAGER_KEY from USR where USR_UDF_EMP_NO='540087'
    2012-03-02 15:07:55,267 INFO [STDOUT] result : OK
    2012-03-02 15:07:55,559 INFO [STDOUT] Running GETKEY
    2012-03-02 15:07:55,559 INFO [STDOUT] Target Class = java.lang.String
    2012-03-02 15:07:55,559 INFO [STDOUT] Running GETIH1
    2012-03-02 15:07:55,559 INFO [STDOUT] Target Class = gitidm.CustomApproval
    2012-03-02 15:07:55,614 INFO [STDOUT] select USR_MANAGER_KEY from USR where USR_UDF_EMP_NO='540087'
    2012-03-02 15:08:00,207 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavssb3-1itk
    2012-03-02 15:08:00,207 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:08:00,207 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:08:16,901 INFO [STDOUT] Masuk exception
    2012-03-02 15:08:16,988 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless invocation of remove() for stateless session bean
    2012-03-02 15:08:17,000 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless invocation of remove() for stateless session bean
    2012-03-02 15:08:17,016 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless invocation of remove() for stateless session bean
    2012-03-02 15:08:17,030 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless invocation of remove() for stateless session bean
    2012-03-02 15:08:17,046 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless invocation of remove() for stateless session bean
    2012-03-02 15:08:17,304 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[xlWebApp]] action: LogonAction: User 'XELSYSADM' logged on in session 8B825B2D391A654D975CDC91FECB5E8E
    2012-03-02 15:09:00,192 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavu2lc-1itr
    2012-03-02 15:09:00,192 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:09:00,193 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:09:16,525 INFO [STDOUT] Running TOLOWERCASE
    2012-03-02 15:09:16,526 INFO [STDOUT] Target Class = java.lang.String
    2012-03-02 15:09:16,642 INFO [STDOUT] Running TOLOWERCASE
    2012-03-02 15:09:16,643 INFO [STDOUT] Target Class = java.lang.String
    2012-03-02 15:09:17,139 INFO [STDOUT] Running CHECKCHILDOBJECT
    2012-03-02 15:09:17,139 INFO [STDOUT] Target Class = gitidm.CheckEmptyChild
    2012-03-02 15:09:17,217 INFO [STDOUT] Connected to IAM
    2012-03-02 15:09:17,218 INFO [STDOUT] Query : select * from UD_EMAILOF join obi on obi.obi_key=UD_EMAILOF.obi_key join UD_MAILFOC on UD_MAILFOC.UD_EMAILOF_KEY=UD_EMAILOF.UD_EMAILOF_KEY where obi.req_key='44002'
    2012-03-02 15:09:17,228 INFO [STDOUT] Total record : 1
    2012-03-02 15:09:17,228 INFO [STDOUT] Is Admin not filled the child form ? FILLED
    2012-03-02 15:09:17,231 INFO [STDOUT] Disconnected from IAM
    2012-03-02 15:09:17,606 INFO [STDOUT] Running SETPROXYADDRESS
    2012-03-02 15:09:17,607 INFO [STDOUT] Target Class = email.Provisioning
    2012-03-02 15:09:17,622 INFO [STDOUT] SetProxyAddressForSubsidiary
    2012-03-02 15:09:17,622 INFO [STDOUT] Running INSERTTOLOG
    2012-03-02 15:09:17,623 INFO [STDOUT] Target Class = gitidm.LogProvisioning
    2012-03-02 15:09:17,701 INFO [STDOUT] Query Log= insert into IDM_PROV_LOG values (sysdate,'Request for Email Account','RWFLORENCIO','rwflorencio','Set Proxy Address','FAILED','NO')
    2012-03-02 15:09:18,870 INFO [STDOUT] Running CHANGEDOMAINUSER
    2012-03-02 15:09:18,870 INFO [STDOUT] Target Class = adir.Provisioning
    2012-03-02 15:09:18,945 INFO [STDOUT] Running GETDNUSERPLDT
    2012-03-02 15:09:18,945 INFO [STDOUT] Target Class = email.Provisioning
    2012-03-02 15:09:18,961 INFO [STDOUT] GetDN
    2012-03-02 15:09:18,991 INFO [STDOUT] GETDN():CN=FLORENCIO\, Raul W.,OU=PLDT Non-Executives,OU=Test Area,DC=ISSecLAB,DC=NET
    2012-03-02 15:09:18,991 INFO [STDOUT] Running ENABLEMAILBOXPLDT
    2012-03-02 15:09:18,991 INFO [STDOUT] Target Class = email.Provisioning
    2012-03-02 15:09:19,019 INFO [STDOUT] EnableMailbox
    2012-03-02 15:09:19,020 INFO [STDOUT] user ssh ->Administrator
    2012-03-02 15:09:50,426 INFO [STDOUT] error ->Could not connect for 30000 milliseconds
    2012-03-02 15:09:51,428 INFO [STDOUT] Disconnected: 192.168.1.72. Press Enter to exit
    2012-03-02 15:09:51,428 INFO [STDOUT] Running INSERTTOLOG
    2012-03-02 15:09:51,428 INFO [STDOUT] Target Class = gitidm.LogProvisioning
    2012-03-02 15:09:51,502 INFO [STDOUT] Query Log= insert into IDM_PROV_LOG values (sysdate,'Request for Email Account','RWFLORENCIO','rwflorencio','Enable Mailbox','FAILED','Could not connect for 30000 milliseconds')
    2012-03-02 15:09:53,940 INFO [STDOUT] Running SETMAILBOX
    2012-03-02 15:09:53,940 INFO [STDOUT] Target Class = email.Provisioning
    2012-03-02 15:09:53,959 INFO [STDOUT] userssh ->Administrator
    2012-03-02 15:09:53,959 INFO [STDOUT] userid ->ISSECLAB\Administrator
    2012-03-02 15:10:00,461 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavvd3h-1itu
    2012-03-02 15:10:00,462 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:10:00,462 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:10:00,577 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavvd6p-1itv
    2012-03-02 15:10:00,577 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:10:00,578 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:10:00,865 INFO [ADAPTER.AUTH_AD] Start initiate reconciliation info user
    2012-03-02 15:10:00,865 INFO [ADAPTER.AUTH_AD] Start initiate reconciliation
    2012-03-02 15:10:07,034 INFO [STDOUT] select usr.usr_key,usr.usr_password from usr left join GIT_AUTH_AD on GIT_AUTH_AD.usr_key=usr.usr_key where usr.usr_password != GIT_AUTH_AD.USR_PASSWORD
    2012-03-02 15:10:25,353 INFO [STDOUT] Could not connect for 30000 milliseconds
    2012-03-02 15:10:26,357 INFO [STDOUT] Disconnected: 192.168.1.72. Press Enter to exit
    2012-03-02 15:11:00,222 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavwn7i-1itx
    2012-03-02 15:11:00,223 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:11:00,223 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:11:51,773 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
    2012-03-02 15:12:00,219 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavxxi3-1itz
    2012-03-02 15:12:00,220 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:12:00,220 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:13:00,229 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzavz7t1-1iu2
    2012-03-02 15:13:00,229 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:13:00,229 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:14:00,192 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw0i2o-1iu5
    2012-03-02 15:14:00,192 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:14:00,193 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:14:02,974 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:02,974 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:02,975 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:02,975 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:02,975 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:53,473 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:53,473 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:53,474 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:53,474 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:14:53,474 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:15:00,249 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw1sex-1iu7
    2012-03-02 15:15:00,249 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:15:00,249 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:15:00,591 INFO [ADAPTER.AUTH_AD] Start initiate reconciliation info user
    2012-03-02 15:15:00,592 INFO [ADAPTER.AUTH_AD] Start initiate reconciliation
    2012-03-02 15:15:00,727 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw1ss0-1iu9
    2012-03-02 15:15:00,727 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:15:00,728 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:15:06,711 INFO [STDOUT] select usr.usr_key,usr.usr_password from usr left join GIT_AUTH_AD on GIT_AUTH_AD.usr_key=usr.usr_key where usr.usr_password != GIT_AUTH_AD.USR_PASSWORD
    2012-03-02 15:15:18,066 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:15:18,075 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:15:18,075 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:15:18,076 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:15:18,076 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:16:00,220 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw32os-1iub
    2012-03-02 15:16:00,221 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:16:00,221 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:16:00,536 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:16:00,537 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:16:00,537 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:16:00,538 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:16:00,539 WARN [XELLERATE.WEBAPP] TimeZone is not set for the browser's machine.
    2012-03-02 15:17:00,200 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw4cyw-1iud
    2012-03-02 15:17:00,200 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:17:00,201 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:18:00,209 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw5n9t-1iuf
    2012-03-02 15:18:00,210 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:18:00,210 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:19:00,211 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw6xkj-1iuh
    2012-03-02 15:19:00,212 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:19:00,212 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:19:21,833 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000
    2012-03-02 15:20:00,500 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw8838-1iuk
    2012-03-02 15:20:00,501 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:20:00,501 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:20:00,673 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw8881-1iul
    2012-03-02 15:20:00,674 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:20:00,674 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:20:00,930 INFO [ADAPTER.AUTH_AD] Start initiate reconciliation info user
    2012-03-02 15:20:00,931 INFO [ADAPTER.AUTH_AD] Start initiate reconciliation
    2012-03-02 15:20:07,489 INFO [STDOUT] select usr.usr_key,usr.usr_password from usr left join GIT_AUTH_AD on GIT_AUTH_AD.usr_key=usr.usr_key where usr.usr_password != GIT_AUTH_AD.USR_PASSWORD
    2012-03-02 15:21:00,306 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzaw9i8g-1iun
    2012-03-02 15:21:00,306 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:21:00,306 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:22:00,281 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzawasih-1iup
    2012-03-02 15:22:00,282 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:22:00,282 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:23:00,303 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: gzawc2tl-1iur
    2012-03-02 15:23:00,304 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-03-02 15:23:00,304 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-unified-invoker
    2012-03-02 15:23:27,310 INFO [STDOUT] Running CHANGEDOMAINUSER
    2012-03-02 15:23:27,312 INFO [STDOUT] Target Class = adir.Provisioning
    2012-03-02 15:23:27,413 INFO [STDOUT] Running GETDNUSERPLDT
    2012-03-02 15:23:27,414 INFO [STDOUT] Target Class = email.Provisioning
    2012-03-02 15:23:27,432 INFO [STDOUT] GetDN
    2012-03-02 15:23:27,473 INFO [STDOUT] GETDN():CN=FLORENCIO\, Raul W.,OU=PLDT Non-Executives,OU=Test Area,DC=ISSecLAB,DC=NET
    2012-03-02 15:23:27,473 INFO [STDOUT] Running ENABLEMAILBOXPLDT
    2012-03-02 15:23:27,474 INFO [STDOUT] Target Class = email.Provisioning
    2012-03-02 15:23:27,495 INFO [STDOUT] EnableMailbox
    2012-03-02 15:23:27,496 INFO [STDOUT] user ssh ->Administrator
    2012-03-02 15:23:55,851 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=oim1.isseclab.net/5544083, BranchQual=, localId=5544083] timed out. status=STATUS_ACTIVE
    2012-03-02 15:23:55,874 WARN [XELLERATE.DATABASE] Trying to get the connection count : 0
    2012-03-02 15:23:55,875 WARN [XELLERATE.DATABASE] Trying to get the connection count : 1
    2012-03-02 15:23:55,876 WARN [XELLERATE.DATABASE] Trying to get the connection count : 2
    2012-03-02 15:23:55,877 WARN [XELLERATE.DATABASE] Trying to get the connection count : 3
    2012-03-02 15:23:55,878 WARN [XELLERATE.DATABASE] Trying to get the connection count : 4
    2012-03-02 15:23:55,878 ERROR [XELLERATE.DATABASE] Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
    Database srever is running.
    Datasource configuration settings are correct.
    2012-03-02 15:23:55,878 ERROR [XELLERATE.DATABASE] Class/Method: tcDataBase/readPartialStatement encounter some problems: Got a null connection
    java.sql.SQLException: Got a null connection
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.cache.CacheUtil.getSetCachedQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertImplementation(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.attestation.AttestationEngine.attestTask(Unknown Source)
         at com.thortech.xl.attestation.AttestationEngine.updateResponses(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.AttestationOperationsBean.updateResponses(Unknown Source)
         at com.thortech.xl.ejb.beans.AttestationOperationsSession.updateResponses(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1129.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy744.updateResponses(Unknown Source)
         at Thor.API.Operations.AttestationOperationsClient.updateResponses(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1128.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy785.updateResponses(Unknown Source)
         at com.thortech.xl.schedule.tasks.tcTskSubmitAttestationRequets.execute(Unknown Source)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    2012-03-02 15:23:55,885 ERROR [XELLERATE.SERVER] Class/Method: tcDataObj/eventPreInsert encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.cache.CacheUtil.getSetCachedQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertImplementation(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.attestation.AttestationEngine.attestTask(Unknown Source)
         at com.thortech.xl.attestation.AttestationEngine.updateResponses(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.AttestationOperationsBean.updateResponses(Unknown Source)
         at com.thortech.xl.ejb.beans.AttestationOperationsSession.updateResponses(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1129.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    Please help as its really urgent!

    Hey guys! 2 days and no replies yet. please help me with this.

  • Error while loading a 10.1.3 ADF application login page on JBoss EAP 6.0.1

    I have a 10.1.3 ADF application that runs well on Web Sphere and OC4J. I'm trying to run it on JBoss EAP 6.0.1. The ear file was deployed successfully to JBOSS and according to ADF logging the connection to Oracle database is established.
    But when I try to load the application login page, I obtain the following exception
    ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/cv].[Faces Servlet]] (http-/0.0.0.0:8080-1) Servlet.service() for servlet Faces Servlet threw exception: oracle.jbo.common.ampool.ApplicationPoolException:
    JBO-30003: The application pool (com.claimvantage.adf.root.Oracle) failed to checkout an application module due to the following exception:
            at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) [bc4jct.jar:]
            at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) [bc4jct.jar:]
            at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) [adfmweb.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) [bc4jct.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) [adfm.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) [adfm.jar:]
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) [adfm.jar:]
            at oracle.adf.model.BindingContext.get(BindingContext.java:457) [adfm.jar:]
            at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308) [adfm.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.getMessageHolder(JhsPageLifecycle.java:220) [cv-model.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.reportErrors(JhsPageLifecycle.java:203) [cv-model.jar:]
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:99) [adf-controller.jar:]
            at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.prepareRender(JhsPageLifecycle.java:1080) [jhsadfrt-10.1.3.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297) [adf-controller.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:426) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77) [adf-controller.jar:]
            at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final-redhat-1.jar:2.0.7.Final-redhat-1]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at com.claimvantage.web.sso.AuthenticationFilter.doFilter(AuthenticationFilter.java:272) [cv-model.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_16]
    Any help would be really appreciated.
    Thanks

    Thanks Frank for your answer.
    I can't see where the exception states that DB connection was not established!
    In the log, I have:
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3011] Created root application module: 'com.claimvantage.adf.root.RootAppModule'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3012] Locale is: 'en_US'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3013] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3014] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3015] import java.util.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3016] import java.sql.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3017] import java.io.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3018] public class JDBCCalls  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3019] {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3020]    public Connection conn = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3021]    public CallableStatement cStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3022]    public PreparedStatement pStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3023]    public Statement stmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3024]    public ResultSet rslt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3025]    public static void main(String argv[])  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3026]    {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3027]       DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3028] Creating a new pool resource
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3029] Trying connection/2: url='jdbc:oracle:thin:@s1ora01s:1521:s1ora01a' ...
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3030]       conn = DriverManager.getConnection("jdbc:oracle:thin:@s1ora01s:1521:s1ora01a", /*properties*/);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3031]       conn.setAutoCommit(false);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3032] Successfully logged in
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3033] JDBCDriverVersion: 10.2.0.1.0XE
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3034] DatabaseProductName: Oracle
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3035] DatabaseProductVersion: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Don't you think that it indicates that DB connection is well established?
    MBen

  • Error in invoking a process in JBoss Cluster

    Hi,
    I have recently installed LC 8.2 on a JBoss 4.2.0 Cluster. The OS of the 2 cluster nodes are Windows 2003 R2 Enterprise Edition SP2.
    And the database is SQL Server 2005 Ent. Ed. installed on another Windows 2003 R2 Enterprise Edition SP2.
    I have created a simple process on the first node of the cluster. When I invoked the process through Workbench, I get ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error. with the following root cause:
    Caused by: javax.naming.NameNotFoundException: adobe_JmsQueueXA not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1063)
    ... 142 more
    I get the same error even I close the second node in the cluster.
    How can I fix this error?
    Thanks

    UPDATE!!
    I have added the following lines to hajndi-jms-ds.xml file in /server/all/deploy/jms:
        true
        adobe_JmsQueueXA
        jms-ra.rar
        org.jboss.resource.adapter.jms.JmsConnectionFactory
        JMS Adapter
        javax.jms.Topic
        JmsXARealm
        java:/DefaultJMSProvider
        true
        adobe_JmsTopicXA
        jms-ra.rar
        org.jboss.resource.adapter.jms.JmsConnectionFactory
        JMS Adapter
        javax.jms.Topic
        JmsXARealm
        java:/DefaultJMSProvider
    But this time I get a different error:
    Caused by: javax.jms.JMSException: Could not create a session: org.jboss.resource.JBossResourceException: Unable to setup connection; - nested throwable: (javax.jms.JMSSecurityException: User: guest is NOT authenticated)
                    at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactory Impl.java:403)
                    at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactory Impl.java:144)
                    at com.adobe.idp.jobmanager.ejb.JobManagerBean.createJob(JobManagerBean.java:222)
                    ... 135 more
                    at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException(AbstractRespo nseHolder.java:136)
                    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkBindingStubUtil.deSerializeResponse( SoapSdkBindingStubUtil.java:122)
                    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:128)
                    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
                    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
                    at com.adobe.common.utils.invoke.InvokeWithProgressRunner.invokeServiceOperation(InvokeWithP rogressRunner.java:170)
                    at com.adobe.common.utils.invoke.InvokeWithProgressRunner.run(InvokeWithProgressRunner.java: 97)
                    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    I guess the error is related with login-config.xml, as there are some policy options with "guest" value. But, in fact I carefully followed the instructions on Adobe documentation : prepareinstallcluster.pdf and clustering_jboss.pdf

  • Error while strting a process from jsp on a JBoss JBpm server

    Hello!
    I created a very simple jsp file just to try to start a process from it. I'm using JBoss JBpm.
    This is my jsp file:
    <%@ page import="org.jbpm.*" %>
    <%@ page import="org.jbpm.graph.def.*" %>
    <%@ page import="org.jbpm.graph.exe.*" %>
    <%@ page import="org.jbpm.db.*" %>
    <%!
    private void startProcessDefinition() {
         String processDefinitionName = new String("websale");
         JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
            JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
         try {
              GraphSession graphSession = jbpmContext.getGraphSession();
              ProcessDefinition definition = graphSession.findLatestProcessDefinition(processDefinitionName);
              ProcessInstance instance = definition.createProcessInstance();
              instance.signal();
              jbpmContext.save(instance);
         }finally{
              jbpmContext.close();
    %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    Jup3!
    <% startProcessDefinition();%>
    </body>
    </html>But unfortunately I get this error:
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    ...Does anyone have an idea where the problem is?
    Thanks for help.

    Sorry, no idea what the problem is.
    I suggest creating a servlet and moving all your business logic there. Test it and verify it works. Then put its result in request scope via request.setAttribute(),
    then in the JSP page, get the value via request.getAttribute(). This is in following with not having any business logic in the JSP page (separation of concerns).
    It also makes it far easier to debug and set breakpoints (can be done in servlet, not in JSP).

  • SVG in pdf created with FOP

    Hello,
    is it possible to include SVG`s to a pdf report, which is created with FOP?
    I read something like Batik....
    Does anybody have any experiences about that?
    Thanks,
    Tim

    Thank you, CtDave, for your speedy reply and for the 'Acrobat Technical Evangelist' knowledge base article. Word 2000 is one of Microsoft's masterpieces - by disabling 'autosave', the application is totally stable, does not require 'activation' by Microsoft. Acrobat 9 enables 'saving' of interactive .pdf forms, a most valuable feature and one much appreciated by anyone completiing such forms. There must be more to this issue than 'incompatibility', because I can create a test Word 2000 document, hyperlink a valid URL, convert to .pdf with Acrobat 9, and the hyperlink works fine in Acrobat 9. When I attempt to do this using a much more complex Word 2000 document, embedded with scores of hyperlinks, these links fail to work following conversion to .pdf with Acrobat 9, but work fine following conversion to .pdf with  Acrobat 6. I can then use Acrobat 9 to open the .pdf created with Acrobat 6, and successfully edit any of these fully functional hyperlinks using the 'Link tool'. I don't know who prepared the 'Acrobat Technical Evangelist' article (AF1908DCd01) - no credits were cited, and I'm far from certain that this authentically belongs to Adobe's knowledge base. So I appreciate your sharing this information with me, but I cannot say that my question has been definitively answered. If you have any further information or tips, please reply in this thread. /rmbrown

  • Error In Starting Jboss after installing OIM server

    Hi All,
    I have Installed OIM_Server(OIM 9.1.0.1) ON Jboss server(4.2.3) , I have 1 GB RAM m/c so have JVM setting as -XMS512m -XMX768 m. While installation of OIM Server, it showed the success message. But When I am starting the server , to perform post installation check, it is showing following error message .
    Does anybody have any ideas what the problem is? Please provide the possible solution.
    Thanks to All :)
    Error :
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] addEnvEntries
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkResourceEnvRefs
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkResourceRefs
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkMessageDestinationRefs
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkEjbRefs
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkEjbLocalRefs
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkServiceRefs
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkSecurityDomain
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] No security-domain given, using default: java:/jaas/other
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
    2009-07-16 18:43:27,166 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
    2009-07-16 18:43:27,401 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
    2009-07-16 18:44:02,667 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
    2009-07-16 18:44:04,964 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, PassivatedCount=0
    2009-07-16 18:44:04,964 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] removePassivated, now=1247750044964, maxLifeAfterPassivation=1200000
    2009-07-16 18:45:11,465 ERROR [STDERR] Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
    2009-07-16 18:45:11,465 ERROR [STDERR] java.lang.NoClassDefFoundError: org/quartz/core/JobRunShell
    2009-07-16 18:45:11,465 ERROR [STDERR]      at org.quartz.impl.StdJobRunShellFactory.borrowJobRunShell(StdJobRunShellFactory.java:86)
    2009-07-16 18:45:11,465 ERROR [STDERR]      at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:352)
    2009-07-16 18:45:11,465 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.quartz.core.JobRunShell, msg=PermGen space
    2009-07-16 18:45:11,465 ERROR [STDERR]      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:560)
    2009-07-16 18:45:11,481 ERROR [STDERR]      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
    2009-07-16 18:45:11,481 ERROR [STDERR]      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    2009-07-16 18:45:11,481 ERROR [STDERR]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    2009-07-16 18:45:11,481 ERROR [STDERR]      ... 2 more
    2009-07-16 18:45:11,481 ERROR [STDERR] Caused by: java.lang.OutOfMemoryError: PermGen space
    2009-07-16 18:45:26,168 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
    2009-07-16 18:45:26,168 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, PassivatedCount=0
    2009-07-16 18:45:26,168 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] removePassivated, now=1247750126168, maxLifeAfterPassivation=1200000
    2009-07-16 18:45:26,168 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, done
    2009-07-16 18:45:33,247 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Running RemoverTask
    2009-07-16 18:45:33,247 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, PassivatedCount=0
    2009-07-16 18:45:33,247 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] removePassivated, now=1247750133247, maxLifeAfterPassivation=1200000
    2009-07-16 18:45:33,247 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] RemoverTask, done

    I am getting these errors starting JBoss after installing OIM 9.1.0.1 on windows 2003 server with JBoss 4.2.3GA canany one please help me why.
    19:04:04,468 INFO [WEBSTARTUP] Scheduler started
    19:04:04,484 INFO [TomcatDeployer] deploy, ctxPath=/xlWebApp, warUrl=.../tmp/de
    ploy/tmp5989105329966275493XellerateFull.ear-contents/xlWebApp-exp.war/
    19:05:02,984 ERROR [STDERR] Exception in thread "DefaultQuartzScheduler_QuartzSc
    hedulerThread"
    19:11:18,359 ERROR [STDERR] Exception in thread "IdleRemover"
    19:15:34,562 ERROR [STDERR] Exception in thread "Thread-15"

  • [Eclipse&JBoss] JBoss doesn't start

    Hi there.
    I encountered a problem in starting JBoss with Eclipse. The strange thing is that I have the same configuration on my laptop and it works. On this second computer it doesn't work and I can't understand why.
    Here my configuration:
    - Eclipse Galileo
    - JDK 1.6
    - JBoss 5.0.0 for jdk6
    I inserted JBoss as a server in Eclipse and then I launched my Enterprise Application in there. The server starts correctly, in more or less 20 seconds. Then I find in the console something like:
    +22:32:07,937 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 23s:111ms+
    It could make me think that JBoss actually started, because there aren't errors. But Eclipse doesn't recognise it, and the bar in the right corner says "Starting JBoss..." since it goes in timeout.
    I found a post in this forum that says to change the timeout, or to replace JBoss with a new copy, or to do the same thing with Eclipse. I have done all these things, pushing the timeout to 1000 seconds, deleting the JBoss folder and replacing it, and deleting the Eclipse folder (but not the workspace). Still getting the same error. And I can't understand why.
    It's weird because I would expect to find an error in the console, but it's error free...
    Could anyone help me? I would be very very grateful!!
    Thank you for your attention.
    Eleanore
    Edited by: Eleanore on May 31, 2010 2:06 PM

    you may want to install jboss-tools.
    [http://www.jboss.org/tools|http://www.jboss.org/tools]
    Among a pile of other helper plugins, it has JbossAS tools. Using the server runtime setup from JBoss Tools, I've never had any problems with any version of JBoss.
    btw: Jboss 5.0 was fairly broken; I would consider upgrading to JBoss 5.1-jdk6 which is far more stable.

  • Unable to deploy a war(includes web services)packaged into EAR on jboss 5.0

    I am new to web services and wanted to develop one
    I used the following softwares / IDE
    Eclipse 3.4.2
    Apache Ant 1.7
    Jboss AS 5.0.1
    JBoss ws 2.0
    jbossws-native-bin-dist 3.2.1GA
    sun jdk 1.6.0_12
    So i started off quite well configuring all that is required to create a web service
    i took the help of eclipse ide tools like create web service and create web service clients.
    when i created the web project in eclipse i selected the option add project to ear.
    and finally i start the jboss server with in eclipse and add project the ear file that contains the war file.
    just when i thought all is fine the server throws an error
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    I have searched jira to find a solution for this , but i think i couldnt find an appropriate solution
    I am not sure if the search critirea i entered was close to the issue.
    The log pasted below is the one when i start jboss from with in eclipse .
    13:01:52,929 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/ state=PreReal mode=Manual requiredState=Real
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/TempWs.war/
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeployment(AbstractDeploymentModelBuilder.java:119)
    at org.jboss.webservices.integration.deployers.deployment.AbstractDeploymentModelBuilder.newDeploymentModel(AbstractDeploymentModelBuilder.java:62)
    at org.jboss.webservices.integration.deployers.deployment.WSDeploymentBuilder.build(WSDeploymentBuilder.java:82)
    at org.jboss.webservices.integration.deployers.WSDeploymentDeployer.internalDeploy(WSDeploymentDeployer.java:66)
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    ... 24 more
    13:01:52,945 WARN [HDScanner] Failed to process changes
    org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    DEPLOYMENTS IN ERROR:
    Deployment "vfsfile:/C:/jboss-5.0.1.GA/server/all/deploy/TempWsEAR.ear/" is in error due to the following reason(s): java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.getMetaDataFiles(Lorg/jboss/virtual/VirtualFileFilter;)Ljava/util/List;
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:806)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Please help.

    When you say:
    I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
    startup the OC4J instance.
    We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
    It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
    Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
    I don't know of any problems with Solaris, JDK5, U12.
    What about if you do this to remove any issues with the remote copy aspect of the deployment.
    1. Stop OC4J.
    2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
    3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
    4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
    5. Start the server and see what happens -- the application should be deployed.
    Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
    -steve-

  • How to integrate a flex build in a web application running on jBoss 5.1

    Hi,
    I have two flex builds for a messaging application that I have to integrate with my web application running on Jboss 5.1 . I have tried hot deploying the builds into the default deploy folder of Jboss,but that approach doesn't seem to work(maybe because I may need to make war out of the flex builds). Can someone tell me an approach of how to accomplish this. Can I leverage BLAZEDS for this purpose.
    Thanks
    Rohit Kumar

    Hi,
    Go through Re: Web Dynpro and Smart Forms.
    Regards,
    Satyajit.

  • When do WL streams release byte[]. Smaller footprint under JBOSS.

    We have a customer that started having memory issues. When we jprobed, we saw that half the memory usage they were seeing on the client was occupied by the byte[] corresponding to the objects streamed back from the ssb running on the application server. In fact, several calls to different ssbs that return very large amounts of data were responsible for large amounts of data hanging around on the client. I understand that weblogic has to hold onto these data structures to resolve multiple streams of the same object on the server side to the same object on the client. My question is, what controls garbage collection of this data? Under what circumstances will it be released?
    When we ran the same tests under JBOSS the memory footprint was much smaller. If we could understand the BEA mechanism and force the stream to be reset (or do something that indirectly forces the stream to be reset) we would be happy.
    Thoughts?
    Thanks in advance.
    Eric

    Excellent Blog. Thank You
    Small clarification on Step **6) Oracle Home Directory, ...a) Resize the Root Partition**
    Ubuntu 11.10 has Gparted available as a Ubuntu software download, DONT use that while trying the above step, instead download the ISO file from http://sourceforge.net/projects/gparted/files/gparted-live-stable/ gparted-live-0.12.0-5.iso (124.6 MB)
    Burn that ISO file on a Blank DVD, reboot the Ubuntu , during startup select Boot from DVD Option if not already selected. this will take to Boot Menu Options of Gparted Live then select the first menu option, and this allows to do further action such as Re-sizing .
    and once you have chosen and executed step a) . do NOT run step b) also that is "Setup External Storage"
    I hope this minor clarification can avoid some confusion
    Regards
    Madhusudhan Rao
    Edited by: MadhusudhanRao on Mar 24, 2012 11:30 PM

  • Queries running under JBoss Not Working

    I'm using Kodo 2.3.2 running under JBoss.
    It seems like if I attempt to run the same JDOQL query within a single
    transaction under JBoss the second time I run the query I see that Kodo
    appears to be querying the entire extent of my class instead of performing
    my JDOQL query.
    For example,
    I have a simple JDOQL function like:
    runQuery()
    Extent e = aPM.getExtent (Persname.class, true);
    String aFilter, anOID;
    aFilter = "pers.objid == aObjId";
    // Create a new query for the specified class and filter
    Query query = aPM.newQuery (e, aFilter);
    query.declareParameters("double aObjId");
    // execute the query
    Collection aColl = (Collection) query.execute (aPersOID);
    if ( aColl == null )
    this.setResults("ERROR: NULL collection returned from query");
    return false;
    } // end if
    // iterate the results and close the query
    If I call this method twice in my session bean I see this the first time
    (which is correct SQL):
    SELECT t0.ObjId, t0.PersObjId, t0.StpDate, t0.StrDate, t0.TypeCd FROM Pers
    t1, PersName t0 WHERE (t1.ObjId = '44946832753163' AND t0.PersObjId =
    t1.ObjId)
    Then on the second call to the method I see this:
    SELECT t0.ObjId, t0.PersObjId, t0.StpDate, t0.StrDate, t0.TypeCd FROM
    PersName t0
    connect:
    jdbc:microsoft:sqlserver://ML1JXT0C:1339;DatabaseName=SMSTHtndIT6DJDO;Select
    Method=cursor (sa): 1
    then Kodo seems to iterate the entire table using all the primary keys.
    Has anyone seen anything like this?
    Also, when I run more than one query, the second query performs
    significantly slower (5 - 6 seconds).

    Fred,
    That was the problem, once I configured IgnoreCache=true I didn't see that
    behavior anymore. Thanks..
    "Fred Lucas" <[email protected]> wrote in message
    news:[email protected]...
    What is the javax.jdo.option.IgnoreCache property set to? If this is
    set to 'false' and you run a query after modifying an object in the
    transaction, then we perform the entire query in-memory, for transactional
    consistency reasons.
    -Fred
    In article <[email protected]>, TJanusz wrote:
    I'm using Kodo 2.3.2 running under JBoss.
    It seems like if I attempt to run the same JDOQL query within a single
    transaction under JBoss the second time I run the query I see that Kodo
    appears to be querying the entire extent of my class instead of
    performing
    my JDOQL query.
    For example,
    I have a simple JDOQL function like:
    runQuery()
    Extent e = aPM.getExtent (Persname.class, true);
    String aFilter, anOID;
    aFilter = "pers.objid == aObjId";
    // Create a new query for the specified class and filter
    Query query = aPM.newQuery (e, aFilter);
    query.declareParameters("double aObjId");
    // execute the query
    Collection aColl = (Collection) query.execute (aPersOID);
    if ( aColl == null )
    this.setResults("ERROR: NULL collection returned from query");
    return false;
    } // end if
    // iterate the results and close the query
    If I call this method twice in my session bean I see this the first time
    (which is correct SQL):
    SELECT t0.ObjId, t0.PersObjId, t0.StpDate, t0.StrDate, t0.TypeCd FROMPers
    t1, PersName t0 WHERE (t1.ObjId = '44946832753163' AND t0.PersObjId =
    t1.ObjId)
    Then on the second call to the method I see this:
    SELECT t0.ObjId, t0.PersObjId, t0.StpDate, t0.StrDate, t0.TypeCd FROM
    PersName t0
    connect:
    jdbc:microsoft:sqlserver://ML1JXT0C:1339;DatabaseName=SMSTHtndIT6DJDO;Select
    Method=cursor (sa): 1
    then Kodo seems to iterate the entire table using all the primary keys.
    Has anyone seen anything like this?
    Also, when I run more than one query, the second query performs
    significantly slower (5 - 6 seconds).
    Fred Lucas
    SolarMetric Inc.
    202-595-2064 x1122
    http://www.solarmetric.com

  • USING SSO TO SECURE THE WEB APPLICATION RUNNING ON JBOSS/WEBSPHERE

    We are using Oracle portal for all our applications. We have Oracle Application Server, portal, SSO and OID installed. Basically the user should login through
    protal, and the authentication is done by SSO against OID. After the authentication, the user accesses the portal home page. From the home page, there are application links. By clicking these application links, the user should be able to access the applications. But these applications are running on JBoss and WebSphere. Is there any way that we can secure these applications
    by Oracle SSO?
    I know that there is a plug-in (mod-osso) running on the Oracle Web Server to fulfill the tasks like directing the request to the single sign-on server,
    authenticating, putting sso cookie into the session if authentication is successful. So the Oracle Web Server will take care of the authentication for all partner applications.
    There is no such plug-in released for the web server of JBoss or WebSphere. Anybody has the experience or suggestion on how to solve our issue?
    Thanks!

    Hi,
    Have you imported the java certificate into R/3 backend system ? if so.
    Then just go to backend system and check on sm50 for each applicaion instance of any error eg.
    SM50-> Display files (ICON) as DB symbol with spect.(cntrlshiftF8)
    You will get logon ticket details.
    with thanks,
        Rajat

  • Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

    Hello all,
    I am trying to build a very simple JavaEE application with JAAS, but I getting mad.
    I have an EAR packed with a WAR module an EJB JAR module and a JAR with other classes. Struts is the MVC framework and EJB 3.0 is been used.
    First of all, I configured the "login-config.xml" file within /conf directory in JBoss, like this:
    <application-policy name="exemplo1">
         <authentication>
              <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
                   <module-option name="dsJndiName">java:jdbc/Infra_Seguranca</module-option>
                   <module-option name="principalsQuery">SELECT COD_USUARIO AS Password FROM USUARIO WHERE COD_USUARIO=?</module-option>
                   <module-option name="rolesQuery">SELECT NOME_ROLE AS Roles, 'Roles' AS RoleGroups FROM ROLE_USUARIO WHERE COD_USUARIO=?</module-option>
              </login-module>
         </authentication>
    </application-policy>Next I configured the "web.xml" file like this:
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>Restricted</web-resource-name>
              <description>Declarative security tests</description>
              <url-pattern>*.do</url-pattern>
         </web-resource-collection>
         <auth-constraint>
              <role-name>xxx</role-name>
         </auth-constraint>
         <user-data-constraint>
              <description>no description</description>
              <transport-guarantee>NONE</transport-guarantee>
         </user-data-constraint>
    </security-constraint>
    <login-config>
         <auth-method>FORM</auth-method>
         <realm-name>exemplo1</realm-name>
         <form-login-config>
              <form-login-page>/login.jsp</form-login-page>
              <form-error-page>/loginErro.jsp</form-error-page>
         </form-login-config>
    </login-config>
    <security-role>
         <description>Role xxx</description>
         <role-name>xxx</role-name>
    </security-role>Notice that I am using the "xxx" role to protect the "*.do" URL pattern.
    The "jboss-web.xml" is like this:
    <?xml version="1.0"?>
    <jboss-web>
         <security-domain>java:/jaas/exemplo1</security-domain>
    </jboss-web>As it is, it works perfectly, which means, every time I try to access a "*.do" URL it verifies whether I am authenticated and have authroization or not. If not, the login page shows up.
    Now I wanna to be able to also protect my EJBs.
    My Stateless Session Bean is implemented as follow:
    @RolesAllowed("yyy")
    @Stateless(name="UserManagement")
    public class UserManagementBean implements UserManagement {
         public void add(User user) {
    }When I run all this, the container simply igoners the @RolesAllowed("yyy") annotation and allow the EJB execution.
    If I add the "jboss.xml" file, like this:
    <?xml version="1.0"?>
    <jboss>
         <security-domain>java:/jaas/exemplo1</security-domain>
    </jboss>I start getting this stack trace:
    ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files
    java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
    at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
    at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... Am I missing something? What do I have to do to get JAAS working fine with my EJBs? Do I have to also configure and/or provide "ejb-jar.xml" ???
    Thanks
    Daniel

    Using @SecurityDomain("exemplo1") in my EJB and NOT providing jboss.xml, it works.
    @SecurityDomain("exemplo1")
    @RolesAllowed("yyy")
    @Stateless(name="UserManagement")
    public class UserManagementBean implements UserManagement {
      public void add(User user) {
    }Damn! This is some serious shit... I don�t want to configure this in every single EJB.
    EJB 3.0 is nice, but some small trivial details like this and others, that was forgotten by Sun, piss me off!

  • JBOSS Drivers 4.0.2 comaptiability with XI 3.0

    Hello
    I am getting following error in VA, when JBOSS 4.0.2 drivers are deployed using SDM. In RWB, JMS receivers all show Errors because of this.
    <b>Unable to create the QueueConnectionFactory due to org.jboss.mq.SpyConnectionFactory , Error ,  , com.sap.aii.af.service.jms.WorkerJMSSender.init(WorkerHandler moduleHandler, Object para) ,  , J2EE_GUEST</b>
    Any one have experienced this type of problem, If so what are my options. Are these driver files sufficient ?
    I have used the following JBOSS driver files
    1) JBOSS-System.jar
    2) Jbossall-client.jar
    3) Jbossha-client.jar
    The same files with JBOSS V 4.0.0 work fine but
    JBOSS V 4.0.2 throws the Error.
    The reason we want to upgrade the driver files are to avoid repeated JMS Connection errors due to ping time out, which apparently has been corrected  with JBOSS 4.0.2
    Appreciate your quick response.
    Regards
    Prasad

    Hello
    I am getting following error in VA, when JBOSS 4.0.2 drivers are deployed using SDM. In RWB, JMS receivers all show Errors because of this.
    <b>Unable to create the QueueConnectionFactory due to org.jboss.mq.SpyConnectionFactory , Error ,  , com.sap.aii.af.service.jms.WorkerJMSSender.init(WorkerHandler moduleHandler, Object para) ,  , J2EE_GUEST</b>
    Any one have experienced this type of problem, If so what are my options. Are these driver files sufficient ?
    I have used the following JBOSS driver files
    1) JBOSS-System.jar
    2) Jbossall-client.jar
    3) Jbossha-client.jar
    The same files with JBOSS V 4.0.0 work fine but
    JBOSS V 4.0.2 throws the Error.
    The reason we want to upgrade the driver files are to avoid repeated JMS Connection errors due to ping time out, which apparently has been corrected  with JBOSS 4.0.2
    Appreciate your quick response.
    Regards
    Prasad

Maybe you are looking for

  • For Copy/Paste ctrl+c/ctrl+v is not working

    I have a text box in flex and i want to copy the text from that text box through ctrl+c but it is not performing.. Plz tell me how can i copy/paste through ctrl+c/ctrl+v

  • Where do i need to put third party jar files in localmachine?

    Hi I am writing jsp where i am importing the classes from third party libraries. When i am running this jsp, it is getting error as "cannot access class ...". Where do i need to put these third party libraries in my local machine in order to run the

  • 1099-MISC Reporting Transmitter Record to IRS

    I am researching the file layout for the 1099-MISC data that is transmitted to the IRS in March of each year.  The instructions for the "T" transmitter record for field position 519 through 704 require your software vendor information in these fields

  • How can I pivot a photo or graphic?

    How can I pivot a picture or graphic? I know how to tilt the photo on the X or Y axis. But I'm looking to pivot the photo on a Z axis. By that I mean...image a regular rectangle pivoted into a trapazoid so that one side is tilted back into the center

  • Windows trojan on a Mac?

    Avast! for Mac found a suspicious string in a Wuala memory dump-file and told me it is WIN32:banker-KDL. But- Can malware written for Windows even install itself and operate on a Mac running OS X (10.8.5)?