[JBoss-user] [Clustering/JBoss] - Re: Data file synchronization
THX~~ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952859#3952859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952859 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Data file synchronization
Dear all, I am using JBoss 4.0.3sp1 . I have some applications that need to read some xml files in the server. In two nodes, there have 2 set of xml files. I want that if I change the file in 1 node, the other node can also change its local copy. I know I can put in farm directory, but there are 2 problems. First is only the file in farm would be synchronize, the file in the sub-directory of farm would not be updated. Second, there are periodically logging message that indicate the xml files do not have deployer. (So I think it is not the correct approach to put the xml files in farm directory) I wonder how can I sybchronize my xml files. Can anyone help? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952210#3952210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952210 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Question on JBoss Portal in cluster
Dear all, JBoss 4.0.3ps1 + JBoss Portal 2.2.1sp1 In my cluster, there are 2 nodes. When I start JBoss in node A, I can view the Portal and login. When I start JBoss in node B, I can also view the Portal, however, it is directed to the login page instead of the default page. When I login with admin/admin, it has error:HTTP Status 401. But interestingly, if I login with a wrong login username or password, it can detect my login is incorrect. It means it can know whether my login is correct but can't direct to the default page, do anyone know why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950767#3950767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950767 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Clustering auto-discovery -- TCP
Dear all, JBoss-4.0.3sp1 + JBoss Portal I want to use TCP instead of UDP in clustering because my company's restriction. Can anyone help me on the following? In cluster-server.xml, I set the flag to true to disable udp auto discovery : !-- A flag to disable the auto discovery via multicast -- true However, when starting JBoss, exceptions throws: - --- MBeans waiting for other MBeans --- ObjectName: jboss:service=nggcluster State: FAILED Reason: ChannelException: java.lang.Exception: exception caused by TCP.start(): java.lang.IllegalArgumentException: Port value out of range: 65536 I Depend On: jboss:service=Naming Depends On Me: jboss:service=HASessionState jboss:service=HAJNDI jboss.cache:service=InvalidationBridge,type=JavaGroups jboss.ha:service=HASingletonDeployer jboss:partition=nggcluster,service=FarmMember ObjectName: jboss.ha:service=HASingletonDeployer State: CONFIGURED I Depend On: jboss:service=nggcluster jboss.system:service=MainDeployer ObjectName: jboss:partition=nggcluster,service=FarmMember State: CONFIGURED I Depend On: jboss:service=nggcluster jboss.web:service=WebServer jboss.system:service=MainDeployer --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=nggcluster State: FAILED Reason: ChannelException: java.lang.Exception: exception caused by TCP.start(): java.lang.IllegalArgumentException: Port value out of range: 65536 I Depend On: jboss:service=Naming Depends On Me: jboss:service=HASessionState jboss:service=HAJNDI jboss.cache:service=InvalidationBridge,type=JavaGroups jboss.ha:service=HASingletonDeployer jboss:partition=nggcluster,service=FarmMember Details: -- 2006-06-12 13:55:16,211 INFO [org.jboss.ha.framework.interfaces.HAPartition.nggcluster] Initializing 2006-06-12 13:55:26,463 ERROR [org.jgroups.JChannel] exception: java.lang.Exception: exception caused by TCP.start(): java.lang.IllegalArgumentException: Port value out of range: 65536 2006-06-12 13:55:26,467 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=nggcluster ChannelException: java.lang.Exception: exception caused by TCP.start(): java.lang.IllegalArgumentException: Port value out of range: 65536 at org.jgroups.JChannel.connect(JChannel.java:328) at org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:298) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java(Inlined Compiled Code)) at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code)) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code)) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java(Inlined Compiled Code)) at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code)) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code)) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java(Compiled Code)) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[JBoss-user] [JBoss Portal] - JBoss Portal Cluster :Can use TCP?
Dear all, JBoss 4.0.3sp1 + JBoss Portal 2.2.1 In my cluster, when I point to server A in IE(e.g. http://altair:8180/portal), it can show the default portal page and can login to the portal. But when I point to server B, it shows the login page of the portal, when I input admin/admin, it has exception. When I view the server.log, it periodically shows 2006-06-12 11:23:06,247 WARN [org.jgroups.protocols.UDP] discarded message from different group (portal.hibernate). Sender was altair:55944 where altair is the server DNS name. --- I think that it is related to the so cluster setting. So I view the jboss-service.xml in portal-cms.sar/META-INF java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=${jboss.bind.address:localhost}:1100 jnp.disableDiscovery=false jnp.partitionName=${jboss.partition.name:DefaultPartition} jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4} jnp.discoveryPort=1102 jnp.discoveryTTL=16 jnp.discoveryTimeout=5000 jnp.maxRetries=1 Does it mean using UDP for the communication within the cluster? In my company, we cannot use UDP, only TCP is allow, so how can I set to TCP? Please help!! Many thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950350#3950350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950350 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss Portal on Cluster
I have build portal for the source, it works fine to Start JBoss. So it means the guidline of manual setup for the binary may miss some of the setting. Thanks for the advise. (But it seems the portal use UDP to communicate between node, My compant is restricted to use UDP, I don't know how to use TCP instead, I have posted in a new thread.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950352#3950352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950352 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss Portal on Cluster
Dear all, JBoss-4.0.3 + JBoss Portal 2.2.1 I want to run JBoss Portal in cluster. I have set all the xml files as shown in the JBoss Portal document site to support clustering. However, when I start the server, there are many exceptions. I guess it is related to HASingleton, but I didn't what is happening, can anyone help me?? The log is shown below: - 2006-06-09 11:35:56,374 INFO [org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager] HibernateSessionFactory Created. 2006-06-09 11:35:57,570 INFO [org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService] Repository 'repotest' created 2006-06-09 11:35:57,604 INFO [org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService] The repository does not know about CMS node types 2006-06-09 11:35:57,605 INFO [org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService] Creating CMS nodeTypes. 2006-06-09 11:35:57,792 ERROR [org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager] Unable to index new nodetype: javax.jcr.ItemNotFoundException 2006-06-09 11:35:57,863 ERROR [org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager] Unable to index new nodetype: javax.jcr.ItemNotFoundException 2006-06-09 11:35:57,937 ERROR [org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager] Unable to index new nodetype: javax.jcr.ItemNotFoundException 2006-06-09 11:35:57,938 INFO [org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService] Custom CMS nodeTypes registered. 2006-06-09 11:35:57,955 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating default CMS content. 2006-06-09 11:35:57,978 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating folder /default 2006-06-09 11:35:58,139 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating folder /default/images 2006-06-09 11:35:58,284 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/images/back.gif 2006-06-09 11:36:01,252 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/images/check.gif 2006-06-09 11:36:03,889 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/images/jboss_logo.gif 2006-06-09 11:36:06,732 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/images/plugin.gif 2006-06-09 11:36:08,824 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/images/project.gif 2006-06-09 11:36:10,340 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/images/support.gif 2006-06-09 11:36:11,587 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/index.html 2006-06-09 11:36:13,081 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/project.html 2006-06-09 11:36:14,149 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Creating file /default/support.html 2006-06-09 11:36:16,031 INFO [org.jboss.portal.cms.impl.jcr.JCRCMS] Default content created. 2006-06-09 11:36:16,074 INFO [STDOUT] java.lang.IllegalArgumentException: Unable to find operation startSingleton() 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java(Compiled Code)) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code)) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java(Compiled Code)) 2006-06-09 11:36:16,076 INFO [STDOUT] at $Proxy56.startSingleton(Unknown Source) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.portal.cms.ha.HASingletonInvoker.startSingleton(HASingletonInvoker.java:199) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.ha.singleton.HASingletonSupport.makeThisNodeMaster(HASingletonSupport.java:141) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.ha.singleton.HASingletonSupport.partitionTopologyChanged(HASingletonSupport.java:118) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceMBeanSupport.java:198) 2006-06-09 11:36:16,076 INFO [STDOUT] at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.notifyKeyListeners(DistributedReplicantManagerImpl.java:721) 2006-06-09 11:36:16,077 INFO [STDOUT] at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.add(DistributedReplicantManagerImpl.java:350) 2006-06-09 11:36:16,077 INFO [STDOUT] at org.jboss.ha.jmx.HAServiceMBeanSupport.registerDRMListener(HAServiceMBeanSupport.java:205) 2006-06-09 11:36:16,077 INFO [STDOUT] at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:145) 2006-06-09 11:36:16,077 INFO [STDOUT] at org.jboss.portal.cms.ha.HASingletonInvoker.startService(HASingletonInvoker.java:184) 2006-06-09 11:36:16,077 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) 2006-06-09 11:36:16,077 INFO [STDOUT] at
[JBoss-user] [JBoss Portal] - [Help] JBoss Portal Roles and Users
Dear All, Platform: JBoss 4.0.3sp1 + JBoss Portal 2.2.1 Database for portal: Oracle When I use JBoss Portal 2.2.0, after login as admin role, it will have a List all user link in User portlet, However, after upgrading to Portal 2.2.1, this link disappeared. Can anyone help me to show it as I need to use it to edit the roles of the users. On the other hand, In Portal 2.2.0, By default, the role portlet is disabled (in the xml file, the portlet has commented), I have tried to uncomment it, and the role portlet can be shown, But in Portal 2.2.1, although I have done the same things, the role portlet doesn't show. (The only different setting between 2.2.0 and 2.2.1 is the database, I use hsqldb in 2.2.0, but use oracle in 2.2.1), Is it a bug in 2.2.1? I need those portlet in urgent, can anyone give me a hand? Thank you very much! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945051#3945051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945051 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Disable create user
Dear all, Platform: JBoss 4.0.3 sp1 + JBoss Portal 2.2.1 In the User Portlet, there is an message : Don't have an account yet? You can create one How can I disable it? Because I don't want to let the guest to create accouts. On the other hand, I see a table to log the user last login time, but will the portal log the user last logout time? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944153#3944153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944153 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss Portal Concurrent login
Dear All, Platform: JBoss 4.0.3-sp1 + JBoss Portal 2.2.1 I am using Oracle DB for JBoss Portal, I found that JBoss Portal allow concurrent login , How can I ensure that 1 single account only allow 1 user to login at a time but not at the same time, 2 users use the same account? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944456#3944456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944456 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question
I am the core deveper of my portal. I have commited the changed and everything work fine. For more detail. In the JSP page, you should have a form like : input type=file .. In the portlet corresponding .java public void processAction(JBossActionRequest aReq, JBossActionResponse aRes) throws PortletException { // Prepare for processing the uploaded file DiskFileItemFactory factory = new DiskFileItemFactory(); PortletFileUpload upload = new PortletFileUpload(factory); // TODO: configure uploader // Check if the upload content is ENCTYPE=multipart/form-data in the submitted form if (upload.isMultipartContent(aReq)) { logger.info(this.getClass().getName() + : isMultiPart = true); List fileItems = upload.parseRequest(aReq); Iterator itr = fileItems.iterator(); while (itr.hasNext()) { FileItem item = (FileItem) itr.next(); // check if the current item is a form field or an uploaded file if (!item.isFormField()) { logger.info(this.getClass().getName() + :Start processing the uploaded file); sFilename = item.getName(); logger.info(this.getClass().getName() + : Filename = + sFilename); logger.info(this.getClass().getName() + : contentType = + item.getContentType()); logger.info(this.getClass().getName() + : isInMemory = + item.isInMemory()); logger.info(this.getClass().getName() + : sizeInBytes = + item.getSize()); if (item.getSize()==0){ logger.info(this.getClass().getName() + No file selected ); return; } //-- Get the inputStream of the uploaded file is = item.getInputStream(); } else { String fieldName = item.getFieldName(); if (extractor_type.equals(fieldName)) { extractor_type = item.getString(); } if (isRWKP.equals(fieldName)){ isRWKP = item.getString(); } logger.info(this.getClass().getName() + : fieldName : + fieldName); logger.info(this.getClass().getName() + : extractor_type : + extractor_type); logger.info(this.getClass().getName() + : isRWKP : + isRWKP); } } // End while itr.hasNext() logger.info(this.getClass().getName() + : InputeStream is.length = + is.available()); //* Call method extractByLOCAL extractByLOCAL(extractor_type, is, sFilename, isRWKP); } // End if isMultipart }// End processAction() The above code is what I implemented. If you have any question , you can post again. In the future, I may have questions that need you for help... ^^ my msn is [EMAIL PROTECTED] you can add me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933325#3933325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933325 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question
you can read the code for JBos portal 2.2 source code \jboss-portal-2.2.0-src\core\src\main\org\jboss\portal\core\portlet\cms\admin\CMSAdminPortlet.java Method processAction() for op=UPLOAD_CONTENT you can also see cms in the portal interface in the IE In the JSP, use actioNURL instead of renderURL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3933052#3933052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933052 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: [HELP] File Upload Question
I have fixed the problem. In JBoss Portal 2.2 . It has implement the commons-fileupload.jar. The only thing is to call u . In the jsp, Use ActionURL In the portlet core, it will call processAction method. You can take a reference of the code in JBoss portal 2.2 cms portlet. Thx! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932648#3932648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932648 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss 4.0.2 +JBoss Portal- You cannot set autocommit during
Dear all, JBoss 4.0.2 + JBoss Portal + Oracle When I use JBoss Portal (localhost:8080/portal) to call my portlet to do some database access in my JAVA class, it will connect to Oracle database and run the statement ?connection.setAutoCommit(false)?( Because I may need rollback). When I call this statement, there is an error occur as the following: *** java.sql.SQLException: You cannot set autocommit during a managed transaction! at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWrapperManagedConnection.java:462) at org.jboss.resource.adapter.jdbc.WrappedConnection.setAutoCommit(WrappedConnection.java:432) *** Could any one help to suggest some solution? If you want to get more detail. Please ask me ! Thank you! Remarks: In JBoss, I have oracle-xa-ds.xml in the deploy folder for setting of oracle. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929971#3929971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929971 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user