[JBoss-user] [EJB/JBoss] - Orion-ejb-jar.xml error
hi, I have create the entity bean in JDeveloper9052 and it created the orion-ejb-jar to map the fields in database table. anonymous wrote : | http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd";> | | | | | | | | | | | | | | | | Howerver during deployment, Jboss does not read this xml to map the fields in db table (Error msg ORA-00904: "TESTID": invalid identifier:) May i know what shold i change to make the JBoss to read the xml file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865134#3865134 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865134 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB Type Mapping Issue with Oracle9i.
ifecycle(DataAction.java | :232) | at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:163) | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor | .java:484) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:228) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: | 75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: | 214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal | ve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: | 152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve. | java:66) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociati | onValve.java:162) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 | 9) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j | ava:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnecti | on(Http11Protocol.java:705) | at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:6 | 83) | at java.lang.Thread.run(Thread.java:534) | | | | | | Back to top | | | alexcheong | | | | Joined: Fri Nov 26, 2004 04:35 AM | Posts: alexcheong | Location: | Posted: Tue Jan 4, 2005 04:36 AMPost subject: Re: EJB Connection problem. | | | | Hi Guru, | | I had tried to put in the data source ref | | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | javax.sql.DataSource | Container | Shareable | | | in ejb-jar.xml but it does't help. | | How the session/entity bean connect to the data source in JBOSS which is java:/jdbc/FisicienCoreDS? | | ejb-jar.xml | Code: | | http://java.sun.com/dtd/ejb-jar_2_0.dtd";> | | | | Session
[JBoss-user] [EJB/JBoss] - Re: EJB Connection problem.
Hi Guru, I had tried to put in the data source ref jdbc/FisicienCoreDS java:/jdbc/FisicienCoreDS javax.sql.DataSource Container Shareable in ejb-jar.xml but it does't help. How the session/entity bean connect to the data source in JBOSS which is java:/jdbc/FisicienCoreDS? ejb-jar.xml | http://java.sun.com/dtd/ejb-jar_2_0.dtd";> | | | | Session Bean ( Stateless ) | FdAllergyManager | FdAllergyManager | com.fsc.model.fd.fdallergy.ejb.FdAllergyManagerHome | com.fsc.model.fd.fdallergy.ejb.FdAllergyManager | com.fsc.model.fd.fdallergy.ejb.FdAllergyManagerLocalHome | com.fsc.model.fd.fdallergy.ejb.FdAllergyManagerLocal | com.fsc.model.fd.fdallergy.ejb.FdAllergyManagerBean | Stateless | Container | | ejb/local/Fddrugallergy | Entity | com.fsc.model.fd.fdallergy.ejb.FddrugallergyLocalHome | com.fsc.model.fd.fdallergy.ejb.FddrugallergyLocal | Fddrugallergy | | | ejb/local/Fdmedicalalert | Entity | com.fsc.model.fd.fdallergy.ejb.FdmedicalalertLocalHome | com.fsc.model.fd.fdallergy.ejb.FdmedicalalertLocal | Fdmedicalalert | | | ejb/local/Fdnondrugallergy | Entity | com.fsc.model.fd.fdallergy.ejb.FdnondrugallergyLocalHome | com.fsc.model.fd.fdallergy.ejb.FdnondrugallergyLocal | Fdnondrugallergy | | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | javax.sql.DataSource | Container | Shareable | | | | Entity Bean ( CMP ) | Fddrugallergy | Fddrugallergy | com.fsc.model.fd.fdallergy.ejb.FddrugallergyHome | com.fsc.model.fd.fdallergy.ejb.Fddrugallergy | com.fsc.model.fd.fdallergy.ejb.FddrugallergyLocalHome | com.fsc.model.fd.fdallergy.ejb.FddrugallergyLocal | com.fsc.model.fd.fdallergy.ejb.FddrugallergyBean | Container | java.lang.Long | False | 2.x | Fddrugallergy | | fddrugallergyId | | | fdpersonId | | | gngenericdrugId | | | system | | | route | | | probability | | | reaction | | | activeInd | | | enteredBy | | | enteredDatetime | | | prevUpdatedBy | | | prevUpdatedDatetime | | | lastUpdatedBy | | | lastUpdatedDatetime | | fddrugallergyId | | | findAll | | | select object(o) from Fddrugallergy o | | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | javax.sql.DataSource | Container | Shareable | | | | Entity Bean ( CMP ) | Fdmedicalalert | Fdmedicalalert | com.fsc.model.fd.fdallergy.ejb.FdmedicalalertHome | com.fsc.model.fd.fdallergy.ejb.Fdmedicalalert | com.fsc.model.fd.fdallergy.ejb.FdmedicalalertLocalHome | com.fsc.model.fd.fdallergy.ejb.FdmedicalalertLocal | com.fsc.model.fd.fdallergy.ejb.FdmedicalalertBean | Container | java.lang.Long | False | 2.x | Fdmedicalalert | | fdmedicalalertId | | | fdpersonId | | | medicalAlert | | | indicator | | | activeInd | | | enteredBy | | | enteredDatetime | | | prevUpdatedBy | | | prevUpdatedDatetime | | | lastUpdatedBy | | | lastUpdatedDatetime | | fdmedicalalertId | | | findAll | | | select object(o) from Fdmedicalalert o | | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | javax.sql.DataSource | Container | Shareable | | | | Entity Bean ( CMP ) | Fdnondrugallergy | Fdnondrugallergy | com.fsc.model.fd.fdallergy.ejb.FdnondrugallergyHome | com.fsc.model.fd.fdallergy.ejb.Fdnondrugallergy | com.fsc.model.fd.fdallergy.ejb.FdnondrugallergyLocalHome | com.fsc.model.fd.fdallergy.ejb.FdnondrugallergyLocal | com.fsc.model.fd.fd
[JBoss-user] [EJB/JBoss] - EJB Connection problem.
Hi Guru, I really spend time to resolve this issue for couple of weeks. Can anyone pls help? I have deployed an J2EE project developed by using JDeveloper 10g. The application run fine in Oracle OC4J AS. I having problem in session bean where JBOSS added a prefix in "TO_" in the table name. following are the steps I deployed the application to JBOSS. 1) Install ADF runtime to JBOSS AS. 2) Copy Oracle JDBC driver to C:\jboss-3.2.7RC1\server\default\lib. 3) Add a data source oracle-ds.xml to C:\jboss-3.2.7RC1\server\default\deploy. oracle-ds.xml: | | | jdbc/FisicienCoreDS | jdbc:oracle:thin:@10.228.212.10:1521:Fisicien | | oracle.jdbc.driver.OracleDriver | fisicien | zxcvbnm | | | | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | | | | | | I am using CMP Entity Bean in my project where by the entity bean could not lookup the data source that I have been added - java:/jdbc/FisicienCoreDS. Any suggestion? Thanks in advance. Error Logs: | 16:50:17,843 ERROR [CmsequenceManagerBean] Encountered unexpected exception : javax.ejb.Fi | nderException: Find failed: java.sql.SQLException: ORA-00904: "T0_CMSEQUENCE"."SEQUENCEID" | : invalid identifier | | 16:50:17,843 ERROR [CmsequenceManagerBean] Encountered unexpected exception : | javax.transaction.SystemException: Encountered unexpected exception | at com.fsc.model.cm.sequence.ejb.CmsequenceManagerBean.getNextNumber(CmsequenceMan | agerBean.java:388) | at com.fsc.model.cm.sequence.ejb.CmsequenceManagerBean.getNextNumber(CmsequenceMan | agerBean.java:89) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja | va:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSe | ssionContainer.java:683) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedC | onnectionInterceptor.java:186) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessi | onInstanceInterceptor.java:72) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.ja | va:84) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.jav | a:317) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderIn | terceptor.java:122) | at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContaine | r.java:331) | at org.jboss.ejb.Container.invoke(Container.java:709) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja | va:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionIntercep | tor.java:100) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) | at $Proxy706.getNextNumber(Unknown Source) | at com.fsc.util.sequence.SequenceFactory.getNextNumber(SequenceFactory.java:122) | at com.fsc.model.fd.fdallergy.ejb.FdAllergyManagerBean.addMedicalAlert(FdAllergyMa | nagerBean.java:74) | at com.fsc.model.fd.fdallergy.ejb.FdAllergyManagerBean.addAlert(FdAllergyManagerBe | an.java:273) |
[JBoss-user] [JCA/JBoss] - Re: jboss-3.2.7RC1 - Unable to execute remote method.
Two xml files has added in to the EJBJAR but I got error during deployment. jboss.xml | | | | | CmsequenceManager | CmsequenceManager | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | | | | CmPatientBarManager | CmsequenceManager | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | | | | Cmsequence | CmsequenceManager | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | | | | Fdnondrugallergy | CmsequenceManager | | jdbc/FisicienCoreDS | java:/jdbc/FisicienCoreDS | | | | | jbosscmp-jdbc.xml | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> | | | | | java:/jdbc/FisicienCoreDS | Oracle9i | false | false | | | | Error Logs | 23:36:33,921 INFO [jdbc/FisicienCoreDS] Bound connection factory for resource adapter for | ConnectionManager 'jboss.jca:service=LocalTxCM,name=jdbc/FisicienCoreDS to JNDI name 'jav | a:/jdbc/FisicienCoreDS' | 23:36:34,000 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-3. | 2.7RC1/server/default/deploy/jmx-console.war/ | 23:36:34,234 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-3. | 2.7RC1/server/default/deploy/management/web-console.war/ | 23:36:35,234 INFO [TomcatDeployer] deploy, ctxPath=/opentier-config-lite, warUrl=file:/C: | /jboss-3.2.7RC1/server/default/tmp/deploy/tmp51739opentier-config-lite.war/ | 23:36:35,500 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util | .LocalStrings', returnNull=true | 23:36:35,500 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.acti | on.ActionResources', returnNull=true | 23:36:35,625 INFO [PropertyMessageResources] Initializing, config='com.epiuse.opentier.co | nfig.ApplicationResources', returnNull=true | 23:36:35,921 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.7RC1/server/def | ault/deploy/TestJBOSSEAR.ear | 23:36:40,578 INFO [EjbModule] Deploying SessionManager | 23:36:40,750 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.7RC1/server/default/tmp/depl | oy/tmp51740TestJBOSSEAR.ear-contents/ModelEjbJAR.jar | 23:36:40,812 INFO [TomcatDeployer] deploy, ctxPath=/TestDeploy-ViewController-context-roo | t, warUrl=file:/C:/jboss-3.2.7RC1/server/default/tmp/deploy/tmp51740TestJBOSSEAR.ear-conte | nts/TestJBOSSWAR.war/ | 23:36:42,031 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.acti | on.ActionResources', returnNull=true | 23:36:42,078 INFO [PropertyMessageResources] Initializing, config='view.ApplicationResour | ces', returnNull=true | 23:36:43,406 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-3.2.7RC1/server/ | default/deploy/TestJBOSSEAR.ear | 23:36:43,781 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.7RC1/server/def | ault/deploy/bc4j.ear | 23:36:47,750 INFO [TomcatDeployer] deploy, ctxPath=/webapp, warUrl=file:/C:/jboss-3.2.7RC | 1/server/default/tmp/deploy/tmp51741bc4j.ear-contents/webapp.war/ | 23:36:48,218 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateS | essionPolicy is 2 | 23:36:48,234 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found | 23:36:48,234 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled | 23:36:48,328 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-3.2.7RC1/server/ | default/deploy/bc4j.ear | 23:36:48,500 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 23:36:49,156 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 | 23:36:49,203 INFO [JkMain] Jk running ID=0 time=0/266 config=null | 23:36:49,265 INFO [Server] JBoss (MX MicroKernel) [3.2.7RC1 (build: CVSTag=JBoss_3_2_7_RC | 1 date=200411082043)] Started in 29s:703ms | 23:39:56,296 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.7RC1/server/def | ault/deploy/ViewControllerEAR.ear | 23:40:28,843 INFO [EjbModule] Deploying Bbpatientbed | 23:40:29,031 INFO [EjbModule] Deploying Bbpatientbedhist | 23:40:29,046 INFO [EjbModule] Deploying Bbwardregister | 23:40:29,046 INFO [EjbModule] Deploying Bbpatientbedtfr | 23:40:29,062 INFO [EjbModule] Deploying BbBedBoardManager | 23:40:29,265 INFO [EjbModule] Deploying Bobillhist | 23:40:29,296 INFO [EjbModule] Deploying Bobillline | 23:40:29,296 INFO [EjbModule] Deploying BoBillGenerationManager | 23:40:29,437 ERROR [XmlFileLoader] failed to load jboss.xml. There could be a syntax erro | r. | org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean Cmsequence: found
[JBoss-user] [JCA/JBoss] - Re: jboss-3.2.7RC1 - Unable to execute remote method.
Which are the two files? Is it jbosscmp-jdbc.xml & jboss.xml? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859604#3859604 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859604 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JBoss 3.2.7 CMP 2- Different Table Name been called.
Hi Guru, My project was developed by using JDeveloper10g. I have deployed the EAR file to jboss-3.2.7RC1. The issue is when why JBOSS will add additional prefix to the table name whenever the create method has been invoked. Should lookup for "CMSEQUENCE"."SEQUENCEID" instead of "T0_CMSEQUENCE"."SEQUENCEID". It's work well using embedded OC4J AS provided by the IDE. Error Logs | 13:49:54,203 INFO [STDOUT] sessionid : 76C27E7A8B94A47DB8B00D1A19F2A97E | 13:49:59,562 INFO [Engine] StandardContext[/Fisicien-ViewController-context-root]No Metho | d onGoAddAlertForm and no actionBinding goAddAlertForm found. | 13:49:59,578 INFO [STDOUT] sessionid : 76C27E7A8B94A47DB8B00D1A19F2A97E | 13:49:59,593 INFO [STDOUT] sessionid : 76C27E7A8B94A47DB8B00D1A19F2A97E | 13:50:01,921 INFO [Engine] StandardContext[/Fisicien-ViewController-context-root]No Metho | d onGoConfirmForm and no actionBinding goConfirmForm found. | 13:50:01,937 INFO [STDOUT] sessionid : 76C27E7A8B94A47DB8B00D1A19F2A97E | 13:50:01,937 ERROR [SequenceFactory] Got home object | 13:50:01,984 INFO [CompositeCacheConfigurator] setting defaults to null | 13:50:01,984 WARN [OptionConverter] Could not find value for key jcs.default.cacheattribu | tes | 13:50:01,984 WARN [CompositeCacheConfigurator] Could not instantiate ccAttr named 'jcs.de | fault.cacheattributes', using defaults. | 13:50:02,000 INFO [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to | [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100 ] | 13:50:02,000 WARN [OptionConverter] Could not find value for key jcs.default.elementattri | butes | 13:50:02,000 WARN [CompositeCacheConfigurator] Could not instantiate eAttr named 'jcs.def | ault.elementattributes', using defaults. | 13:50:02,000 INFO [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_L | ATERAL = false, IS_SPOOL = false, IS_REMOTE = false, IS_ETERNAL = true, MaxLifeSeconds = - | 1, IdleTime = -1, CreateTime = 1103694602000, LastAccessTime = 1103694602000, getTimeToLiv | eSeconds() = -1000, createTime = 1103694602000 ] | 13:50:02,000 WARN [OptionConverter] Could not find value for key jcs.region.DVDCache.elem | entattributes | 13:50:02,000 WARN [CompositeCacheConfigurator] Could not instantiate eAttr named 'jcs.reg | ion.DVDCache.elementattributes', using defaults. | 13:50:02,046 INFO [LRUMemoryCache] initialized LRUMemoryCache for DVDCache | 13:50:02,046 INFO [CompositeCache] Constructed cache with name: DVDCache | 13:50:02,125 INFO [IndexedDiskCache] Cache file root directory: c:/temp/indexed-disk-cach | e | 13:50:02,140 WARN [OptionConverter] Could not find value for key jcs.region.LookupCodes.e | lementattributes | 13:50:02,140 WARN [CompositeCacheConfigurator] Could not instantiate eAttr named 'jcs.reg | ion.LookupCodes.elementattributes', using defaults. | 13:50:02,140 INFO [LRUMemoryCache] initialized LRUMemoryCache for LookupCodes | 13:50:02,140 INFO [CompositeCache] Constructed cache with name: LookupCodes | 13:50:02,140 INFO [IndexedDiskCache] Cache file root directory: c:/temp/indexed-disk-cach | e | 13:50:02,140 WARN [OptionConverter] Could not find value for key jcs.region.SessionManage | r.elementattributes | 13:50:02,140 WARN [CompositeCacheConfigurator] Could not instantiate eAttr named 'jcs.reg | ion.SessionManager.elementattributes', using defaults. | 13:50:02,140 INFO [LRUMemoryCache] initialized LRUMemoryCache for SessionManager | 13:50:02,140 INFO [CompositeCache] Constructed cache with name: SessionManager | 13:50:02,140 INFO [IndexedDiskCache] Cache file root directory: c:/temp/indexed-disk-cach | e | 13:50:02,140 WARN [OptionConverter] Could not find value for key jcs.region.MTMCache.elem | entattributes | 13:50:02,140 WARN [CompositeCacheConfigurator] Could not instantiate eAttr named 'jcs.reg | ion.MTMCache.elementattributes', using defaults. | 13:50:02,140 INFO [LRUMemoryCache] initialized LRUMemoryCache for MTMCache | 13:50:02,140 INFO [CompositeCache] Constructed cache with name: MTMCache | 13:50:02,140 INFO [IndexedDiskCache] Cache file root directory: c:/temp/indexed-disk-cach | e | 13:50:02,156 WARN [OptionConverter] Could not find value for key jcs.region.RoleMenuActio | n.elementattributes | 13:50:02,156 WARN [CompositeCacheConfigurator] Could not instantiate eAttr named 'jcs.reg | ion.RoleMenuAction.elementattributes', using defaults. | 13:50:02,156 INFO [LRUMemoryCache] initialized LRUMemoryCache for RoleMenuAction | 13:50:02,156 INFO [CompositeCache] Constructed cache with name: RoleMenuAction | 13:50:02,156 INFO [IndexedDiskCache] Cache file root directory: c:/temp/indexed-disk-cach | e | 13:50:02,156 WARN [OptionConverter] Could not find value for key jcs.region.ErrorCodes.el | ementattributes | 13:50:02,156 WARN [CompositeCacheC
[JBoss-user] [JCA/JBoss] - Re: jboss-3.2.7RC1 - Unable to execute remote method.
I have added following file to Conf folder. Still encounter same issue. jbosscmp-jdbc.xml | | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> | | | | | java:/jdbc/FisicienCoreDS | Oracle9i | false | false | | | | Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859558#3859558 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859558 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: jboss-3.2.7RC1 - Unable to execute remote method.
Thanks for the reply. I don't have such files in the project's package. Would it be the root of the problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859555#3859555 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859555 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: jboss-3.2.7RC1 - Unable to execute remote method.
Should lookup for "CMSEQUENCE"."SEQUENCEID" instead of "T0_CMSEQUENCE"."SEQUENCEID". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859480#3859480 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859480 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: ERROR [Fdperson#findByPrimaryKey] Find failed
OK. Thanks for your help! orion-ejb-jar.xml | | http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FdAllergyManager.java | package com.fsc.model.fd.fdallergy.ejb; | import com.fsc.model.fd.pmi.FdPersonInfoModel; | import javax.ejb.EJBObject; | import java.rmi.RemoteException; | import java.util.Vector; | import com.fsc.model.fd.fdallergy.FdDrugAllergyInfoModel; | import com.fsc.model.fd.fdallergy.FdNonDrugAllergyInfoModel; | import com.fsc.model.fd.fdallergy.FdMedicalAlertInfoModel; | | public interface FdAllergyManager extends EJBObject | { | | | public void addDrugAllergy(String sessionId, Vector vInfoModel2) throws RemoteException; | | public void addNonDrugAllergy(String sessionId, Vector vInfoModel3) throws RemoteException; | | | | void addDrugAllergy(String sessionId, FdDrugAllergyInfoModel infoModel) throws RemoteException; | | void addAlert(String sessionId, FdMedicalAlertInfoModel infoModel) throws RemoteException; | | void addNonDrugAllergy(String sessionId, FdNonDrugAllergyInfoModel infoModel) throws RemoteException; | | void updateAlert(String sessionId, FdMedicalAlertInfoModel infoModel) throws RemoteException; | | void updateDrugAllergy(String sessionId, FdDrugAllergyInfoModel infoModel) throws RemoteException; | | void updateNonDrugAllergy(String sessionId, FdNonDrugAllergyInfoModel infoModel) throws RemoteException; | | void addAlert(String sessionId, Vector vInfoModel) throws RemoteException; | | void addAllergies(String sessionid, Vector vMedicalAlertInfoModel, Vector vDrugAllergyInfoModel, Vector vNonDrugAllergyInfoModel, FdPersonInfoModel infomodel) throws RemoteException; | | | } | FdAllergyManagerHome.java | package com.fsc.model.fd.fdallergy.ejb; | import javax.ejb.EJBHome; | import java.rmi.RemoteException; | import javax.ejb.CreateException; | | public interface FdAllergyManagerHome extends EJBHome | { | FdAllergyManager create() throws RemoteException, CreateException; | } | FdAllergyManagerLocal.java | package com.fsc.model.fd.fdallergy.ejb; | import com.fsc.model.fd.pmi.FdPersonInfoModel; | import javax.ejb.EJBLocalObject; | import java.util.Vector; | import com.fsc.model.fd.fdallergy.FdDrugAllergyInfoModel; | import com.fsc.model.fd.fdallergy.FdNonDrugAllergyInfoModel; | import com.fsc.model.fd.fdallergy.FdMedicalAlertInfoModel; | | public interface FdAllergyManagerLocal extends EJBLocalObject | { | | | | public void addDrugAllergy(String sessionId, Vector vInfoModel2); | | public void addNonDrugAllergy(String sessionId, Vector vInfoModel3); | | | | void addDrugAllergy(String sessionId, FdDrugAllergyInfoModel infoModel); | | void addAlert(String sessionId, FdMedicalAlertInfoModel infoModel); | | void addNonDrugAllergy(String sessionId, FdNonDrugAllergyInfoModel infoModel); | | void updateAlert(String sessionId, FdMedicalAlertInfoModel infoModel); | | void updateDrugAllergy(String sessionId, FdDrugAllergyInfoModel infoModel); | | void updateNonDrugAllergy(String sessionId, FdNonDrugAllergyInfoModel infoModel); | | void addAlert(String sessionId, Vector vInfoModel); | | void addAllergies(String sessionid, Vector vMedicalAlertInfoModel, Vector vDrugAllergyInfoModel, Vector vNonDrugAllergyInfoModel, FdPersonInfoModel infomodel); | | | } | FdAllergyManagerLocalHome.java | package com.fsc.model.fd.fdallergy.ejb; | import javax.ejb.EJBLocalHome; | import javax.ejb.CreateException; | | public interface FdAllergyManagerLocalHome extends EJBLocalHome | { | FdAllergyManagerLocal create() throws CreateException; | } | FdAllergyManagerBean.java | package com.fsc.model.fd.fdallergy.ejb; | import com.fsc.model.fd.fdallergy.FdDrugAllergyInfoModel; | import com.fsc.model.fd.fdallergy.FdMedicalAlertInfoModel; | import com.fsc.model.fd.fdallergy.FdNonDrugAllergyInfoModel; | import com.fsc.model.fd.pmi.FdPersonInfoModel; | import com.fsc.model.fd.pmi.ejb.FdPatientManagerHome; | import com.fsc.model.fd.pmi.ejb.FdPersonManager; | import com.fsc.model.fd.pmi.ejb.FdPersonManagerHome; | import com.fsc.util.ejb.EJBService; | import com.fsc.util.lang.DateUtilities; | import com.fsc.
[JBoss-user] [HTTPD, Servlets & JSP] - Re: ERROR [Fdperson#findByPrimaryKey] Find failed
Hi, Thanks for the reply. I think the problem is the table name should be "FDPERSON"."FDPERSONID" intead of "T0_FDPERSON"."FDPERSONID". But I could not find the code where the lookup manager generate extra "T0_". Any comments? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859309#3859309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859309 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - ERROR [Fdperson#findByPrimaryKey] Find failed
Hi Guru, I have the following errors when create a new record by the EJB bean. Any idea what's wrong? | 23:13:24,953 INFO [Engine] StandardContext[/Fisicien-ViewController-context-root]No Metho | d onGoInitForm and no actionBinding goInitForm found. | 23:13:24,968 INFO [STDOUT] sessionid : 352D4EEF8A1B6720E063932EAF79A78A | 23:13:27,875 INFO [Engine] StandardContext[/Fisicien-ViewController-context-root]No Metho | d onGoSetSession and no actionBinding goSetSession found. | 23:13:27,906 INFO [STDOUT] sessionid : 352D4EEF8A1B6720E063932EAF79A78A | 23:13:29,078 INFO [Engine] StandardContext[/Fisicien-ViewController-context-root]No Metho | d onGoSetSession and no actionBinding goSetSession found. | 23:13:29,093 INFO [STDOUT] sessionid : 352D4EEF8A1B6720E063932EAF79A78A | 23:13:31,203 INFO [Engine] StandardContext[/Fisicien-ViewController-context-root]No Metho | d onGoConfirmForm and no actionBinding goConfirmForm found. | 23:13:31,218 INFO [STDOUT] sessionid : 352D4EEF8A1B6720E063932EAF79A78A | 23:13:31,265 ERROR [Fdperson#findByPrimaryKey] Find failed | java.sql.SQLException: ORA-00904: "T0_FDPERSON"."FDPERSONID": invalid identifier | | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189) | at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242) | at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554) | at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478) | at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:677) | at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2371) | at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:26 | 60) | at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatemen | t.java:457) | at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement | .java:387) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPr | eparedStatement.java:314) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQue | ryCommand.java:206) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQue | ryCommand.java:128) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.execute(JDBCFindByPrim | aryKeyQuery.java:128) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityComm | and.java:47) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.jav | a:589) | at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.ja | va:271) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(Cac | hedConnectionInterceptor.java:302) | at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1043) | at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:627) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja | va:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.j | ava:1070) | at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:8 | 8) | at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchro | nizationInterceptor.java:204) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(Cac | hedConnectionInterceptor.java:215) | at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:8 | 8) | at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterc | eptor.java:90) | at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.ja | va:61) | at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterc | eptor.java:28) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.ja | va:88) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.jav | a:343) | at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:130) | at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:8 | 5) | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFind | erInterceptor.java:93)
[JBoss-user] [JCA/JBoss] - getOutputStream() has already been called for this response
Hi Guru, My project was developed by using JDeveloper10g. I have deployed the EAR file to jboss-3.2.7RC1 and the login screen works well. But after login to my mainpage and whenever I call a action class will hit following exception. 17:06:32,703 ERROR [Engine] ApplicationDispatcher[/Fisicien-ViewController-context-root] S | ervlet.service() for servlet uix threw exception | java.lang.IllegalStateException: getOutputStream() has already been called for this respon | se | at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599) | at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.j | ava:163) | at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) | | at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122) | at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115) | at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:182) | at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryI | mpl.java:115) | at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java | :75) | at org.apache.jsp.protecteddoc.CM.CmCommon_jsp._jspService(CmCommon_jsp.java:204) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) | | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. | java:590) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja | va:510) | at oracle.cabo.ui.laf.base.RequestDispatcherIncluder.includeByPath(Unknown Source) | | at oracle.cabo.ui.laf.base.ServletIncludeRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source) | at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source) | at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) | at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispat | cher.java:474)
[JBoss-user] [HTTPD, Servlets & JSP] - Re: getOutputStream() has already been called for this respo
This is the CmCommon_jsp.java that generated by JBOSS: package org.apache.jsp.protecteddoc.CM; | | import javax.servlet.*; | import javax.servlet.http.*; | import javax.servlet.jsp.*; | import com.fsc.util.web.Message; | import com.fsc.util.web.MessageManager; | import java.util.*; | | public final class CmCommon_jsp extends org.apache.jasper.runtime.HttpJspBase | implements org.apache.jasper.runtime.JspSourceDependent { | | private static java.util.Vector _jspx_dependants; | | public java.util.List getDependants() { | return _jspx_dependants; | } | | public void _jspService(HttpServletRequest request, HttpServletResponse response) | throws java.io.IOException, ServletException { | | JspFactory _jspxFactory = null; | PageContext pageContext = null; | HttpSession session = null; | ServletContext application = null; | ServletConfig config = null; | JspWriter out = null; | Object page = this; | JspWriter _jspx_out = null; | PageContext _jspx_page_context = null; | | | try { | _jspxFactory = JspFactory.getDefaultFactory(); | response.setContentType("text/html"); | pageContext = _jspxFactory.getPageContext(this, request, response, | null, true, 8192, true); | _jspx_page_context = pageContext; | application = pageContext.getServletContext(); | config = pageContext.getServletConfig(); | session = pageContext.getSession(); | out = pageContext.getOut(); | _jspx_out = out; | | out.write("\r\n"); | out.write("\r\n"); | out.write("\r\n"); | Message msg = MessageManager.getMessages(request); | String info = null; | StringBuffer infoResults = new StringBuffer(); | StringBuffer warnResults = new StringBuffer(); | StringBuffer errorResults = new StringBuffer(); | StringBuffer confirmResults = new StringBuffer(); | if(msg != null){ |Collection cInfoMsg = msg.getMessages(msg.INFO); |if (cInfoMsg.size() > 0) { | Iterator iter = cInfoMsg.iterator(); | while (iter.hasNext()) { | Object item = iter.next(); | //results.append("- " + WebUtilities.toJavaScript(item.toString()) + "\\n"); | infoResults.append("- " + item.toString() + "\\n"); | } |} |Collection cWarnMsg = msg.getMessages(msg.WARNING); |if (cWarnMsg.size() > 0) { | Iterator iter = cWarnMsg.iterator(); | while (iter.hasNext()) { | Object item = iter.next(); | warnResults.append("- " + item.toString() + "\\n"); | } |} |Collection cErrorMsg = msg.getMessages(msg.ERROR); |if (cErrorMsg.size() > 0) { | Iterator iter = cErrorMsg.iterator(); | while (iter.hasNext()) { | Object item = iter.next(); | errorResults.append("- " + item.toString() + "\\n"); | } |} |Collection cConfirmMsg = msg.getMessages(msg.CONFIRM); |if (cConfirmMsg.size() > 0) { | Iterator iter = cConfirmMsg.iterator(); | while (iter.hasNext()) { | Object item = iter.next(); | confirmResults.append("- " + item.toString() + "\\n"); | } |} | } | out.write("\r\n"); | out.write(" \r\n"); | out.write(" var info = \""); | out.print(infoResults); | out.write("\";\r\n"); | out.write(" if(info != \"\")\r\n"); | out.write(" {\r\n"); | out.write("alert(\"Information : \\n\" + \""); | out.print(infoResults.toString()); | out.write("\");\r\n"); | out.write(" } \r\n"); | out.write(" var warn = \""); | out.print(warnResults); | out.write("\";\r\n"); | out.write(" if(warn != \"\")\r\n"); | out.write(" {\r\n"); | out.write("alert(\"Warning : \\n\" + \""); | out.print(warnResults.toString()); | out.write("\");\r\n"); | out.write(" } \r\n"); | out.write(" var error = \""); | out.print(errorResults); | out.write("\";\r\n"); | out.write(" if(error != \"\")\r\n"); | out.write(" {\r\n"); | out.write("alert(\"Error : \\n\" + \""); | out.print(errorResults.toString()); | out.write("\");\r\n"); | out.write(" } \r\n"); | out.write(" var cfm = \""); | out.print(confirmResults); | out.write("\";\r\n"); | out.write(" if(cfm != \"\")\r\n"); | out.write(" {\r\n"); | out.write("if(confirm(cfm)){\r\n"); | out.write(" var formName = \""); | out.print(request.getAttribute(Message.FORM_KEY_YES)); | out.write("\";\r\n"); | out.write(" var action = \""); | out.print(request.getAttribute(Message.ACTION_KEY_YES)); | out.write("\";\r\n");
[JBoss-user] [HTTPD, Servlets & JSP] - Re: getOutputStream() has already been called for this respo
"alexcheong" wrote : Hi Tony, | | Thanks for your valuable information. | | But those screens that encountered the problem didn't have the <% %> | tag. | | Please advise to resolve this deployment issue where it doesn't heppen in Oracle embedded OC4J Server. | I really keen to using JBOSS application Server for my project. | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858878#3858878 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858878 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: getOutputStream() has already been called for this respo
Hi, Anyone know the root of this issue. I almost hit the same error whenever I load any page in my project. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858875#3858875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858875 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: getOutputStream() has already been called for this respo
Hi Tony, Thanks for your valuable information. But those screens that encountered the problem didn't have the <% %> tag. Please advise to resolve this deployment issue where it doesn't heppen in Oracle embedded OC4J Server. I really keen to using JBOSS application Server for my project. Source Code of Login.jsp | _defaultTZ()function login(){ |//alert("login"); |if(document.LoginForm.txtUserID.value == ""){ | alert("Please enter your User ID!"); | return; |} |if(document.LoginForm.txtPassword.value == ""){ | alert("Please enter your Password!"); | return; |} |if(document.LoginForm.drlLocation.value == ""){ | alert("Please choose a Location!"); | return; |} |document.LoginForm.action = "/Fisicien-ViewController-context-root/LoginMainAction.do?action=login" |document.LoginForm.submit(); |//submitForm('LoginForm',0,{'event':'login'}); | } | function goLogin(){ | if(window.event.keyCode == 13){ | window.event.keyCode = 0; | login(); | } | } | function clearForm(){ | document.LoginForm.txtUserID.value = ""; | document.LoginForm.txtPassword.value = ""; | document.LoginForm.drlLocation.value = "0" | }var _cachedLibs;var _tURL="/Fisicien-ViewController-context-root/cabo/images/t.gif";var _axm=1;t('10','2')http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902";>t('10','10')http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902";>t(20,1)User IDt('12','0')t(20,1)t('10','10')t(20,1)Passwordt('12','0')t(20,1)t('10','10')t(20,1)Locationt('12','0')-None-ACCOUNTS DEPARTMENTADMISSION COUNTERBUSINESS OFFICECASHIER COUNTER NO.1CASHIER COUNTER NO.2CASHIER COUNTER NO.3CASHIER COUNTER NO.4CASHIER COUNTER NO.5CASHIER COUNTER NO.6CASHIER COUNTER- BACK OFFICECATH LABCLEFT CLINICCONTRAST EXAMINATIONCONTROL GEN X-RAY2CORONARY CARE UNITCSSDCT SCANDAY CARE UNITDELIVERY SUITESDIETICIANDOPPLER ULTRASOUND(IM-DUS)EMERGENCY DEPARTMENTENDOSCOPYEXECUTIVE HEALTH SCREENINGFLUROSCOPY CONTROL ROOMFOOD & BEVERAGE STOREFOOD & BEVERAGE-COFFEE HOUSEFOOD & BEVERAGE-STAFF CANTEENHAEMODIALYSISHAND & MIRCROSURGERY UNITHIGH DEPENDENCY UNITHPI AUDITORIUMIMAGING RECEPTION COUNTER AINTENSIVE CARE UNITIVF CLINICIVULABORATORYLABORATORY OUTPATIENTLABORATORY-ALLERGYLITHOTRIPSYMAMMOGRAPHYMDC ESPAMDC ESPBMEDICAL DEPARTMENTMEDICAL RECORDMIS DEPARTMENTMM DEPT - CONSIGNMENTMM DEPT - MEDICAL STOREMM DEPT - PURCHASINGMM DEPT - RETURN STOCKMOB-GFMOB1MOB10MOB11MOB12MOB13MOB14MOB15MOB16MOB17MOB2MOB3MOB5MOB6MOB7MOB8MOB9MRINEURO DIAGNOSTICNURSERYONCOLOGYOPERATING ROOM 5OPERATING THEATREOPERATION ROOMOPERATION ROOM 1OPERATION ROOM 2OPERATION ROOM 3PATIENT ADMINISTRATIONPHARMACY CONSIGNMENTPHARMACY INPATIENTPHARMACY OUTPATIENTPHARMACY PURCHASINGPHARMACY RETAILPHARMACY STOREPHYSIO 1PHYSIO 2PHYSIO 3PHYSIO 4PHYSIO 5PROCEDURE ROOM 1PROCEDURE ROOM 2PROCEDURE ROOM 3PROCEDURE ROOM 5PROCEDURE ROOM 6RADIOLOGY DEPARTMENTREHABILITATIONSINAR JERNEHSPEECH THERAPY KLSUITE 52-SPEECH THERAPISTTELEMEDICINEULTRASOUNDWARD A2WARD B2WARD C4 (OBSTETRIC & GYNAE)WARD C7 (EXECUTIVE WARD)WARD D2 (ADULT - SURGICAL)WARD D3 (MEDICAL WARD)WMB2-2819WMB2-2821WMB2-2822WMB2-2822VWMB2-2824WMB2-2826WMB2-2830WMB2-2832WMB2-2841WOMEN&CHILDREN RESOURCE UNITt(20,1)t('10','10')t('100','10')(Forgot Password?)t('10','10')t('80','10')t('10','1')t('10','1')t('10','4')Fisicien e-Health System is a regional health systemsprovider focused on increasing competitiveness andquality services of health systems.t('10','10')t('10','10')function _LoginFormValidater(form){return true;}function _submitOnEnter(e,frm){return (_getKC(e)!=13);}_submitFormCheck(); | JBOSS Log during screen loading 16:17:50,609 ERROR [Engine] ApplicationDispatcher[/Fisicien-ViewController-context-root] S | ervlet.service() for servlet jsp threw exception | java.lang.IllegalStateException: getOutputStream() has already been called for this respon | se | at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599) | at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.j | ava:163) | at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) | | at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122) | at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWrit
[JBoss-user] [HTTPD, Servlets & JSP] - Re: getOutputStream() has already been called for this respo
Following is the reply from Oracle MetaLink: | ISSUE CLARIFICATION | | | Hello, | | You say that the Application does not run on the JBoss 3.2.7 RC1, but it works on the Embedded OC4J. To star | t with JBoss 3.2.x is not J2EE 1.3, compatible which causes this to be an unsupp | orted configuration, see Notes section 8 in: | http://www.oracle.com/technology/products/jdev/collateral/papers/10g/as_supportmatrix.html | | However, there are a few things we can assist you with regarding this problem. Firstly, 3.2.7 is a RC v | ersion. You should try to see if it works in a stable version of JBoss first, li | ke 3.2.6. | | Secondly, if I look at the stack trace and the error message you see: | java.lang.IllegalStateException: getOutputStream() has already been called for | this response | | According to the API this is expected if the response Object has already been assigned to a Writer / Output Stream. | | If I look at the rest of the stack trace, the lines: | org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599) | at | org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163) | at | javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) | . | . | might indicate that the getWriter() has already been called upon in the ServletResponseWrapper class fo | r the same response object, if so there is a bug in JBoss/Tomcat. There is no su | ch calls from the UIX layer to the response object in the stack trace. | | Best Regards, | Stellan Aspenstrom - Oracle Support | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858800#3858800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858800 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - getOutputStream() has already been called for this respose.
Hi Guru, My project was developed by using JDeveloper10g. I have deployed the EAR file to jboss-3.2.7RC1 and the login screen works well. But after login to my mainpage and whenever I call a action class will hit following exception. | 17:06:32,703 ERROR [Engine] ApplicationDispatcher[/Fisicien-ViewController-context-root] S | ervlet.service() for servlet uix threw exception | java.lang.IllegalStateException: getOutputStream() has already been called for this respon | se | at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599) | at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.j | ava:163) | at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) | | at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122) | at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115) | at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:182) | at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryI | mpl.java:115) | at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java | :75) | at org.apache.jsp.protecteddoc.CM.CmCommon_jsp._jspService(CmCommon_jsp.java:204) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) | | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. | java:590) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja | va:510) | at oracle.cabo.ui.laf.base.RequestDispatcherIncluder.includeByPath(Unknown Source) | | at oracle.cabo.ui.laf.base.ServletIncludeRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) | at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source) | at oracle.cabo.ui.BaseRenderer.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.ui.BaseUINode.render(Unknown Source) | at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source) | at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source) | at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) | at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil | terChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain | .java:157) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav | a:704) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispat | cher.j
[JBoss-user] [JCA/JBoss] - Re: Unable to lookup Data Source in JBOSS. Pls Help!!!
It there a way not to use the prefix java:/ to look up for the data source? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856997#3856997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856997 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Unable to lookup Data Source in JBOSS. Pls Help!!!
Thanks for reply. I have too many EJB Modules in my application. Is there any method that I can map the data source in JBOSS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856988#3856988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856988 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Unable to lookup Data Source in JBOSS. Pls Help!!!
Hi Guru, I have the below problem while configuring the datasource in JBOSS for oracle pls any body can help me out.. My oracle-ds.xml code is like as below | | jdbc/FisicienCoreDS | jdbc:oracle:thin:@172.16.84.99:1521:Fisicien | oracle.jdbc.driver.OracleDriver | fisicien | zxcvbnm | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | The error i am getting wasl like as below 23:55:16,328 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for | servlet action threw exception | JBO-30003: The application pool (com.fsc.model.am.bo.BoAMLocal) failed to checko | ut an application module due to the following exception: | oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboE | xception, msg=JBO-27200: JNDI failure. Unable to lookup Data Source at context j | dbc/FisicienCoreDS | at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPo | olImpl.java:1743) | at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(App | licationPoolImpl.java:2576) | at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(Sessi | onCookieImpl.java:441) | at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessio | nCookieImpl.java:230) | at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(Sessi | onCookieImpl.java:411) | at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(Sessi | onCookieImpl.java:406) | at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJbo | DataControl.java:1255) | at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl. | java:1172) | at oracle.adf.model.servlet.ADFBindingFilter.invokeBeginRequest(ADFBindi | ngFilter.java:265) | at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j | ava:223) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav | a:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard | ContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc | ipalValve.java:66) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:162) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav | a:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav | a:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:109) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv | eContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav | a:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16 | 0) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :799) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce | ssConnection(Http11Protocol.java:
[JBoss-user] [EJB/JBoss] - Re: JDev10g EJBJAR Deployment Error!!! Please help!!!
It's works!!! Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856812#3856812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856812 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JDev10g EJBJAR Deployment Error!!! Please help!!!
Thanks for reply. I had put in the throws CreateException, EJBException, SQLException but still same error happening. Error log: 01:11:25,265 WARN [verifier] EJB spec violation: | Bean : Cmsequence | Method : public String ejbCreate(CmsequenceLocalDTO) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 01:11:25,265 WARN [verifier] EJB spec violation: | Bean : Cmsequence | Method : public String ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 01:11:25,281 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.7RC1/server/default/tmp/deploy/tmp43010ViewControllerEAR.ear-contents/ModelCmE | JBJAR.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile | d, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. | java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen | tScanner.java:304) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS | canner.java:478) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | loop(AbstractDeploymentScanner.java:212) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | run(AbstractDeploymentScanner.java:191) | 01:11:25,281 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.7RC1/server/default/deploy/ViewControllerEAR.ear | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile | d, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. | java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen | tScanner.java:304) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS | canner.java:478) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | loop(AbstractDeploymentScanner.java:212) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | run(AbstractDeploymentScanner.java:191) | 01:17:42,015 INFO [EJBDeployer] Undeploying: file:/C:/jboss-3.2.7RC1/server/def | ault/tmp/d
[JBoss-user] [EJB/JBoss] - JDev10g EJBJAR Deployment Error!!! Please help!!!
Hi, I want to deploy the sample CMP EJBs on my JBoss server. But JBoss writes the following error occurs. Does anyone knows what cause this ? 00:33:10,562 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.7RC1/ | server/default/deploy/ModelCmEJBJAR.ear | 00:33:12,125 WARN [verifier] EJB spec violation: | Bean : Cmsequence | Method : public String ejbCreate(String, Long, Long, Long, Long, Timestamp) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 00:33:12,125 WARN [verifier] EJB spec violation: | Bean : Cmsequence | Method : public String ejbCreate(CmsequenceLocalDTO) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 00:33:12,125 WARN [verifier] EJB spec violation: | Bean : Cmsequence | Method : public String ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 00:33:12,125 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.7RC1/server/default/tmp/deploy/tmp45739ModelCmEJBJAR.ear-contents/ModelCmEJBJA | R.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile | d, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. | java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen | tScanner.java:304) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS | canner.java:460) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | loop(AbstractDeploymentScanner.java:212) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | run(AbstractDeploymentScanner.java:191) | 00:33:12,125 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.7RC1/server/default/deploy/ModelCmEJBJAR.ear | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile | d, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. | java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen | tScanner.java:304) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS | canner.java:460) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | doScan(Abstr