JDOUserExceptions and JBoss commits
Using Kodo and JBoss quite a few of my mistakes are detected at commit
time, causing Kodo to throw a JDOUserException. This is caught and
hidden by jboss, resulting in a stack trace of the sort shown below.
I can view the JDOUserException by catching it in my debugger (Eclipse),
but I'd also like to log it somehow.
Is there a way of logging every JDOUserException?
javax.transaction.RollbackException Unable to commit, tx=XidImpl
[FormatId=257, GlobalId=QUADROPHENIA//309, BranchQual=]
status=STATUS_ROLLEDBACK Stack Trace:
* org.jboss.tm.TxCapsule.commit(TxCapsule.java:393)
* org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73)
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:201)
* org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
Thanks,
Tom
Using Kodo and JBoss quite a few of my mistakes are detected at commit
time, causing Kodo to throw a JDOUserException. This is caught and
hidden by jboss, resulting in a stack trace of the sort shown below.
I can view the JDOUserException by catching it in my debugger (Eclipse),
but I'd also like to log it somehow.
Is there a way of logging every JDOUserException?
javax.transaction.RollbackException Unable to commit, tx=XidImpl
[FormatId=257, GlobalId=QUADROPHENIA//309, BranchQual=]
status=STATUS_ROLLEDBACK Stack Trace:
* org.jboss.tm.TxCapsule.commit(TxCapsule.java:393)
* org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73)
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:201)
* org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
Thanks,
Tom
Similar Messages
-
Building the mod_jk between apche and jboss in solaris environment
hi there,
i have installed apache2 and running on one zone and jboss installed and running on another zone
now when i connecting of them using the tomcat connector by building the mod_jk i am getting the error where i have followed the procedure in the following link:
http://blogs.sun.com/shanti/entry/building_mod_jk
from the above link i have downloaded the source and set the path and then when i am running the file which i have saved then i am getting the below error:
./configure --with-apxs=/usr/local/apache2/bin/apxs
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install... scripts/build/unix/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for test... /usr/bin/test
checking for rm... /usr/bin/rm
checking for grep... /usr/bin/grep
checking for echo... /usr/bin/echo
checking for sed... /usr/bin/sed
checking for cp... /usr/bin/cp
checking for mkdir... /usr/bin/mkdir
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
could not find /usr/local/apache2/bin/apxs
configure: error: You must specify a valid --with-apxs path
if any body has encountered such a problem please give me the reply
thank you for allhi o.bogosavljevic
yes i am using that package only
what might be the path of the aspx -
How to compile jsp project on the plateform of Myeclipse and jboss
hi
I m new in jboss application server with myeclipse plateform.
im unable to solve this error.which are occured doring the starting of server in my eclipse.
the error is:-----
13:12:41,484 INFO [Server] Starting JBoss (MX MicroKernel)...
13:12:41,500 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
13:12:41,515 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.4.GA
13:12:41,515 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.4.GA/
13:12:41,515 INFO [Server] Patch URL: null
13:12:41,515 INFO [Server] Server Name: default
13:12:41,515 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.4.GA\server\default
13:12:41,515 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.4.GA/server/default/
13:12:41,531 INFO [Server] Server Log Dir: C:\Program Files\jboss-4.0.4.GA\server\default\log
13:12:41,531 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.4.GA\server\default\tmp
13:12:41,531 INFO [Server] Root Deployment Filename: jboss-service.xml
13:12:44,015 INFO [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc.
13:12:44,015 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc.
13:12:44,015 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
13:12:45,750 INFO [Server] Core system initialized
13:12:55,515 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
13:13:09,218 INFO [WebService] Using RMI server codebase: http://shabrez:8083/
13:13:19,578 INFO [MailService] Mail Service bound to java:/Mail
13:13:20,484 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
13:13:20,718 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
13:13:25,109 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000D8000102000000000E3139322E3136382E302E313331000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000010000000E3139322E3136382E302E313331000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
13:13:25,812 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000D8000102000000000E3139322E3136382E302E313331000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005000000000000000010000000000000024000000200000007E00000000000000010000000E3139322E3136382E302E313331000DC9000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
13:13:27,875 INFO [Embedded] Catalina naming disabled
13:13:28,140 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
13:13:28,140 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
13:13:29,390 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
13:13:29,390 INFO [Catalina] Initialization processed in 1250 ms
13:13:29,406 INFO [StandardService] Starting service jboss.web
13:13:29,406 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
13:13:29,562 INFO [StandardHost] XML validation disabled
13:13:29,640 INFO [Catalina] Server startup in 250 ms
13:13:30,671 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
13:13:31,906 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
13:13:33,515 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
13:13:34,015 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp13610jbossws-exp.war/
13:13:34,531 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:13:35,359 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:13:39,453 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
13:13:39,593 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
13:13:39,687 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
13:13:39,781 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
13:13:39,906 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
13:13:40,031 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
13:13:44,234 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:DefaultDS'
13:13:45,640 INFO [A] Bound to JNDI name: queue/A
13:13:45,656 INFO Bound to JNDI name: queue/B
13:13:45,656 INFO [C] Bound to JNDI name: queue/C
13:13:45,656 INFO [D] Bound to JNDI name: queue/D
13:13:45,656 INFO [ex] Bound to JNDI name: queue/ex
13:13:45,718 INFO [testTopic] Bound to JNDI name: topic/testTopic
13:13:45,734 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
13:13:45,734 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
13:13:45,750 INFO [testQueue] Bound to JNDI name: queue/testQueue
13:13:46,000 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
13:13:46,140 INFO [DLQ] Bound to JNDI name: queue/DLQ
13:13:46,609 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
13:13:46,750 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/helloword.war/
java.lang.UnsupportedClassVersionError: com/jbosstest/testJboss (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:151)
at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:101)
at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy41.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:534)
13:13:47,000 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
13:13:47,625 INFO [TomcatDeployer] deploy, ctxPath=/testproject, warUrl=.../deploy/testproject.war/
13:13:48,578 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@abba8a12 { url=file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/helloword.war/ }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: com/jbosstest/testJboss (Unsupported major.minor version 49.0)
state: FAILED
watch: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/helloword.war/WEB-INF/web.xml
altDD: null
lastDeployed: 1148111026703
lastModified: 1147940958000
mbeans:
13:13:48,796 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
13:13:49,125 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
13:13:49,312 INFO [JkMain] Jk running ID=0 time=0/328 config=null
13:13:49,328 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 1m:7s:797ms
plz send me the solution of this error.
Thanks.I m new in jboss application server with myeclipse plateform.
im unable to solve this error.which are occured doring the starting of server in my eclipse.
How to compile jsp project on the plateform of Myeclipse and jboss
hi :-) this is not eclipse forum and not that sure about your problem but i'll try to answer :-)
i'm not sure how you create your war but there something wrong with your web.xml. kindly check it :-)
by d way, you can deploy your project in my-eclipse by
- right click on the project then select my-eclipse > Add and Remove Project Deployment's
- a new window will open and you can now configure how you deploy your project :-)
other alternative edit your jboss-service.xml then put something like this
<attribute name="URLs">deploy/, file:/D:/workspace/deploy</attribute>
(note, change the path according to your needs)
regards, -
Hello! I'm not that new to web programming in Java but there are some things that I think I need to fully understand. Can anyone here give me a comparison between Tomcat and JBoss? What are the similarities and key differences between the two? Tomcat is a servlet container while JBoss is an application container(?? not sure about that, still haven't read enough about it).
Thanks in advance,
RomaineHi Romaine,
Tomcat is not only a servelet container...its actually the webserver which is a servlet container and jsp engine as well.
Where as JBOSS is one of the application servers where it provides the run time environment for the business components( the ejbs) in addition to the support environment for servlets and jsps.
examples of application servers: JBOSS, WEBLOGIC, WEBSPHERE -
Transaction Isolation level in WebSphere and JBOSS???
Hi,
How to set up the transaction isolation level in Websphere and JBOSS???
In weblogic, we can set it in weblogic-ejb-jar.xml. Is there any other file where we can set the isolation level in websphere and jboss???
What is the difference between all the 4 isolation levels such as
1) Transaction_committed
2) Transaction_uncommitted
3)Transaction_Repeatable_read
4)Transaction_serializable
Thanks,
JavaCrazyLoverIn WebSphere 5.1 you can set the isolation level using resource reference. The following link describes the steps involved in this operation. I am not aware how to do the same thing in JBoss.
Regards,
Neo -
Integrate Adobe Flex and JBOSS using BlazeDS
I using this link http://simplyolaf.blogspot.com/2009/07/integrate-adobe-flex-and-jboss-using.html to create Flex Project for Blaze DS. I added the following arguments to the flex compiler: -services "F:/java_WS/iASCUE/WebContent/WEB-INF/flex/services-config.xml" . Can I define relate path? when I put my project on other server it don't work
Does anybody something know?
-
I'm trying to use JAAS to log in a user on a JBOSS app, but am running into a problem. I'm able to successfully authenticate the user, and retrieve a Subject from my LoginContext. However, once that request is done (i.e. the browser displays the "log in complete" page), the application seems to forget that the user was logged in. How does JAAS and JBOSS keep track of the logged in user? Is this done by keeping a singleton of LoginContext around in some scope? Right now I'm creating a new instance of LoginContext, and using it to load a new instance of my CallbackHandler. Note, when I used JBOSS default form based authentication, it kept the user logged in. However, I can't use their default auth because I have some custom things I need to do.
Thanks in advance for any help you provide.Hi,
I tested this on OC4J for you and here - after setting jbo.security.enforce to Must, the user principal name and the roles are displayed.
So there are three possibilities why you don't see things working
- JBoss doesn't add the role principals to the Subject so they become available in the session
- You attempt accessing this information in a prepareSession() override without enforcing authentication to happen for the root page - URL pattern = /
- ADF BC security doesn't recognize the custom role principal
After briefly reviewing the security implementation code, it seems that ADF BC security is dependent on Oracle JAZN for authorization.
Frank -
Weblogic.jar 9.2 and jboss
why when i put weblogic.jar in the jboss classpath or in my .war classpath = web-inf/lib all of its classes are class not found exception
is there a problem with this jar being inside jboss
if i take the same jar and run my application on eclipse everything works fine
but when i debug this problem and try to loader classes, they are not found
its like it being ignored and not loaded like the rest of my jars in the classpath.
is this got anything to do with security?
Edited by: user8709596 on Sep 6, 2009 4:23 AMfound a fix to this problem
weblogic.jar is a standalone jar
remove all javax folder from this jar and this solves the problem
and jboss will load the jar successfuly -
Clarrification about JSF and JBoss Seam
Hi ,
i have just started a couple of hours ago reading about JSF and JBoss Seam and it seems interesting ......
here is my question :
i have a form ( registration form ) written in jsp and a congratulation page (jsp page too)
is right what i am saying ?
JSF form ( input values) are sent to Seam to be validated under hibernate rules and then it( Seam ) responses to the JSF the entity bean .
again JSF form asks Seam to resolve the variable Register ( the value of the submit button in the form) and Seam returns the RegisterACtion
After that the same jsp page invoke the register method of the RegisterAction stateless session beam .inside the register method it redirect the user to congratulation jsp page .
do you think its correct
sorry folks for my english
Best reagrds
yacine fandior maybe if you can give a link of a good tutorial I�ll be greatfull
cheers yacine
Message was edited by:
fandi_yacine -
Can i use ICE Faces and JBoss RichFaces combinely in JSF
hi
I can use ICE Faces and JBoss RichFaces in Jsf.But my requirement is that can i use both(ICE Faces&JBoss RichFaces) components in single .jspx page.is that possible
plz tell me
regards
niranjanthanks for your reply
plz clarify what it means "JSF Implemetation".i.e for example can i place an Rich Face Component In ICEFaces Form
<ice:form>
<rfc:inputText/>
</ice:form>
because we have some components in IFaces and some in JBoss Rich Faces which are needed for our application.
Thanks & regards
nsanagari -
Hi, My company is currently trying to migrate from Weblogic to JBoss.
We have all the jar, war, and xml file.
However, I'm not familiar with all these.
Could someone explain to me what;s the appropriate things to do.
All i know is that putting the war or jar file in a certain directory on Weblogic would result in those files being deployed.
Would JBoss work the same way?
Can I just put these files and will it get deployed?
I have looked through the web and mostly what they're talking about is creating ejbs from scratch (and .ear file also new thing to me) ... which is too technical for me.
Can someone suggest a solution please.
I'm a newbie to this technology.
All help/reply would be a great help.
thanks in advance.Greetings,
Would JBoss work the same way?
Can I just put these files and will it get deployed?Yes, JBoss offers a similar deployment strategy. Presuming you are using JBoss 3.x and starting with default configuration you would place your components into ${JBOSS_HOME}/server/default/deploy and JBoss will auto-deploy them - er, assuming there are no errors in your components... ;) If there are errors then these will either be displayed on the console or in the 'console log' file depending on your startup strategy.
I have looked through the web and mostly what they're
talking about is creating ejbs from scratch (and .ear
file also new thing to me) ... which is too technical
for me.
Can someone suggest a solution please.
I'm a newbie to this technology.Where most of your difficulties are likely to play is in configuring your application's infrastructure - i.e. resources, security model, transactions, etc. Application Servers tend to differ quite a bit on such things (rather, on how to do them...), and JBoss is no exception. Furthermore, JBoss does not have a native GUI for these things which may complicate the matter even more. The best place to start for configuration issues is with the JBoss 3.0.x QuickStart Guide. This book-length guide provides a lot more detail on these matters than might be expected from typical "quick start" document and is available in PDF format for free from the JBoss site Documentation page. While you're there, it is worth-while to investigate the commercial documentation offerings on the same page...
All help/reply would be a great help.
thanks in advance.Regards,
Tony "Vee Schade" Cook -
Log4j and Jboss are acting weird
This question is reagards to Log4j and JBoss and I thought this is the best place to ask this question.
I am using Jboss 3.2.3. My purpose was to log messages in a seperate file "developer.log" using Log4j. These messages has to be logged in this file only. So in my WAR's folder under WEB-INF/classes I created a file log4j.properties:
log4j.logger.standard=DEBUG, devlog
log4j.appender.devlog=org.apache.log4j.RollingFileAppender
log4j.appender.devlog.File=C:/logs/developer.log
log4j.appender.devlog.layout=org.apache.log4j.PatternLayout
log4j.appender.devlog.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%nNow my code :
import org.apache.log4j.Logger;
private static Logger log = Logger.getLogger("standard");
log.debug("a debug message");
log.info("a info message");
log.warn("a war message");I test run this code without Jboss and it works perfect. It created a file "developer.log" in the desired location and logs messages in it.
Now i run with JBoss. JBoss does not create "developer.log" file at all. Instead it logs all the messages in server.log
2005-09-30 23:07:35,459 DEBUG [standard] a debug message
Jboss is recognizing that it is standard but after that it is not gving me the desired results. Any input on how to fix this problem?
TIAYou can tell it you don't want to inherit, by adding
this to your "standard" category tag:
<category name="standard" additivity="false">
thanks. it works perfect.
ok i got it working kind of. Jboss already comeswith
a log4j.xml so i put my log4j stuff in this file :You should be able to deploy your own log4j.xml with
your app's resource files and make it use yours when
it is running your app.Ok I took out my stuff from Jboss log4j.xml, create a new xml progtest.log4j.xml like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<appender name="DEVLOG" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="${jboss.server.home.dir}/log/developer.log" />
<param name="Append" value="true" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ABSOLUTE} %5p %c{1}:%L - %m%n" />
</layout>
</appender>
<category name="standard" additivity="false">
<priority value="INFO"/>
<appender-ref ref="DEVLOG" />
</category>
</log4j:configuration>My web application is in a ProgTest.WAR folder. I put the above file "progtest.log4j.xml" under WEB-INF/classes in ProgTest.WAR folder. When i run the app the very first problem again arises that no developer.log file was created; instead the concerned messages were put into server.log and console.
All my classes are in one jar file. I include progtest.log4j.xml in that jar file, redeploy it and test it but still the same problem.
What i am doing wrong here?
Thanks -
Install both Sun Application server and Jboss application server- Can I?
Dear all,
I am programmer and want to test for something.
Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?
Is there any special attention I need to take?I am programmer and want to test for something.Allowed.
Is it possible to install sun application server and jboss application server in the same computer (Windows XP Professional)?Why do you think it may not be possible ?
Is there any special attention I need to take?just the way the URL is populated. -
I have installed BPEL Process Manager 10.1.2.0.2 and JBoss 4.0.0..
I start BPEL Process Manager 10.1.2.0.2 and it is working perfectly. Then i start JBoss 4.0.0 and it does not work.
When i start firstly the JBoss 4.0.0 then it works, but when i am going to start BPEL Process Manager 10.1.2.0.2 then the last one is not working.
I wonder if there are any introperability problems. Please can anybody help me?did you install the bpel-jboss bundle? if so the start script will start a jboss instance .. and therefor the second one might not come up (port conflicts?)
-
Problems with Oracle Database 10g Express Edition and JBoss
Hi all,
I try to use Oracle Database 10g Express Edition and JBoss, but sometimes i have a connection problems.
Sometimes i have starnge warning:
WARN [JBossManagedConnectionPool] Unable to fill pool
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
and:
org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
Oracle Database 10g Express Edition support Distributed Transaction Processing (DTP) XA interface or not?
Some ideas?
Thanks in advance!
StoyanHi,
yes, it will work, but only with the Western European Edition, not the Unicode release.
See this thread for details:
Re: Connection error from SqlPlus 8.0 to Oracle XE in the same computer
Regards,
~Dietmar.
Maybe you are looking for
-
Problem installing Mac OSX 10.5 on new HDDc
Hello, I needed to replace my HDD and I'm trying to install Leopard on my new blank HDD. I have the install disk that came with my macbook, but it's not working. I insert the install disc and restart the macbook holding down the C key. It starts from
-
Iphone location how to turn on
How do i turn on the location for find phone?
-
I have an HP Envy dv7 and I just upgraded from Windows 8 to Windows 8.1 and as a result of this I fear that my PC /Laptop does not recognize the Monitor. I am connected to the Monitor via a Targus v3 Docking Station. I tried to download and install t
-
Deploying CR or BO to Web - NOT Using J2EE components or Web Services
I'm looking for a way to publish canned reports to the web from Business Objects/Crystal Reports, WITHOUT requiring access to any underlying server directories (which looks like it leaves web services out of the running). Reports must be stored/acce
-
Hi i'm a graphic designer and i know there's a problem with Mac Mail accepting EPS files. I know that you apple is advicing us to compress files but i would with a lot of eps files and not everyone knows how to work with compress files so my question