[jboss-user] [Security & JAAS/JBoss] - Re: GenericHeaderBasedAuthentication
i got the context.xml to load. for anyone going down this road, it appears the GenericHeader valve MUST have the session cookie pushed by Oblix. i'm going to have to subclass it and remove the dependency on the cookie, to fit the target environment. == stanton View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213915#4213915 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: javax.naming.NameNotFoundException: XAConnectionFactory
Hi, I am using jboss 3.2.5 version and when i starts my jboss it gives following error | javax.naming.NameNotFoundException: XAConnectionFactory not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) | at org.jnp.server.NamingServer.getObject(NamingServer.java:509) | at org.jnp.server.NamingServer.lookup(NamingServer.java:282) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) | at javax.naming.InitialContext.lookup(InitialContext.java:347) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:686) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | I am using JMS technology but and the JMS provider is a 3rd party software. My queue is working fine, but still i am getting this error. Checked JMS consile JNDI view see the out put Global JNDI Namespace | | +- HAILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | Please give a solution to solve the issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213911#4213911 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Use of JAX-RPC in JBoss 4.2.3
I have a web app running on JBoss AS 4.2.3, default server configuration. I need to write a web service client that can talk to a soap encoded web service. I know that JBossWS does not support soap encoding, so I am struggling to find a workaround. >From my research I'm lead to believe that JAX-RPC is the one library that does >support soap encoding, so have tried using a (JWSDP) wscompile produced client >in JBoss 4.2.3. When I include the JWSDP compatible JARs[1] in the lib directory of my EAR, and my client code calls into the wscompile produced stub, the stub calls into (JWSDP) StreamingSender class and ultimately throws a ClassCastException: |1. java.lang.ClassCastException: org.jboss.ws.core.soap.SOAPMessageImpl |2. at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231) |3. at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324) | How can I make JAX-RPC work on JBoss 4.2.3? Is it possible to manipulate the set of JARs from JWSDP that I am including[1] in my web app to make JAX-RPC (supporting soap encoding) work on JBoss 4.2.3? If no-one can offer the silver-bullet answer as to how to make JAX-RPC work on JBoss 4.2.3, maybe one of the following ideas will ring true with someone who can at least point me in the right direction to pursue. Might I: * *Somehow* configure JBossWS to "play nice" with JAX-RPC so that JAX-RPC can be used as my web service library | * Change the class loader configuration to allow the JAX-RPC (and associated JWSDP) JAR files to work in my web app | * Remove the JBossWS module from the default configuration, and somehow just use JAX-RPC JARs from my web app rather than being loaded as a JBoss service (although I have concerns that the JAX-RPC dependant JARs from JWSDP would still conflict with other XML related JARs in JBoss AS) | * Switch to some other web service client library that supports soap encoding (that I'm not aware of) that can be configured to run on JBoss AS 4.2.3 | | I am relatively new to JBoss, so if one of the above ideas strikes you as ludicrous (just doesn't make sense), I apologize. | | Thank you, | Glen Scott | | [1]The jars from JWSDP 1.6 I included in my EAR's lib are: activation.jar, commons-beanutils.jar, commons-collections.jar, commons-digester.jar, commons-logging.jar, dom.jar, jaas.jar, jax-qname.jar, jaxp-api.jar, jaxrpc-api.jar, jaxrpc-impl.jar, jaxrpc-spi.jar, mail.jar, namespace.jar, relaxngDatatype.jar, saaj-api.jar, saaj-impl.jar, sax.jar, xercesImpl.jar, xsdlib.jar | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213909#4213909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Method Advised class on getInterceptorChainReadWriteLock
Just to circle back to the orginal problem with the new introspector as well it seems that this ReadLock - WriteLock deadlock issue only happens when using PER_INSTANCE aspects as well since it is occuring in the generated InstanceAdvisor for the advised class. What causes the version of the parent to the advisor to change, to cause the doRebuildForInstance method to be called? | public void checkVersion() | { | if (needsRebuild || parent.version != GeneratedClassAdvisor.this.version) | { | doRebuildForInstance(); | needsRebuild = false; | } | } | -Pete View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213904#4213904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
Guess it's actually a little different error. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213903#4213903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
I added this: http://www.eclipse.org/tptp/updates/ but still get the same error. Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.tptp.platform.runtime.feature.jar [4.5.1.v200807310709-8F82EhK9ToWvz0z0g3z0OLTM8F8K]. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213902#4213902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
I'm saying if you plan to install the JBoss BIRT stuff, you need the Eclipse BIRT-WTP stuff too. As to the missing tptp 4.5.2 thing, you can get that from the Ganymede staging site or the TPTP site. http://download.eclipse.org/releases/ganymede/staging/ http://www.eclipse.org/tptp/updates/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213901#4213901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
Sorry, make that org.eclipse.birt.integration.wtp.feature (as *required* by org.jboss.tools.birt.feature). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213900#4213900 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
Are you saying I don't need the birt features? I added the sites you suggested. I'm now down to two issues: Cannot complete the request. See the details. Cannot find a solution where both "org.eclipse.birt.integration.wtp.ui [2.3.2.r232_20090122]" and "org.eclipse.birt.integration.wtp.ui [2.3.1.v20080827]" are satisfied. Cannot find a solution where both "org.eclipse.tptp.platform.runtime.feature.jar [4.5.2.v200901090956-8F82EsM9TofPP4ogyX-bRjDoPYGV]" and "org.eclipse.tptp.platform.runtime.feature.jar [4.5.1.v200807310709-8F82EhK9ToWvz0z0g3z0OLTM8E9N]" are satisfied. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213899#4213899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
Just add the site - the installer will take care of installing what you need. (Technically, you will require the BIRT Web Tools Integration runtime feature, or, as per your error message, org.jboss.tools.birt.feature.) Note also that if you don't select the JBoss BIRT feature, you won't need these underlying requirements. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213898#4213898 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies
What do I need to install from that site? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213895#4213895 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Race condition in ConnectionValidator
Hello, I think we have stumbled upon a bug in the ConnectionValidator. Scenario pingPeriod is set to 10 seconds and pingTimeout is set to 70 seconds, client leasetime is 70 seconds. Using 2.2 SP11 on JDK 1.6 (Linux) Ctrl-z the server for more than 20 seconds but less than 70 seconds. When the server is brought back to the foreground, the client's connection is closed even though the pingTimeout has not been exceeded. Given that the task took more than 10 seconds to complete (Server in the BG), the java Timer will immediately call the run method again with a very small window in which the WaitOnConnectionCheckTimerTask is still running (Waiting on a lock). By the time WaitOnConnectionCheckTimerTask breaks out of its wait, it reads an isValid that is set to false by the run method causing the connection to close. I have a fix (Not sure if it optimal) that does the following: - Make the tt (WaitOnConnectionCheckTimerTask) a class member (Must be volatile). - Add while(tt != null) {} tt = new WaitOnConnectionCheckTimerTask(); to the run method. Clear tt at the when WaitOnConnectionCheckTimerTask is done. I can reproduce this on my machine every time. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213894#4213894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Method Advised class on getInterceptorChainReadWriteLock
I've got a repro of our problem using the ClassicInstrumentor using a modified injboss example here: https://jira.jboss.org/jira/browse/JBAOP-706 thanks for your help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213891#4213891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unsatisfied dependencies (JBoss BIRT feature requires BI
http://jboss.org/community/docs/DOC-10044 (See "Installing JBoss Tools from the Update Site") You're missing the BIRT 2.3 update site, which is: http://download.eclipse.org/birt/update-site/2.3/ Once the Ganymede SR2 updates are published, you will no longer need to enable the BIRT 2.3 site, as the missing birt-wtp integration feature has been added to the Ganymede site. For now, you either need the BIRT site, or the Ganymede Staging site: http://download.eclipse.org/releases/ganymede/staging/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213879#4213879 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Followup: GenericHeaderBasedAuthentication
i turned up the logging to get TRACE events from org.jboss.web.tomcat.security and i dont see any events coming from the GenericHeaderAuthenticator, which should be echoing to the log file. i double checked the syntax of the Valve tag in my context.xml file and it appears sane. besides deploying the webapp with a context.xml, are there any other steps that need to be done to ensure the Valve gets loaded and registered? i'm running on AS 4.2.3-GA on java 1.5.0 installed on solaris 10 (i386). == stanton View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213876#4213876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: PVM HibernateLongVariable
BTW wouldn't it be better to use Digester for parsing. It is faster (SAX no DOM), declarative, easy to use and you can do really complicated parsing implementing its interfaces.. And if you want both directions xml2java and java2xml, why not to use Castor? But I don't have big experienced with it. But I think it should be good solution.. Fero View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213875#4213875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: PVM HibernateLongVariable
There was a bug in method VariableTypesBinding.parseTypeMapping(). It expected "class" attribute in xml to be set to "persisted" and I chcnged it to "hibernate": // if type="hibernate" | } else if ("hibernate".equals(className)) { But I think code in HibernateLongIdMatcher is broken as well. if (environment!=null) { | SessionFactory sessionFactory = (SessionFactory) environment.get("hibernate.session.factory"); | if (sessionFactory!=null) { | ClassMetadata classMetadata = sessionFactory.getClassMetadata(value.getClass()); | matches = ( (classMetadata!=null) | && (classMetadata.getIdentifierType().getClass()==LongType.class) |); | } First you should to ask if value is not a HibernateProxy cos in that case you wont get any metadata (as done in jBPM 3).. | Class valueClass = value.getClass(); | if (value instanceof HibernateProxy) { | valueClass = valueClass.getSuperclass(); | } And second. How can you get SessionFactory from envoronment? The interface has only addContext(Context) method and SessionFactory does not implemenst Context. But maybe I shoul implement my own Environment and fill it in another way than throgh Environment interface. Maybe my bad. What do you think? Thanks Fero View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213874#4213874 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - compiling HOME interface in jboss
Please, help me to compile my HOME interface in jboss. I used jboss-3.2.5 and java 1.4.1 to develop an ejb application. while the BEAN class and REMOTE interface compiled successfully, the HOME interface did not. it gave me the follogwing error instead: >>hellohome.java:9: cannot resolve symbol >>symbol : class Hello >>location: interface com.javapro.ej.HelloHome >>Hello create() throws RemoteException, CreateException; >>1 error thanks all NUHUJ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213873#4213873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to custom new folders in classpath?
I intend to use a new folder in jboss classpath. For example (application libraries): \jboss-4.2.3.GA\server\default\applib\* Is it possible? Motivation: I don't want mix my custom libraries with jboss libraries. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213872#4213872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: SessionContext Not Injected in Scoped Class Loader
I have the same problem. Is there any solution? I debugged a little an saw that org.jboss.ejb3.AbstractPool#injectors.length == 0 means that InfinitePool(AbstractPool).create(line: 111) will not inject anything. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213869#4213869 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Deploying PHP application in JBoss Portal
Hi Nitin Goel I have a very similar project you had experienced before. I have a couple of PHP applications which I want to deploy in JBoss Portal and then develop the portlets which will communicate with the PHP application and show the web pages of PHP application. Could you please let me know If you have successfully done this and then what are the steps I need to perform for that and expecially how to develop portlet to communicate with the php application. If you can send me some sample code that will be great. I appreciate your help and time. Thanks. tina View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213865#4213865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Could not find MessageBodyWriter for class java.util.List an
Has anyone had any experience with getting the java.util.List multipart support working as described at http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-resteasy/ ? When running the Client Framework I get the following: Exception in thread "main" java.lang.RuntimeException: Could not find MessageBodyWriter for class java.util.List and mediaType multipart/mixed | at org.jboss.resteasy.client.core.MessageBodyParameterMarshaller.getMessageBodyWriter(MessageBodyParameterMarshaller.java:59) | at org.jboss.resteasy.client.core.MessageBodyParameterMarshaller.buildRequest(MessageBodyParameterMarshaller.java:48) | at org.jboss.resteasy.client.core.WebRequestIntializer.setHeadersAndRequestBody(WebRequestIntializer.java:43) | at org.jboss.resteasy.client.core.ClientInvoker.initBaseMethod(ClientInvoker.java:107) | at org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:67) | at org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:47) I see the provider being loaded (or at least what I would assume is the provider) | ... | 78 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider org.jboss.resteasy.plugins.providers.multipart.ListMultipartReader | 78 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataReader | 78 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MapMultipartFormDataReader | 94 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.MultipartWriter | 94 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.MultipartFormDataWriter | 94 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.ListMultipartWriter | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213863#4213863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Unsatisfied dependencies
I get the following unsatisfied dependencies when I try to install the 3.0 developement verions on windows using eclipse 3.4 and the eclipse update manager to http://download.jboss.org/jbosstools/updates/development/ Cannot complete the request. See the details. Unsatisfied dependency: [org.jboss.tools.birt.feature.feature.group 1.0.0.CR2-R200901280154] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.integration.wtp.feature.group/[2.3.1,3.0.0) Unsatisfied dependency: [org.jboss.tools.birt.feature.feature.group 1.0.0.CR2-R200901280154] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.integration.wtp.ui/[2.3.1.v20080827,2.3.1.v20080827] Unsatisfied dependency: [org.jboss.tools.birt.core 1.0.0.CR2-R200901280154] requiredCapability: osgi.bundle/org.eclipse.birt.integration.wtp.ui/0.0.0 Unsatisfied dependency: [org.jboss.tools.birt.feature.feature.group 1.0.0.CR2-R200901280154] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.integration.wtp.ui/[2.3.1.v20080827,2.3.1.v20080827] Unsatisfied dependency: [org.jboss.tools.birt.feature.feature.group 1.0.0.CR2-R200901280154] requiredCapability: org.eclipse.equinox.p2.iu/org.jboss.tools.birt.core/[1.0.0.CR2-R200901280154,1.0.0.CR2-R200901280154] Unsatisfied dependency: [org.jboss.tools.birt.feature.feature.group 1.0.0.CR2-R200901280154] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.birt.integration.wtp.feature.group/[2.3.1,3.0.0) Unsatisfied dependency: [org.jboss.tools.birt.core 1.0.0.CR2-R200901280154] requiredCapability: osgi.bundle/org.eclipse.birt.integration.wtp.ui/0.0.0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213859#4213859 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - problem with JBoss 4.2.3
Hi: I followed all the instructions in http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/installation.html to install jboss messaging in JBoss 4.x. When I run it using the dafultDS it works fine. But when I use mssql-persistence-service.xml, I get this error: org.jboss.deployment.DeploymentException: No Attribute found with name: DetectDuplicates I'd appreciate it if someone can help. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213858#4213858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS 5 Deployment Ordering of EAR Structure
I've downloaded your new 5.0.1 GA release hoping you fixed this annoying issue but still nothing. Can someone respond to this post about when this issue will be addressed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213857#4213857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Secure jmx-console and web-console
No ideas on the stack trace. Looks like it is debugging time. Try this: start with a fresh JBoss AS install and edit only that one jboss-web.xml file and see if that works. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213855#4213855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: how to change the jboss schema name
thanks for the heads up, everything is all caps all the time...and the *-ds.xml suggestion looks good and I'm working on those changes now. I just had a moment of panic when the db was created. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213852#4213852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Secure jmx-console and web-console
I have a jboss running on my windows desktop. In order to test the app I think that Jboss starts some products of Apache, for instance, coyote, catalina, etc... The file apache.log appears in a log4j appender: | | | | | | | | And it is used by the following category: | | | | | | | Any ideias about the stack trace? Thanks, Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213851#4213851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - setRollbackOnly set by remote EJB with @TransactionAttribute
What happens when 1. "A" Bean calls "B" Bean and in a transaction context 2. B's business methos has @TransactionAttribute(REQUIRED) 3. B marks setRollbackOnly Does container first rollback B's transaction before returning and then A rollsback it's transaction or does container rollsback A both A's changes and B's changes as well while trying to commit or rollback in A bean. I looked in EJB specs but found it confusing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213850#4213850 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: how to change the jboss schema name
If you are replacing HSQL with your database, and your DBAs require uppercase names, you are in for lots of fun. You'll have to find the SQL statements for Messaging and Quartz and convert them all to use uppercase. And I know I forgot a table or two... But the *-ds.xml suggestion still holds. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213849#4213849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: GenericHeaderBasedAuthentication
"anil.saldh...@jboss.com" wrote : httpHeaderForSSOAuth="sm_ssoid,ct-remote-user,HTTP_OBLIX_UID" | | sessionCookieForSSOAuth="SMSESSION,CTSESSION,ObSSOCookie" | | The first value is basically what oblix will be sending as the username in the http header. The second one is what oblix will use as a session cookie. Do you have the header names passed by oblix? i dug up the source so it appears the comma delimited list is a multiple choice of possible values the driver looks for. from what i've gathered from the client, the Header is going to be XYZUSER. they are not going to push the session_id (they say we should just trust the user_id published in the Header). i've configured my context.xml to have the valve in question. problem is, i tried to request the main page using curl and pushing the Header with a value that maps to a user in the app user table (we use the DatabaseServerLoginModule to handle mapping users and roles) but it always sends me the login page. what i was expecting (maybe erroneously) that the GenericHeaderAuthenticator would intercept the request for the form and inject the user_id from the Header and then the DatabaseServerLoginModule (configured with "useFirstPass") would recognize we have a user_id and just map the roles. my followup questions are: 1) if we are using an application policy in login-config.xml, does this negate the Valve in the context.xml or do they not play nicely together, requiring me to create a JAAS module and configure it in the login-config.xml? 2) if JAAS and the GenericHeader valve do not play nicely, can the GenericHeader be configured as a login module in login-config.xml? TIA == stanton View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213848#4213848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Issue deploying ejb
Solved! Well it was not really a temp issue, it was a business jar that also had that class in it, but was not actualized. As this jar was in lib folder, this class had precedence. The jar in fact doesn't have to have that class in it hah. Thank you anyways, this is so human error but may be of help to someone. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213847#4213847 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - Canada Eh? Tips on how to fight the Recession!! *USE IT*
Canada isn't immune to the recession from the US - so, I'm going to pass on this great resource for all my Canadian hockey-loving buds - get a copy of ComputerWorld Canada - show the MAN that IT can save money - before the MAN gets rid of YOU or the entire IT dept gets centralized to the US or gets Outsourced!!! Gotta register but totally worth it - consider it the bible for IT in Canada - at the very least keep informed so you can KEEP your JOB: Hope all this economic stimulus turns things around http://www.accelacomm.com/jaw/mbaig/22/50284003/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213846#4213846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - JBoss5 - Legacy applications and descriptor compatibility
Hi, I am an long-time JBoss AS 4 user and I having a bit of trouble deciphering my deployment issues on JBoss AS 5. What I am finding is that the JBoss specific deployment descriptors are causing the deployers to reject the deployments. The error that they are exhibiting is: Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 94:3 The markup in the document preceding the root element must be well-formed. | at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40) | at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source) | at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source) | at org.jboss.xb.binding.Util.loadSchema(Util.java:395) | at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:175) | at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:146) | at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:332) | ... 51 more I searched google and the JBoss community resources wiki/documentation/forums and the only reference I found to this indicates issues with poorly formed documents. However, I have checked the structure and validated the document with the specified DTD. An example document: | http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd";> | | | | MyBean | ejb/MyBean | | jdbc/EntityDB | java:jdbc/EntityDB | | | | | | Does anyone know why is JBoss 5 kicking this out? I have successfully deployed the application components by removing the DTD declarations altogether, but I'd really like to get to the root cause of the issue. Does JBoss 5 not support the legacy DTDs? If not, then why are they included in the docs/dtds directory of the installation? Any help will be greatly appreciated. Thanks, Brent View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213845#4213845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: how to change the jboss schema name
sorry, the documentation is from here: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html_single/index.html#d0e3980 Thanks for the response, I'll look into your suggestion. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213844#4213844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Starting JBoss
Thanks. I was afraid of that. I am looking for more detailed start up information than what is provided by starting JBoss AS from Main.main(). Reading that documentation I was hoping that I could get that detail via the exceptions it was throwing because they sounded more like what I was hoping to see. Because of where it was located though, I assumed that start() was related to JMX although I could not find something explicit to that. I am just trying to detail more information on start up and shutdown scenarios for our automated activation of JBoss AS. Catching exception is pretty general, but maybe there are better ways to tell if the individual parts of the server have properly started. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213840#4213840 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: how to change the jboss schema name
Please do not cross-post http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213839 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213841#4213841 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: how to change the jboss schema name
It would have helped if you provided contextual information on where that sentence was found. Since you did not, I will have to guess, so my answer is based on that guess. I assume that you are configuring a database login module. You can use all uppercase names for the database, tables and columns. Then edit login module configuration within jboss-login.xml to use uppercase names in it's SQL statements (hmm, looks like the example one already does that). Then in the *-ds.xml file for the datasource use uppercase names in connection URL. If my guess is incorrect, you can still use the above information to tackle your issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213839#4213839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can we run JBoss 4.2.2 on the same server as IIS 6.0?
This is not be a problem. I am running IIS and JBoss AS (and even Apache HTTPD) on our department's Windows 2003 Server system. JBoss AS uses different ports than IIS, so there are no port conflict issues. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213838#4213838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
That is because Windows and Linux count memory usage differently, and both of them lie to some extent. Well, the numbers are correct but they often don't mean what you think they mean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213837#4213837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - how to change the jboss schema name
Hi, I'm following the Server Configuration documentation and came across: anonymous wrote : We assume that you have already installed the external database server, and have it running. You should create an empty database named jboss, accessible via the username / password pair jbossuser / jbosspass. The jboss database is used to store JBoss AS internal data -- JBoss AS will automatically create tables and data in it. | Our DBA's standard is all caps and they created the database named slightly differently than above. Now before I requested a change on their side I was wondering if I could change this in the configuration somewhere to keep with their standards. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213836#4213836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Issue deploying ejb
Hello Uhm.. it seems that this proplem happens to each new class I migrate to ejb quartz job so any solution will be highly appreciated :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213835#4213835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Starting JBoss
This start() method is a method used in JMX MBeans for services within the application server. This method starts the service. You need to have JBoss AS running before this method can be called. What is it that you are trying to do? In other words, in waht way would you like to start the app server? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213834#4213834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Secure jmx-console and web-console
When posting XML text or source code, please enclose the text in UBBCode "code" tags - you can do this by selecting the text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213833#4213833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Improving Startup time - JARDeployer wasteful scanning?
Hi, I'm using JBoss 4.0.4 GA on a Red Hat Linux 4 box. Our app server previously took 10 minutes to startup, but we managed to cut it in half thanks to many of the suggestions here! (especially through editing the JARS Ignored For Scanning list in the EJB3 Deployer). However, I'm still trying to improve the speed. In the server.log file, I see hundreds of messages like the following: [org.jboss.deployment.JARDeployer] No xml files found Turning up the TRACE settings, I see that the RepositoryClassLoader is having the JARDeployer scan hundreds of jar files to determine if a descriptor xml file exists in the META-INF directory. After the JARDeployer determines that there are no relevant xml files in the JAR file, it passes it to a Unified Class Loader, as noted in the following line: 2009-02-26 18:35:29,833(GMT-7) DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/opt/jboss-4.0.4.GA/server/default/deploy/liferay-extranet.ear/lib/secure-filter.jar, to ucl: org.jboss.mx.loading.unifiedclassload...@7cd61b{ url=file:/opt/jboss-4.0.4.GA/server/default/deploy/liferay-extranet.ear/ ,addedOrder=53} My questions is this: Is there any way to "speed up" this process? Scanning every file within the JAR seems wasteful and adds about minute to the startup time. Ideally, I was hoping I could provide a list of jars so that they are not scanned to see if descriptor xml files exist in there - so far I can't find an Ignore list, like I found with the EJB3 deployer! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213832#4213832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBOSS Tools and eclipse versions
Thanks, I was using jboss tools 2 with eclipse 3.4. I was having issues and now I probably know why. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213831#4213831 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - how to change the jboss schema name
Hi, I'm following the Server Configuration documentation and came across: anonymous wrote : We assume that you have already installed the external database server, and have it running. You should create an empty database named jboss, accessible via the username / password pair jbossuser / jbosspass. The jboss database is used to store JBoss AS internal data -- JBoss AS will automatically create tables and data in it. Our DBA's standard is all caps and they created the database named slightly differently than above. Now before I requested a change on their side I was wondering if I could change this in the configuration somewhere to keep with their standards. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213830#4213830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBOSS Tools and eclipse versions
See http://jboss.org/community/docs/DOC-10044 for all the gory details and links. 3.0.0 is due next month, but is stable now. Requires Eclipse 3.4.2 (to get all the latest bugfixes), which came out this week. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213828#4213828 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBOSS Tools and eclipse versions
JBoss Tools 2.* works with Eclipse 3.3.* only. Please use JBoss Tools 3.0.0.* for Eclipse 3.4.* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213827#4213827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBOSS Tools and eclipse versions
I was wondering if JBossTools 2.1.2.GA will work will Eclipse 3.4? or do I need to use the development release? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213825#4213825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: IllegalAccessError, EJB3, and JBoss 5
This is no longer an issue. I renamed my ears to put them in a proper order (among other things) and it is resolved. I can't say for certain what the resolution was. Thanks for the help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213824#4213824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: listAllMessages doesn't list persisted messages
Hi, I've exactly have the same issue with JBoss ESB Server 4.5 (AS 4.2.3 + JBM 1.4.0.SP3). Is this request already realized? Yes, which version ? JIRA says that this request is a duplicate only. I could not find the original one. Please let me know if this issue is solved or not. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213823#4213823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unable to run facelets numberguess example in JBoss 5
A pretty simple solution is use latest Facelets 1.1.15. Thatâs it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213818#4213818 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Setting up a virtual host on 5.0.1
I am trying to define a simple virtual host under JBoss 5.0.1. With the 4.2.3 version, I had the following host definition in the server.xml file. | | Now, when I try to start up the 5.0.1 server using this host definition, I get the error "Context not found as a child of Host". In searching, it looks like this was an issue with the 5.0.0 release, but I saw hints that this was fixed in 5.0.1. It does not appear to be however. Can somebody help me out with the "correct" way to define a virtual host under JBoss where I have no WAR file and simply want to have a few JSP files? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213817#4213817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: performance limits of jbpm
anonymous wrote : We can't say that in this case the code has never happened, Correct... It is an example where using non transactional external services fails... so either send an additional mail from a node that you go to when the 'error' happens or whatever... business processes should take these into account on the 'business level' not the technical engine level. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213815#4213815 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss messaging client timeout
Thanks a lot Howard. I tried with 1.4.0 SP03-CP07 and it works. No timeout no messages stuck in the queue!! However during building the messaging part I found etc/ folder missing under src/ so I copied the whole etc folder from output and it did the trick. Another team is trying with 1.4.2 GA SP1,I'll update you on that also. Thanks once again. Pratim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213814#4213814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Jboss servers
JBOSS tool, I've decided to go back and install from scratch, I was wondering if JBossTools 2.1.2.GA will work will Eclipse 3.4? or do I need to use the developement release? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213811#4213811 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: performance limits of jbpm
Also in my opinion is correct to rollback process logs but what if in one of the rolled back nodes jbpm sends an email to an operator or a customer or, in general, triggers some operation in external systems? We can't say that in this case the code has never happened, in other words, code has never happened for jbpm but it did happened for some external systems (or even worse people). There could be situations where syncronization between jbpm and external world would be lost so i think that what Camunda did is a must even because using an ESB gives not only asyncronicity but protocol/transport failover as well. Camunda, could you explain better how did you designed that special service that collects log data where internal jbpm error occurs? did you store that logs in the same table as other logs or in a separate location? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213810#4213810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - How to set EJBContext callerPrincipal from LoginModule?
We've just migrated our app to JBoss 5 (from 4) and have one last annoyance to resolve. We have an EJB client that uses JNDILoginInitialContextFactory to supply string-based user/password combination. On the server, our custom JAAS login module authenticates, and sets our custom Principal to the group "CallerPrincipal" according to spec. EJBs then see this custom principal in the EJBContext just fine. With JBoss 5, this no longer works. As I understand, with JBoss 5 we have to perform a SecurityClient login now, and obtain the InitialContext with a NamingContextFactory instead. |SecurityClient client = SecurityClientFactory.getSecurityClient(); |client.setSimple("jdoe", "theduke"); |client.login(); | |Properties p = new Properties(); |p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); |p.put(Context.PROVIDER_URL, "jnp://localhost"); |p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | |InitialContext initialContext = new InitialContext(p); Upon doing so, authentication succeeds, but the EJBContext seems to only get populated with a SimplePrincipal. I narrowed it down a bit and found that the EJBContext is populated with the principal as it is supplied to the SecurityClient. If I set a test custom principal on the SecurityClient client.setSimple(new CustomPrincipal("jdoe"), "theduke"); it is propagated to the EJBContext, but this is not a solution, our actual custom principal (User object) is not yet available to the client and cannot be retrieved pre-login. So how is one supposed to establish a custom callerPrincipal via LoginModule in JBoss 5 now? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213808#4213808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Can we run JBoss 4.2.2 on the same server as IIS 6.0?
The company I work for is looking to purchase a vendor application that runs on JBoss 4.2.2. We would like to install the new application on our existing server, which has Windows 2003 SP2 and IIS 6.0. The web applications that run from this server were built using .NET 2.0. The JBoss application does NOT have to integrate with IIS or the .NET applications in any way. The two will remain completely separate. Can anyone offer any advice as to how easy or difficult this might be? Are there any major problems with either JBoss or IIS that would prevent us from running the two systems in parallel without 'infecting' each other? Thanks in advance for any advice you have. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213806#4213806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Regarding Portal session management
JBoss Portal takes a very literal interpretation of JSR168 when it comes to managing user roles. So, any roles that you want to use from your JAAS security context, you'll have to define (at least a role-name, not necessarily role-link) in your portlet.xml: YourRole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213805#4213805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
I didn't know it could take this much space... ^^ I don't really know the allocation of memory in a jvm but I thought the most important memory allocation was by the heap and the permgen ... I tried on a windows and when I specified 512 for heap space and 128 for permgen space, the process allocated ~650M but not more... On linux, it took almost ~800M. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213792#4213792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
anonymous wrote : But the weird thing is that the memory used is still higher than the memory I allocated to the process: Where did you get the idea that the heap and the permgen are that only memory used by a Java process? There is also the JVM code, the Java stacks, and the C/C++ data structures used by the JVM. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213785#4213785 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBossCache Deadlock in Hibernate BulkOperationCleanupAct
Is there anything from Hibernate before the first bit in the "TRANSACTION (EXECUTES A SINGLE BULK UPDATE QUERY!)": | 2009-02-26 12:54:50,032 TRACE [org.jboss.cache.interceptors.InvocationContextInterceptor] main - http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213783#4213783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-entity on Oracles and id.
i launched again the script, probably i was missing some create index, or sequence. Deleted all users from the table and inserted back again. Probably my mistake when i created first time DB schema on Oracle. Work fine now :) . sorry for boring you all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213782#4213782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can we Connect Jboss portal to Database other than hiber
Sounds like you need to grab a tutorial or book from somewhere. I know that the book JBoss at Work (http://oreilly.com/catalog/9780596007348/) has an entire chapter on database access in JBoss AS. That book is based on 4.0.2, but the database access is still valid in 4.2.x and 5.0. Also, perhaps one of the wiki pages on setting up a data source would help you: http://www.jboss.org/community/docs/DOC-12244 And then there are the docs: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html/Connectors_on_JBoss-Configuring_JDBC_DataSources.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213780#4213780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-entity on Oracles and id.
read the hibernate docs... native (afaik) means using what the dbms has as default. Do you get any errors? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213777#4213777 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Run JBoss 4.2.2 and JBoss 5.0.1 at the same time
Peter, The last one works. I asked the same question on stackoverflow.com and got two different, creative answers so I'm going to cross-reference the two threads: http://stackoverflow.com/questions/592091/running-jboss-5-and-jboss-4-at-the-same-time The ability to specify port numbers or an entire set of port bindings with a JVM -D argument will make it easy to do from Ant too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213775#4213775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Drools Audit View doesn't open log
I've been using a WorkingMemoryFileLogger in my Seam/Drools application to generate a log file for debug purposes. When I try to open the log file in Audit View it states that: The selected audit log is empty. But the log contains data. Log data is: | | | | 4 | Desconto para Cliente com Cartao Ouro [1] | Desconto para Cliente com Cartao Ouro | compra=Compra[Cliente: Joao Paulo, Cartao: OURO, Valor: 10.0](1) | | | 1 | 1 | Compra[Cliente: Joao Paulo, Cartao: OURO, Valor: 10.0] | | | 6 | Desconto para Cliente com Cartao Ouro [1] | Desconto para Cliente com Cartao Ouro | compra=Compra[Cliente: Joao Paulo, Cartao: OURO, Valor: 10.0](1) | | | 7 | Desconto para Cliente com Cartao Ouro [1] | Desconto para Cliente com Cartao Ouro | compra=Compra[Cliente: Joao Paulo, Cartao: OURO, Valor: 8.0](1) | | | 4 | Desconto para Cliente com Cartao Prata [1, 2] | Desconto para Cliente com Cartao Prata | compra=Compra[Cliente: Joao Victor, Cartao: PRATA, Valor: 10.0](2) | | | 1 | 2 | Compra[Cliente: Joao Victor, Cartao: PRATA, Valor: 10.0] | | | 6 | Desconto para Cliente com Cartao Prata [1, 2] | Desconto para Cliente com Cartao Prata | compra=Compra[Cliente: Joao Victor, Cartao: PRATA, Valor: 10.0](2) | | | 7 | Desconto para Cliente com Cartao Prata [1, 2] | Desconto para Cliente com Cartao Prata | compra=Compra[Cliente: Joao Victor, Cartao: PRATA, Valor: 8.5](2) | | | Is it a bug or a misleading use? Cheers, JP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213764#4213764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm-entity on Oracles and id.
Hi i have a question about how the users are saved under JPBM using console. I was seeing the User.hbm.xml under jbpm-identity.jar, and found this: | | | | Using oracle the id must have a sequence related to work, right?. I have to change the HBM files so any table have a SEQUENCE or i'm missing something? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213762#4213762 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Error starting JMX and JBoss Web Console
Hi, if I want to start the JMX Console in the Administration Management section I get an HTTP Status 503 - Servlet HtmlAdaptor is currently unavailable I also get an error starting the WEB console. Here I get an HTTP Status 500 with description: The server encountered an internal error () that prevented it from fulfilling this request. I am using Jboss 4.0.3 and the newest JDK! What could be the problem? Thanx a lot View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213758#4213758 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Problems in websphere cluster environment
We are having problems with JbossCache v1.4.1.SP9 and JGroups 2.4.1 in Websphere 6.1 cluster environment. Randomly, we get the following errors in the log: JChannel I org.jgroups.JChannel handleExit received an EXIT event, will leave the channel JChannel I org.jgroups.JChannel$CloserThread run closing the channel NAKACKW org.jgroups.protocols.pbcast.NAKACK handleMessage node1] discarded message from non-member node1, my view is MergeView::[node1|30] [node1, node2], subgroups=[[node1|0] [node1], [node2|29] [node2]] Also we get: NAKACKW org.jgroups.protocols.pbcast.NAKACK send [node1] discarded message as start() has not been called, message: [dst: , src: (1 headers), size = 146 bytes] The cluster has 2 nodes which are called node1 and node2 for simplicity in the post. After a couple of seconds in which node1 continues throwing those messages, we get: GMS W org.jgroups.stack.Protocol receiveDownEvent exception: QueueClosedException ProtocolStack E org.jgroups.stack.ProtocolStack down no down protocol available ! ... UNICAST W org.jgroups.protocols.UNICAST setProperties window_size is deprecated and will be ignored UNICAST W org.jgroups.protocols.UNICAST setProperties min_threshold is deprecated and will be ignored FRAG2 I org.jgroups.protocols.FRAG2 setProperties frag_size=8192, overhead=200, new frag_size=7992 ... UDP I org.jgroups.protocols.UDP createSockets sockets will use interface node1 UDP I org.jgroups.protocols.UDP createSockets socket information: local_addr=node1, mcast_addr=228.2.2.2:45522, bind_addr=/node1, ttl=64 sock: bound to node1, receive buffer size=131071, send buffer size=131071 mcast_recv_sock: bound to node1, send buffer size=131071, receive buffer size=131071 mcast_send_sock: bound to node1, send buffer size=131071, receive buffer size=131071 SystemOut O --- GMS: address is node1 --- TreeCache I org.jboss.cache.TreeCache viewAccepted viewAccepted(): [node10] [node1] JChannel I org.jgroups.JChannel$CloserThread run fetching the state (auto_getstate=true) JChannel I org.jgroups.JChannel$CloserThread run state transfer failed And no more messages for node1. In node2 we have no special messages of this problem. The configuration file of jbosscache is: I will appreciate any help. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213757#4213757 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Starting JBoss
>From the javadoc: >http://docs.jboss.org/jbossas/javadoc/4.0.4/system/org/jboss/system/server/Server.html#start() There appears to be a way to start the JBoss server using this command, but I can not seem to get this interface from the jars that I have available. Does someone have an example of using this command to start JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213753#4213753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Secure jmx-console and web-console
Peter, I can´t post my log4j configuration. Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213752#4213752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Secure jmx-console and web-console
Pj, I have a jboss running on my windows desktop. In order to test the app I think that Jboss starts some products of Apache, for instance, coyote, catalina, etc... The file apache.log appears in a log4j appender And it is used in the following category: Hope it helps to understand my question, Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213747#4213747 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a Service on Windows XP has an issue
The problem is not in service but rather in run.bat The reason why it is observed when running as service is because the service mode uses system PATH environment variable (which probably ends wit backslash) The fix is easy. Inside run.bat change: REM Add bin/native to the PATH if present if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH% To: REM Add bin/native to the PATH if present if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH%;%JBOSS_HOME%\bin Regards, Mladen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213743#4213743 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Transaction Issue
Got it. not more problem and with an XA DataSource. the problems was, this : UserTransaction Not specified in other Config files. If could Help this is my final configuration: XA DS Oracle (cut and past of the example under JBOSS): | | | | | JbpmDS | | false | oracle.jdbc.xa.client.OracleXADataSource | jdbc:oracle:thin:@localhost:1521:XE | system | 123 | | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | | | | | | org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker | | | | | | Oracle9i | | | | | and the Hibernate.cfg (missing just the part of all hbm.xml files): | java:/JbpmDS | org.hibernate.transaction.JTATransactionFactory | org.hibernate.transaction.JBossTransactionManagerLookup | UserTransaction | | | | | | | | | org.hibernate.cache.HashtableCacheProvider | | | true | true | I hope that this can help anyone that need a start configuration. Thanks for the reply . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213735#4213735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: No Jboss servers
How ? Is this Devstudio or JBoss Tools and what version ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213728#4213728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to include my js(java Script) files into my portlet
You should ask in the portal forum - its not related to tools afaik. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213726#4213726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Timeout running a minimal configuration of JBoss 5.0.0.G
Tom, You should not be required to create that folder, it should be created for you afaik or at least give an option to create it - could you report in jira with steps for ending in that situation ? hmm - we use the web port to be able to show servlets/xhtml etc. Are you saying you don't have http enabled or ? I guess we should allow servers without http to exist ;) Report it in jira with the usecase please. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213720#4213720 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need some advices on a workflow
By wrongly represented, I mean that I must be at one time in two nodes : - the one which waits until X days - the one which waits the manual validation So I guess I must have something like a fork in my workflow, so that it is possible for me to be in two nodes at the same time. But if I add the fork, I have to wait until both tasks are completed, and I don't want that. I don't know if I'm clear enough. And to answer to your questions : - The query is sent at the start state - I enter the node 'attente_accord_tacite' when the time declared in the query is reached Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213718#4213718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a Service on Windows XP has an issue
You are right, In our development evoirnment we are working like this way only as you are suggesting .we are just removing the trailing slash.This is also true it is affecting JAVA_OPTS. But how is breaking command line i still could't understand. Main problem is in our production envoirment where customer can be confused because of path problem(If they have installed some software which leave path with trailing back slash).That is why we are looking some other alternative(other than jbosssvc.exe of JBoss 4.2.2 AS) to install/start/stop/uninstall JBoss as a service on windows. Even i am able to intall JBoss as a service succes SC.exe utility of windows with command as given below . sc config JBAS42SVE displayname= "JBoss Application Server 4.32" binpath= "C:\Lang\JBoss\jboss-4.2.2.GA\bin\service.bat" type= own start= auto depend= afd/tcpip . By this way service is avaiable at Service Controller Page of windows XP .But now i am not able to start service its showing error 1053. please tell me some alternative way to create JBoss window service. parag View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213716#4213716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need some advices on a workflow
what do you mean by 'wrongly represented'? - where is the query send? - where and how do you enter 'attente_accord_tacite' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213711#4213711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Maximum number of nodes and limiting memory usage
Hi All, I am planning to create a caching layer for my application. Here my requirements are to cache lots of data, So, i have to end up creating lot of nodes and ofcourse lot of data under each node ( say a million nodes and some GB's of data altogether). I would like to know are there any potential issues in creating millions of nodes ? Also I would like to know whether we can configure JBoss cache such that it can use only a certain amount of memory ( say 2 GB ) and above which eviction kicks in ( or something similar happens) so that there will not be a case of out of Memory exception. I am aware of the fact that we can limit the max number of nodes but need to know whether there are other solutions to minimize memory related issues. Thanks in advance. -Vinay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213707#4213707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Using DataType Object as a Key to JBoss Cache
Thank you very much for your reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213705#4213705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'
Let's see if we can find something in the logs. In my server.log file (under %JBOSS_HOME%/server/< serverName>/log folder) i see this: anonymous wrote : 2009-02-27 17:07:51,666 DEBUG [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Setting up org.jboss.resource.adapter.jms.inflow.jmsactivations...@2c0b34(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@5df015 destination=queue/tutorial/example destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/tutorial/Junk DLQUser=null DLQMaxResent=5) | | ... | | 2009-02-27 17:07:51,670 DEBUG [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Using context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces} for org.jboss.resource.adapter.jms.inflow.jmsactivations...@2c0b34(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@5df015 destination=queue/tutorial/example destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/tutorial/Junk DLQUser=null DLQMaxResent=5) | The queue/tutorial/Junk is my custom DLQ configured on the MDB: @MessageDriven(activationConfig = | { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), | @ActivationConfigProperty(propertyName="destination", propertyValue="queue/tutorial/example"), | @ActivationConfigProperty(propertyName="DLQJNDIName", propertyValue="queue/tutorial/Junk") | }) | public class ExampleMDB ... | What do your logs show? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213689#4213689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213689 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Freeze and Server killed without any logs
I would like to thank you for the explanation. I finally made it with less memory ! So now I use these arguments: -Xms256m -Xmx256m -XX:MaxPermSize=128m And it works fine for the moment ^^ But the weird thing is that the memory used is still higher than the memory I allocated to the process: total used free sharedbuffers cached | Mem: 10242241014552 9672 0 1740 191352 | -/+ buffers/cache: 821460 202764 | Swap:0 0 0 | But it works !! So thank you very much for your help :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213674#4213674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: SAR - EJB dependencies
David, conseguiste arreglar esto? Estoy trabajando en conseguir hacer lo mismo. Gracias!! Did someone solved this? I'm working in doing the same and I can't find any information. Thanks!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213673#4213673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - PVM HibernateLongVariable
Hi, I encounter following problem in PVM. TypeMapping for HibernateLongInstance has a ClassNameMatcher with "hibernate" as claa name and not HibernateLongIdMatcher. I have used default pvm.variable.types.xml Where is the problem? I think that xml does not configure another than ClassNameMatcher. Thanks for reply Fero View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213671#4213671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss as a Service on Windows XP has an issue
Why not just fixing your path? Either remove the trailing slash, or change the order so that it doesn't appear last (C:\Lang\JProbe 7.0\bin\). I guess the problem is that the trailing slash followed by '"' escapes the double quote in JAVA_OPTS thus breaking the command line. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213660#4213660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessagingPostOfficeService MBean View on jmx-console is
Yeah, I think so. The web doesn't handle the Element type correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213649#4213649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Starting JBoss as a Service on Windows XP has an issue
Hi All, I have installed JBoss4.2.2 as a service on Windows XP . So that we can start or stop JBoss AS as a window service. I faced problem that whenever trailing backslash ("\") appears at the end of value of PATH (PATH in "system variables" not in "user variables") For e.g. PATH =%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\MSSQL7\BINN;C:\PROGRA~1\ULTRAE~1;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Lang\JProbe 7.0\bin\ JBoss will not start as a windows service. As per my observation its a bug of service wrapper of JBoss4.2.2 "jbosssvc.exe" JBoss 4.2.2 AS starts well as a service if value of PATH( system variable) is without backslash "\" at the end. like below : PATH =%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\MSSQL7\BINN;C:\PROGRA~1\ULTRAE~1;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Lang\JProbe 7.0\bin Run.log is shown below when JBoss 4.2.2 AS is not able to start as a service: Please help me to fix this issue,if there is any other solution please suggest me. Thanks in Advance Parag Goyal === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\Lang\JBoss\jboss-4.2.2.GA | | JAVA: C:\Lang\Java\jdk1.6.0_03\bin\java | | JAVA_OPTS: -Djava.library.path="C:\Lang\JBoss\jboss-4.2.2.GA\bin\native;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\Program Files\MKS\IntegrityClient\bin;C:\Lang\MKS\IntegrityClient\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;C:\PROGRA~1\ULTRAE~1;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Lang\JProbe 7.0\bin\" -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: C:\Lang\Java\jdk1.6.0_03\lib\tools.jar;C:\Lang\JBoss\jboss-4.2.2.GA\bin\run.jar | | === | | Usage: java [-options] class [args...] |(to execute a class) |or java [-options] -jar jarfile [args...] |(to execute a jar file) | | where options include: | -client to select the "client" VM | -server to select the "server" VM | -hotspot is a synonym for the "client" VM [deprecated] | The default VM is client. | | -cp | -classpath | A ; separated list of directories, JAR archives, | and ZIP archives to search for class files. | -D= | set a system property | -verbose[:class|gc|jni] | enable verbose output | -version print product version and exit | -version: | require the specified version to run | -showversion print product version and continue | -jre-restrict-search | -jre-no-restrict-search | include/exclude user private JREs in the version search | -? -help print this help message | -Xprint help on non-standard options | -ea[:...|:] | -enableassertions[:...|:] | enable assertions | -da[:...|:] | -disableassertions[:...|:] | disable assertions | -esa | -enablesystemassertions | enable system assertions | -dsa | -disablesystemassertions | disable system assertions | -agentlib:[=] | load native agent library , e.g. -agentlib:hprof | see also, -agentlib:jdwp=help and -agentlib:hprof=help | -agentpath:[=] | load native agent library by full pathname | -javaagent:[=] | load Java programming language agent, see java.lang.instrument | -splash: | show splash screen with specified image View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213645#4213645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessagingPostOfficeService MBean View on jmx-console is
wild guess but I suspect that the XML configuration is mixed up with the HTML tag of the web console. Somehow, somewhere, the XML text is not properly escaped View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213643#4213643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Transaction Issue
Another configuration: | org.hibernate.dialect.Oracle10gDialect | org.hibernate.context.ThreadLocalSessionContext |oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@localhost:1521:XE | system | 123 | true 1, false 0 | org.hibernate.transaction.JTATransactionFactory | org.hibernate.transaction.JBossTransactionManagerLookup | same error. The Transaction Manager.. is specified for JBoss i think that i can't change it for another right?.. Thanks in advance for any reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213642#4213642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Advice setting JBoss Cache up loading from hibernate and
Hi Ian, I've an identical application architecture, but only with one GUI attached. My current approach is also based on JMS transporting POJO's from and to the a JBossAS using Hibernate as persistence provider. I was about to implement a system, that does all the sync stuff between the client and the server (I'm working with a quite large data-model; one data-model instance may consist of up to 250,000 entities; so load/update on demand, eviction of unused entities is an important point), when I was pointed to JBoss Cache. I came to the same conclusion, that I would need to implement a cache loader that performs the translation between the jboss cache and the hibernate operated data base. Did you have any success so far? Best Regards, Ron View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213638#4213638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Transaction Issue
Hi brads thanks for reply. I changed that properties too and many others to try something. this is the FULL Hiberante configuration ATM (plus all mapping resource hbm.xml that Jbpm need): | org.hibernate.dialect.Oracle10gDialect | org.hibernate.context.ThreadLocalSessionContext | java:/JbpmDS | org.hibernate.transaction.JTATransactionFactory | org.hibernate.transaction.JBossTransactionManagerLookup | As you can see i'm using now just the DataSource specified as tx-local (see the post above), and getting the same error with only the DataSource not jdbc properties spefied in the Hibernate.cfg. I can still loggging in the console, but as usual can't get task or users or insert a new user or group via conosole. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213627#4213627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessagingPostOfficeService MBean View on jmx-console is
I think it's jboss-web issue, I'll post to the relevant forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213626#4213626 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessagingPostOfficeService MBean View on jmx-console is
This problem is also with the ServerPeer MBean View (clustering case). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213619#4213619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to keep files in temporary deployment
"dada051" wrote : | | My application creates files in the temp deployement directory. | | Thanks Do not create in temp directory. Instead you can go for exploded deployment. That way your files can be created in the exploded directory of your application in the deploy folder (and will not be deleted during shutdown). See this for details http://www.jboss.org/community/docs/DOC-9719 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213616#4213616 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Timeout running a minimal configuration of JBoss 5.0.0.G
Hi Max, That worked just fine thanks, I didn't realise you could double click on the server! As an FYI, when I created my own configuration, (cp -rp minimal blacktie) and then edit the server properties, I needed to do the following as well: mkdir /home/tom/blacktie/utils/jboss-5.0.0.GA/server/blacktie/tmp/jbosstoolsTemp Also the properties editor would not allow me to save until I had set a web port (I had deleted the Xpaths for ports I was not using to see if this was how the server was being detected for "aliveness") so changed this to the IIOP listener (which I have deployed in the Blacktie configuration and so the port would exist if the tools require the port to be valid. Thanks again for your help! Tom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213614#4213614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user