Websphere v6 and Jboss
I'm trying to migrate an app to WEbsphere 6 from jboss 4. I can't get the MDB's to work. It seems like although there was only two blocks of XML to add in the jbossmq-destinations-service.xml, one for my topic and one for my queue, there is all sorts of things you must do in weblogic. all of the websphere documentation has you using the websphere GUI tools, however this app uses the maven directory structure and will continue to do so as the app needs to support both weblogic and jboss in the future. So i guess this is not truely a migration but a way to ensure compatibility.
anyone who has done this, any tips would be appreciated.
Chris,
IBM changed the JTA/JTA packaging between 5.0 and 5.1. The source is provided for JTSExternalTransactionController_5_0 in the source.jar. You will need to create a custom 5.1 version of this class for your usage.
In the 5.0 class you will see:
protected final static String TX_MANAGER_FACTORY_CLASS =
"com.ibm.ejs.jts.jta.TransactionManagerFactory";It is this value that need to change for the new packages in 5.1 and 6.0. Here is the subclass we provided in 9.0.4 that you can use to solve your problem.
public class JTSExternalTransactionController_5_1 extends JTSExternalTransactionController_5_0 {
// Overwrite super value in the scope of this class, i.e JTSExternalTransactionController_5_1.TX_MANAGER_FACTORY_CLASS
// Reference to the same static attribute returns the value respected to the scope of the class that the calling method is in.
protected final static String TX_MANAGER_FACTORY_CLASS =
"com.ibm.ws.Transaction.TransactionManagerFactory";
* INTERNAL: overwrite super method to use different tx manager.
protected String getTxManagerFactoryClassName() {
return this.TX_MANAGER_FACTORY_CLASS;
}Doug
Similar Messages
-
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 -
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 -
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. -
Integration of websphere mq and Host
Hi,
I'm trying to find some information about the integration of this scenario:
WebLogic 1 Websphere 2 Websphere 3
<--> <--> <-->
Host(CICS)
Server MQ MQ
1 Integration is no Problem, you can use jms, and the normal java API
2 It is also no Problem, I think
3 Is also no Problem, because IBM has a solution
BUT WHAT is with the hole scenario. Are there any bottlenecks if you want to exchange
data from a J2EE Application on WebLogic to the Host(CICS) and back. Are there
any special things to handle, any Problem with Headers and so on.
If someone has an Idea or some suggestions, please let me know.
Thanks, RobertNitin,
A Tuxedo server (actually, all the servers in any group) can only access
1 resource manager.
To have Tuxedo access MQ and Orcale, you need separete servers and
server groups for the Oracle and MQ accesses. Then call both from a
single place where the transaction demarcation happens (or use AUTOTRAN
and tpforward from 1 server to the other)
Regards,
Peter.
Nitin wrote:
Hi Roopesh
thanks for your response.I have tried the sample prograame in which only Tuxedo
and Websphere MQ is involved . Its working fine.But when I try to use oracle the
server exits without giving any reason.I tried to debug the application using
gdb.The prgram is exiting with exitcode 0x377
Regards
Nitin
"roopesh" <[email protected]> wrote:
I think tuxedo should should act as transaction coordinator in this case.
IBM bundles sample programs for tuxedo with MQSeries.
check the following link
http://publibfp.boulder.ibm.com/epubs/html/csqzal09/csqzal09tfrm.htm
Thanks
"Nitin" <[email protected]> wrote:
I am developing a small programme which uses websphere MQ5.3
and Oracle 8.1.7.4.My server programme connects to a Queue Managerof
Websphere
MQ and opens a connection to the queue.But the MQCONN call of websphere
MQ fails
to connect to queue manager without giving any resaon code and the server
is terminated
giving LIBTUX_CAT:541.This is the situation when Oracle is used as a
resource
manager.If I dont use Oracle as a resource Manager the programme works
fine.
I am using HP-UX11.0 OS.
Any Suugestions??? -
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?)
Maybe you are looking for
-
How to spilt the data in a column
Dear all, I have a column named users in a table.Users column varchar2 data type. sample data: select*from users_link; Job_ID Users 101 P00O0496,,P00O0828,P00O2739,P00O3522,P00O4405,P00O7182,P
-
How do I add shortcuts to the 'Home' screen?
Is there a way to configure the 'Home' screen (the one with the clock and a row of icons from where you start)?
-
Keep getting error (-9812) message in itunes
Hello, I really hope someone can help me. I am currently unable to sign into itunes as each time I try I get the message - We could not complete your itunes store request. An unknown error has occurred - I have never had any problems before however s
-
MAKE A KALIDESCOPE in PHOTOSHOP 11
HELLO: HOW DO I MAKE A KALIDESCOPE USING PHOTOSHOP 11. I SAW AND READ ON HOW TO DO IT USING ELEMENTS 6 and STUFF, but I SEEM TO BE HAVING DIFFICULTY USING MY TOOL BAR HELP IN DOING THE KALIDESCOPE IN MY P. ELEMENTS 11. I READ TO CLICK ON THE FILTER a
-
Force an IP to a MAC on virtual network (using netsh wlan command)
I'm creating as virtual network on my PC using netsh wlan commands and it's working great. However, at this point a need came to me to force a particular IP to a MAC address. Ofcourse it will be an IP that is allowed. All I need is to force a connect