[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
Thank you very much. That was the problem, but in a more indirect way. The .classpath file in the xxx-ejb project had an entry of; when I removed the excluding attribute and reopened the Hibernate Configurations view, it worked fine. I wonder how the excluding attribute got added though ? I dont hack the .classpath files for Eclipse projects in any way. Perhaps consider annonating the error message with a is META-INF/persistence.xml in the classpath style hint ? Thanks again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215123#4215123 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
anonymous wrote : So at a later point of time, will the attachment of MyType be passed on to the available deployers? Yes it will. I did not put up my question correctly. Let me just debug through the issue that i am running into, before maybe posting the correct question. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215126#4215126 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Connetion timeout in jboss
Hi Jaikiran, We have a HTTPUnit module that sits inside an EAR along with some EJBs and all. The servlet would invoke a HTTPUnit class for fetching some information from few websites. This HTTPUnit class would fill some web forms in 2rd party websites and submit them. The servlet would get the response and send it back to the caller. Fails means : Connection timed out exception. This happens after 2-3 days mostly. | 2009-03-02 00:56:52,090 ERROR [net.tss.vendors.f1800.statemachine.F1800OrderUtility] placeBillingDetails() [Order ID: 10332, Customer ID: luke.m...@ymail.com] Ex : placeBillingDetails() | java.net.ConnectException: Connection timed out | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1227) | at java.security.AccessController.doPrivileged(Native Method) | at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1221) | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:910) | at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) | at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getResponseCode(HttpsURLConnectionOldImpl.java:288) | at com.meterware.httpunit.HttpWebResponse.readResponseHeader(HttpWebResponse.java:162) | at com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:200) | at com.meterware.httpunit.HttpWebResponse.init(HttpWebResponse.java:56) | at com.meterware.httpunit.HttpWebResponse.init(HttpWebResponse.java:67) | at com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:76) | at com.meterware.httpunit.WebWindow.getResource(WebWindow.java:164) | at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:128) | at com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:184) | at com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:252) | at com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:485) | at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:146) | at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130) | at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121) | at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:144) | at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130) | at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121) | at com.meterware.httpunit.WebWindow.sendRequest(WebWindow.java:110) | at com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:255) | at com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:232) | at com.meterware.httpunit.WebForm.submitRequest(WebForm.java:96) | at com.meterware.httpunit.WebForm.doFormSubmit(WebForm.java:107) | at com.meterware.httpunit.WebForm.submit(WebForm.java:69) | at com.meterware.httpunit.WebForm.submit(WebForm.java:58) | at net.tss.vendors.f1800.statemachine.F1800OrderUtility.placeBillingDetails(F1800OrderUtility.java:952) | at net.tss.app.statemachine.OrderProcessor.doPlaceBillingDetails(OrderProcessor.java:252) | at net.tss.vendors.f1800.statemachine.F1800OrderProcessorContext$F1800OrderStateMachine_Default$F1800OrderStateMachine_PlaceBillingDetails.Entry(F1800OrderProcessorContext.java:482) | at net.tss.vendors.f1800.statemachine.F1800OrderProcessorContext$F1800OrderStateMachine_Default$F1800OrderStateMachine_PlaceShippingDetails.next(F1800OrderProcessorContext.java:424) | at net.tss.vendors.f1800.statemachine.F1800OrderProcessorContext.next(F1800OrderProcessorContext.java:25) | at net.tss.app.statemachine.OrderProcessor.next(OrderProcessor.java:89) | at net.tss.app.statemachine.OrderProcessor.fetchPrices(OrderProcessor.java:116) | at net.tss.app.ejb.mdb.beans.OrderUnitProcessor.onMessage(OrderUnitProcessor.java:125) | at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
jaikiran wrote : anonymous wrote : So at a later point of time, will the attachment of MyType be passed on to the available deployers? | | Yes it will. | Sure, that's the whole point of attachments. jaikiran wrote : | I did not put up my question correctly. Let me just debug through the issue that i am running into, before maybe posting the correct question. | :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215129#4215129 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Bridge error because of network problems also influences oth
Hi Tim, Hi Howard. Its me again and I a remoting problem. I am using JBM 1.4.2.GA.SP1 with remoting SP11Brew. I have 4 Jboss 4.2.3GA instances A B C X (non clustered) A C and X are running on the same machine (OVSPC186) using different ports (development) B is running on a different one. (NVC1218) On X I have configured 2 Bridges to each other instance where one is sending data to the instance and the other one receives data from the instance. So I have 6 Bridges deployed on X. Bridge QOS level set to 2 means XA. The whole system works fine sending messages around. Now a strange thing happens: I kill the remote instance B or unplug network cable to simulate network errors. Then the expected thing happens. The bridges to B detect the erros and retry in my defined time of 50s. BUT somehow also the other bridges crashing now. I would assume that they are NOT influenced on that B instance problem. When I kill the local instance A or C I never saw this behavior. This is reproduceable and I thing I have noticed that while I have tested the upgrade from 1.4.0.SP3 to 1.4.0.SP3.CP04 ( in production I am using 1.4.0.SP3 ) The stacktraces and output of the logger: Detection of instance B problems | 09:09:43,546 WARN [Bridge] jboss.messaging:name=OutgoingBridge_AeosB,service=Bridge Detected failure on connection | javax.jms.JMSException: Failure on underlying remoting connection | at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:102) | at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:641) | 09:09:49,515 ERROR [SocketClientInvoker] Got marshalling exception, exiting | java.net.SocketException: Connection reset | at java.net.SocketInputStream.read(SocketInputStream.java:168) | at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293) | at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331) | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789) | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746) | at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | at java.io.BufferedInputStream.read(BufferedInputStream.java:237) | at java.io.FilterInputStream.read(FilterInputStream.java:66) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:988) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:621) | at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:422) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:133) | at org.jboss.remoting.ConnectionValidator.doCheckConnectionWithLease(ConnectionValidator.java:548) | at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:328) | at java.util.TimerThread.mainLoop(Timer.java:512) | at java.util.TimerThread.run(Timer.java:462) | 09:09:49,578 ERROR [SocketClientInvoker] Got marshalling exception, exiting | java.net.SocketException: Connection reset | at java.net.SocketInputStream.read(SocketInputStream.java:168) | at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293) | at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331) | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789) | at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746) | at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | at java.io.BufferedInputStream.read(BufferedInputStream.java:237) | at java.io.FilterInputStream.read(FilterInputStream.java:66) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:988) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:621) | at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:422) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:133) | at org.jboss.remoting.LeasePinger.stopPing(LeasePinger.java:93) | at org.jboss.remoting.MicroRemoteClientInvoker.terminateLease(MicroRemoteClientInvoker.java:353) | at org.jboss.remoting.ConnectionValidator$WaitOnConnectionCheckTimerTask.run(ConnectionValidator.java:693)
[jboss-user] [JBoss Messaging] - Re: non-serializable XAResource error from JBoss Messaging -
I'm not sure this has anything to do with JBoss Messaging. The guys on the transaction forum should be able to help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215131#4215131 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
The xml snippet got quoted out - what was in it ? With respect to errors, yeah - we could make it better. Could you report it in jira so we don't forget ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215137#4215137 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
.classpath entry; View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215138#4215138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
Some further test: I also tried to kill instance A, so a local instance. Then also C is influenced once. After my 50s retrytime the bridge to C is back again. (no, C is not the problem. It also happes the other way round) After restarting instance A the connection from X to A is reestablished but then it failed 2 time again with messages like the example above. Between the reconnect and disconnect it always took around 3 seconds: | 09:44:41,421 INFO [Bridge] jboss.messaging:name=OutgoingBridge_AEOSA,service=Bridge Succeeded in reconnecting to servers | 09:44:44,437 WARN [Bridge] jboss.messaging:name=OutgoingBridge_AEOSA,service=Bridge Detected failure on connection | javax.jms.JMSException: Failure on underlying remoting connection | at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:102) | at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:641) | 09:44:44,484 ERROR [ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[c7-xv1z6xrf-1-k6dr6xrf-d1wvvl-2227p4]: method getXAResource() did not go through, the interceptor is CLOSED | 09:44:44,484 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.rollbackxaerror] [com.arjuna.ats.internal.jta.resources.arjunacore.rollbackxaerror] XAResourceRecord.rollback - xa error XAException.XAER_NOTA | 09:44:44,484 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_54] - Top-level abort of action -5601fdfe:82d:49af8f92:ea received TwoPhaseOutcome.FINISH_ERROR from ClassName:RecordType.JTA_RECORD | 09:44:44,484 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.rollbackxaerror] [com.arjuna.ats.internal.jta.resources.arjunacore.rollbackxaerror] XAResourceRecord.rollback - xa error XAException.XAER_NOTA | 09:44:44,484 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_54] - Top-level abort of action -5601fdfe:82d:49af8f92:ea received TwoPhaseOutcome.FINISH_ERROR from ClassName:RecordType.JTA_RECORD | 09:44:44,484 WARN [Bridge] jboss.messaging:name=OutgoingBridge_AEOSA,service=Bridge Will retry after a pause of 5 ms | 09:45:34,609 INFO [Bridge] jboss.messaging:name=OutgoingBridge_AEOSA,service=Bridge Succeeded in reconnecting to servers | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215139#4215139 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
Argh.. classpathentry excluding=META-INF/|META-INF/ kind=src path=ejbModule/ I'll create a JIRA ticket. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215140#4215140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Opening a new JMS session for an already existing transa
If you are using an XASession then you can join an already running tx if you know the Xid, just specify the Join flags: | XAResource res = xaSession.getXAResource(); | res.start(xid, XAResource.TMJOIN); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215141#4215141 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP resources URLs
Thanks for your response. It's a bad news for us. All our resources are given by dynamic URL (we use JSF). We will consider a new solution for our resources. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215143#4215143 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
yeah that exclusion looks really really weird. How was this project created exactly ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215145#4215145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
So here's the real question :) Do attachments to component contexts of an unit get treated the same way? Do these attachments to component contexts get passed onto the deployers? From what i see this is not the case. Here's the example: // This one doesn't do much and is not of much relevance in this | // example. It just creates a component which can be consumed | // by our component deployer (MyComponentDeployer - see next) | public class TestDeployer extends AbstractDeployer | { | |public TestDeployer() |{ | setStage(DeploymentStages.POST_CLASSLOADER); | // this is our output which is consumed by MyComponentDeployer | setOutput(TestAttachment.class); | // some input - not relevant in this example | setInput(JBossMetaData.class); |} | | // creates a component to the unit and adds an attachment to the component | // so that the MyComponentDeployer can consume it |public void deploy(DeploymentUnit unit) throws DeploymentException |{ | DeploymentUnit comp = unit.addComponent(something); | comp.addAttachment(TestAttachment.class, new TestAttachment(hello)); | logger.info(Added attachment to component in unit + unit); |} | } | // This one is important - this deployer is a component only deployer | // and works on the component that was created by our earlier TestDeployer | public class MyComponentDeployer extends AbstractDeployer | { | | |public MyComponentDeployer() |{ | setStage(DeploymentStages.REAL); | // the attachment that was added to the component by our earlier deployer | // will be our input | setInput(TestAttachment.class); | // we work only on components | setComponentsOnly(true); |} | | // Here we just add an attachment to the unit (which acutally is an component) | // Any further deployers (MyFinalDeployer - see next) will use this attachment | // as input |public void deploy(DeploymentUnit unit) throws DeploymentException |{ | logger.info(Deploying unit : + unit); | // doesn't work | unit.addAttachment(AnotherType.class, new AnotherType()); |} | | } | | // This one (tries to) consumes the attachment that was added by the component | // deployer (see above) | public class MyFinalDeployer extends AbstractDeployer | { |private static Logger logger = Logger.getLogger(OneMoreDeployer.class); | |public MyFinalDeployer() |{ | setStage(DeploymentStages.REAL); | // the attachment that was added by the component deployer | setInput(AnotherType.class); | |} | | // never reaches here. |public void deploy(DeploymentUnit unit) throws DeploymentException |{ | logger.info(Deploying another type + unit); | |} | | } | | | There are 3 deployers involved here: 1) The TestDeployer creates a component to an unit and also attaches an attachment to the component (works fine) 2) The MyComponentDeployer consumes this component context and additionally creates an attachment to it (works fine/or maybe not). 3) MyFinalDeployer is supposed to consume the attachment created in #2, but it never does. This deployer is considered not relevant. The only way i could get this to work was to add the attachment to the parent of the component context in #2. So: public class MyComponentDeployer extends AbstractDeployer | { | | // I don't know why i need to add the attachment to the | // parent. But it works, so let's for the time being do that |public void deploy(DeploymentUnit unit) throws DeploymentException |{ | logger.info(Deploying unit : + unit); | // here - i'm clueless, the attachment needs to be added to parent for some reason | // Note, this is a component deployer and works on component context | unit.getParent().addAttachment(AnotherType.class, new AnotherType()); |} | | } | Doing this makes MyFinalDeployer (in #3) relevant and the unit is passed on the deploy method of MyFinalDeployer. So the question is - what am i missing? :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215152#4215152 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WebServices logging
The documentation clearly says the Record Management is available starting from version 2.0.3. Which version of JBossWS are you using? The version that comes with JBoss 4.2.2.GA is 2.0.1.SP2, thus if you did not change anything about that, you would simply need to upgrade to a more recent version. In that case, take a look at the supported target containers matrix : http://jbossws.jboss.org/mediawiki/index.php?title=Supported_Target_Containers This said, for a simple use of the Record Management with Native stack you don't need to do anything special besides going to the JMX console and activate the recording flag in the already installed LogRecorder instance for you endpoint. No implementation required, no changes to the endpoint config required (assuming you're using one of the provided endpoint configuration). The LogRecorder will simply log every message going through your endpoint into your server.log. Further customization and usescases are explained in the documentation, I'm sure you'll understand everything easily once you have that stuff (i.e. you using a jbossws version that has that). Also consider taking a look at the testcases in the sources, package org.jboss.test.ws.management.recording. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215153#4215153 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Service Bean - Strange behaviour on redeploy
Because for the moment message order is critical, and allows us to design/test both source and destination systems knowing that message order is preserved. Eventually we will use MDB's (for performance reasons) but they will still need to be sorted/processed at a central location, which will most likely be a service bean in our case. Regardless of this fact, the issue clearly lies in that a service bean behaves differently depending on whether it is deployed for the first time or it is redeployed. This should not be the case, surely behaviour should be the same in either instance? I guess the question I really want to ask is, is this a bug? Has anyone seen this type of behaviour before? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215154#4215154 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
I also noticed then that in this case above where the message bridge is reconnected no messages are send anymore. I debugged in the code because I first thought that the BatchTimeChecker was failing. But this works fine. I also see that the message list was empty. Then I created a new message on instance A and checked if the Bridge$SourceListener.onMessage() is called. BUT IT ISN'T! What in hell is the problem :-) From outside it seems that the Bridge is working but the messages are not received by the Message Bridge! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215155#4215155 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
It was created using Eclipse 3.4.1/Seam 2.1.1 CR2/JBT 3.0.0 CR1, selecting the New/Seam Web project option and building as an EAR. That generated the four standard projects which worked fine. I then added some jBPM artefacts following the instructions in Chapter 14 of the Seam In Action book, but as I said, no direct editing of .classpath files. Had to upgrade to Eclipse 3.4.2 for other reasons so rebuilt the dev. environment with Seam 2.1.1 GA/JBT 3.0.0 CR2 and imported the project into this new env. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215156#4215156 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
Did you give each node a unique serverpeerid? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215157#4215157 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
jaikiran wrote : | So the question is - what am i missing? :) Your #3 deployer is not a component deployer. Your #2 puts attachment into component, hence it's only component deployers that can see that. Component deployers should mostly consume attachments not creating them - hence the name component. ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215158#4215158 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
Hi Tim A What a stupid beginner error! Someone else changed the configuration scripts which creates the deployment files and I have not checked it because it worked before. Ok now I can explain most of the errors. I have to retest. Results are postet to this thread sorry for time stealing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215159#4215159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
alesj wrote : | | Your #3 deployer is not a component deployer. | That's correct. alesj wrote : | Your #2 puts attachment into component, | hence it's only component deployers that can see that. | Any specific reason for this special treatment? Because after all that is a simple attachment (and not a component) and hence i was considering that it would be visible to non-component deployers. alesj wrote : | Component deployers should mostly consume attachments | not creating them - hence the name component. ;-) And i thought the name component was because they work on components rather than what output they generate :) So would that mean, the attachment generated by a component deployer is of no pratical use to non-component deployers? So would this be a clean way of doing things in a component deployer: | public void deploy(DeploymentUnit unit) throws DeploymentException |{ | logger.info(Deploying unit : + unit); | | // Am i deploying a component? | if (unit.isComponent()) | { | // yes, i am deploying a component | ... | // should my attachments be visible to non-component deployers? | if (shouldMyAttachmentsBeVisibleToAll()) | { | // should be visible to all, so add to parent | unit.getParent().addAttachment(something,someotherthing); | } | else | { | // only to component deployers | unit.addAttachment(something,someotherthing); | } | | } | |} View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215160#4215160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed
We don't use JBoss admin console for our portal. We have developped our proper simple admin portlets. In my scenario i notice that : - the table JBP_ENDPOINT_INFO contain : 2 | MUST BE SET | MUST BE SET | (null) | (null) | http://localhost:8180/portal-wsrp/MarkupService?wsdl - the table JBP_PRODUCER_INFO contain : 1 | 2 | 3 | 300 | 0 | prodID - during consumer start, this message appears : Added consumer for producer 'prodID' with status: inactive (loaded from database). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215161#4215161 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
alesj wrote : | Your #3 deployer is not a component deployer. | Just as a FYI - making my #3 deployer a component deployer did get it working. The #3 deployer was give the chance of deploying the deployment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215162#4215162 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem
just weird that the exclusion is there - we don't add it afaik (our tests would fail if we did) hence trying to understand how it got there... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215163#4215163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
Hi Tim! Sorry... forget my last mail! My fault. One Server was startet 2 times or at least the old output was shown so I thought the serverpeers are the same. BUT THEY DON'T . 4 Servers 4 ServerPeers. Behaviour retested and still happens Have not tested this A SourceListener Issue yet But I definatly see the crahing connections on none related bridges like my first posts. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215164#4215164 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - couldn't find process definition ERROR
I add JBPM to the Project of Hibernate ,Spring and Struts. In the Struts Action, I could deploy the ProcessDefinition to the database(MySQL),but when I try to get the ProcessDefinition or deploy a new version of ProcessDefinition, the error occurs: Here is the code: | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition(testProcess2); | ProcessInstance instance = processDefinition.createProcessInstance(); | instance.signal(); | jbpmContext.save(instance); | jbpmContext.close(); THE ERROR show as: javax.servlet.ServletException: couldn't find process definition 'hello' org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) Parent().addAttachment(something,someotherthing); } else { // only to component deployers unit.addAttachment(something,someotherthing); } } } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215167#4215167 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss configuration with Microsoft Sharepoint Server
Hi I am working with JBoss Portal 2.7.1 and Sharepoint 2007. The weather portlet is rendered in Sharepoint but i still get some problems. If i change the zipcode, the portlet still show me the weather of Miami (and yes the weather is nice today). Miami is the default location. So i have tried with the HelloWolrJSPPortlet. Again the portlet is well rendered but when i enter a message, i get a HTTP 404 error: the page cannot be found. JBoss Logs show no error. It seems like JBoss does not receive any information from Sharepoint View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215174#4215174 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Timeout on node -- possible??
Configure an expiration policy. This way you can specify when objects expire. In addition, you should change the EvictionActionPolicy from the default (only evict from memory) to the RemoveOnEvictActionPolicy. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215178#4215178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed
Any specific reason why you're not using our admin portlets? There are some WSRP administration operations that can only be done via the WSRP admin portlet, in particular, activating an inactive producer. Note also that the XML file is only used to seed the database. If a producer with a given name is found in the database, any information pertaining to a producer with the same name in the XML configuration will be ignored. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215180#4215180 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Tasks need to done by multiple users
How we can do in the jbpm engine to perform task by all multiple users. Currently I am using pooled-user attribute of assign as given below. assignment pooled-actors=a, b, c but from the jbpm-console it is not possible to assign this task to all the users ( a, b ,c ) at a time. Secondly if assigned user will start it and finished it. It will be ended. How we can do this, when we want to perform a task from multiple users? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215181#4215181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
And the last issue that the messages are NOT delivered anymore after the queue has reconnected is also true. Now this happens on C which were never stopped but lost connection while B has restarted. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215185#4215185 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Configuring connection factories
Hi I am using Jboss AS 5.0.0GA. I see connection factory definitions in two files messaging/jms-ds.xml and messaging/connection-factories-service.xml. What is the difference between those two configurations? which one should I use if I were to create new a connection factory I am new to jboss. Pardon me if its too naive. Thank you mkp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215186#4215186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Restart JBOSS is required if server time is changed?
I had a doubt that will a re-start of of our application which has JBOSS as the AS and TOMCAT as the web server be required if there is a change in server time? Our Server OS is RHEL 4.0(Linux). The server time is probably behind the time by 15 mins. I hope, my question is clear. Please, help in solving the doubt. regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215189#4215189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with Visual Page Editor using JBoss Developer St
Thanks for the reply. The JBoss Developer studio is part of the JBoss-Ingres bundle so I didn't take it from the site. How do I go about fixing this - I probably need to get the XULRunner plugin for this version of Eclipse but can't find it. Any ideas anybody?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215176#4215176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
jaikiran wrote : | So would that mean, the attachment generated by a component deployer is of no pratical use to non-component deployers? | No, that's exactly what I'm trying to explain. Component deployers should only consume attachments, not create/generate them. jaikiran wrote : | So would this be a clean way of doing things in a component deployer: | | | | public void deploy(DeploymentUnit unit) throws DeploymentException | |{ | | logger.info(Deploying unit : + unit); | | | | // Am i deploying a component? | | if (unit.isComponent()) | | { | | // yes, i am deploying a component | | ... | | // should my attachments be visible to non-component deployers? | | if (shouldMyAttachmentsBeVisibleToAll()) | | { | | // should be visible to all, so add to parent | | unit.getParent().addAttachment(something,someotherthing); | | } | | else | | { | | // only to component deployers | | unit.addAttachment(something,someotherthing); | | } | | | | } | | | |} | | The moment you're hacking with getParent::addAtachment you know there is something wrong with how you're doing it. I know we have something like that in our JPA deployers. :-( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215187#4215187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with Visual Page Editor using JBoss Developer St
XULRunner is available here: http://download.jboss.org/jbosstools/updates/development/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215192#4215192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Client connection timeout
Hi, I've seen a few posts related to this and to JBREM-1069. We're running a trial version of JBoss EAP 4.3 and the JBoss Remoting patch 2.2.2SP11-brew - which is supposed to contain that fix. We're seeing this on the client side - in the remoting-bisocket-service.xml I've increased the timeout to 5s. The RemotingConnection is showing this value, but the ConnectionValidator is showing a timeout of 1s and a ping period of 1s. How do we change these values and the number of retries? We are seeing timeouts with the client thinking that the connection has disappeared. This triggers a client failover, which times out as, in fact, the cluster is still OK. Thanks. anonymous wrote : | 2009-03-03 15:55:43,605 TRACE [org.jboss.jms.client.remoting.JMSRemotingConnection] (main) JMSRemotingConnection[bisocket://192.168.8.118:4457/?JBM_clientMaxPoolSize=200clientLeasePeriod=15000clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapperdataType=jmsmarshaller=org.jboss.jms.wireformat.JMSWireFormatnumberOfCallRetries=1numberOfRetries=10pingFrequency=214748364pingWindowFactor=10socket.check_connection=falsestopLeaseOnFailure=truetimeout=5000unmarshaller=org.jboss.jms.wireformat.JMSWireFormatvalidatorPingPeriod=1validatorPingTimeout=5000] started | 2009-03-03 15:55:43,605 TRACE [org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate] (main) Adding callback | 2009-03-03 15:55:43,609 DEBUG [org.jboss.remoting.ConnectionValidator] (main) ConnectionValidator[null, pingPeriod=2000 ms] created | 2009-03-03 15:55:43,609 TRACE [org.jboss.remoting.ConnectionValidator] (main) config timeout: null | 2009-03-03 15:55:43,609 DEBUG [org.jboss.remoting.ConnectionValidator] (main) ConnectionValidator[null, pingPeriod=2000 ms] timeout: 1000 | 2009-03-03 15:55:43,609 DEBUG [org.jboss.remoting.ConnectionValidator] (main) ConnectionValidator[null, pingPeriod=2000 ms] ping retries: 1 | 2009-03-03 15:55:43,610 DEBUG [org.jboss.remoting.ConnectionValidator] (main) ConnectionValidator[null, pingPeriod=2000 ms] connection retries: null | [/quote View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215194#4215194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?
alesj wrote : | Component deployers should only consume attachments, | not create/generate them. | I wasn't aware of this. And given that the component deployers work on a DeploymentUnit which provides the addAttachment API, i assumed that it would behave the same as other deployers. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215197#4215197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Create Portlet with Eclipse and now?
Hallo, I create a Portlet in a Dynamic Web Project with Eclipse. If i click on run on server, eclipse start a server and deploy my portlet. But now i will that my created portelt work on an another jboss portal on an other jboss server. How can i great a .war or .sar or .ear to switch my portlet from one server to an another server? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215198#4215198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed
We are software editor and we distribute àportal with specific and limited admin portlets (with look and feel redefinition). For me, during JBoss start (wsrp services start), all producers recorded in the database and new producers of the xml should be contacted. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215199#4215199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
You must create a build script using Apache Ant or Apache Maven, in this way you can run the build script from any IDE (Eclipse, NetBeans, etc...). Your script need to create a WAR or a EAR package. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215203#4215203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Injection of QueueConnectionFactory and Queue from ENC i
Thanks for adding this to wiki :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215204#4215204 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss tomcat issue ...?
gmaheshwari wrote : Hi, I am facing an issue while running the project in Net Beans with Jboss server 4.0. The server log states that : | | ERROR [Tomcat5] Problem in init | java.util.zip.ZipException: unexpected EOF | | The error is while deploying my application .war file from D:\program_files\jboss\server\default\deploy\Application.war | | Please help me out. | | Thanks in advance.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215205#4215205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ant.jar in JBOSS Application server
I want to replace some text in the one of the file in war file that I have deployed in JBOSS AS. For this I am using ANT tool. But I do not want to use all files of ANT tool. I will be using only ant.jar and ant-launcher.jar files for replacing text. Can I copy only ant.jar and ant-launcher.jar to JBOSS AS lib folder and invoke my build file whenever I need? Build file will be placed in outside JBOSS AS folder.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215207#4215207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tasks need to done by multiple users
create multiple similar tasks like in http://www.jboss.org/community/docs/DOC-9766 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215210#4215210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
Hi Piergiorgiolucidi, I think you can help me out. !...I am facing the issue while running my application with Jboss in netbeans Earlier I was running my application using Tomcat server in NetBeans. If I am deploying only then it is fine but when running with jboss an error and exception occurs: 15:23:45,343 ERROR [Tomcat5] Problem in init java.util.zip.ZipException: unexpected EOF at java.util.zip.ZipInputStream.read(ZipInputStream.java:166) at java.util.jar.JarInputStream.read(JarInputStream.java:177) at org.jboss.util.file.JarUtils.unjar(JarUtils.java:300) at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:325) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) . . . . .Please help me out. Thanks in avdance.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215212#4215212 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
another hint.. Maybe helps. I have no Idea what this means. If i stop the bridge which seems to hang and start it again I got some strange messages in my logfile: | 12:04:33,640 WARN [ClientConsumer] Timed out waiting for last delivery 4 got 1 | 12:04:33,843 WARN [LeasePinger] LeasePinger[SocketClientInvoker[6d7809, sslbisocket://OVSPC186:34457](4p7222-46h04s-frx8po6g-1-frx8uqso-3l)] tried to remove lease for client with session ID 4p7222-46h04s-frx8po6g-1-frx8vzo4-4t, but no such lease was found | 12:04:33,890 INFO [BridgeService] Stopped bridge BridgeService | 12:05:16,671 INFO [BridgeService] Started bridge BridgeService. Source: /queue/local_incomingSyncRequests Target: /queue/incomingSyncRequests | Then the messages are transported again View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215214#4215214 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ant.jar in JBOSS Application server
anonymous wrote : Can I copy only ant.jar and ant-launcher.jar to JBOSS AS lib folder and invoke my build file whenever I need? Build file will be placed in outside JBOSS AS folder.. Why do you want to place those in the JBoss lib folder? And when you say you are replacing text, are you doing this programatically? I am a bit confused, because Ant is an external build tool and i don't see a direct relation between it and the AS. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215216#4215216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss tomcat issue ...?
gmaheshwari, Your issue different from what the original poster has reported. Please open a new thread to discuss your issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215222#4215222 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
Maybe your application must be deployed when server is shutdown, I think is a big application (many resources). So the deployer thread start before you have copied all the files, I think you can solve trying to deploy this application restarting JBoss. Have you tried in this way? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215227#4215227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Client connection timeout
You need 2.2.2.SP12 (yet to come i think) or you need JBoss Messaging 1.4.0_sp3-CP05 or above. Pls check out the following jira issues for details. https://jira.jboss.org/jira/browse/JBREM-1082 https://jira.jboss.org/jira/browse/JBMESSAGING-1482 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215226#4215226 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Implementing WS-Security Usename Token Profile Authenticatio
Hi All, The below mentioned steps will help you implementing WS-Security Usename Token Profile on for POJO based Webservices. This example is done with JBOSS 4.2.3 AS with JBOSS Native WS 3.1.0. Assumptions 1. This is a step by step example of implementing the Username Token Authentication Profile of WS Security (based on http://xml.coverpages.org/WSS-UsernameTokenProfile-20040315.pdf ) using the JBOSS WS version 3.1.0. 2. JBOSS AS version 4.2.3 is installed. 3. JBOSS WS 3.1.0 is deployed onto the JBOSS AS by following the instructions in the location http://www.jboss.org/file-access/default/members/jbossws/downloads/Install-jbossws-native-3.1.0.GA.txt 4. The web service implementation is already created using the Top Down approach. 5. JBOSS_HOME is the home directory of JBOSSAS where jboss-4.2.3.GA is unzipped. 6. While writing the WS Service Client we assume that the client side stubs are already provided. 7. Username and Password used in this implementation is the JBOSS default username and password (kermit=thefrog) Steps - Server Side 1. Add the annotation @SecurityDomain(JBossWS) to the implementation class of web service. a. This requires the importing of the package org.jboss.annotation.security.SecurityDomain to the web service and hence will need the jar jboss-annotations-ejb3.jar in the classpath of your application. This jar is available in the JBOSS_HOME/client directory. b. This security domain (JBossWS )should be available under the application policy category in the login configuration xml file in JBOSS_HOME/server/default/conf/login-config.xml. (I guess it should be possible to add a custom security domain by adding a separate application policy configuration on to this file. But I have not tested it though. ) 2. Create a file jboss-web.xml under the WEB-INF directory of your application and add the following content to the XML file. ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 2.4//EN http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd; | jboss-web | | security-domainjava:/jaas/JBossWS/security-domain | context-root/CONTEXT_ROOT_OF_YOUR_APP/context-root | /jboss-web | 3. Copy the file standard-jaxws-endpoint-config.xml from the location JBOSS_HOME\server\default\deploy\jbossws.sar\META-INF to the META-INF directory of your application and edit it as follows. a. Remove all the endpoint config elements (endpoint-config) except the one with the config name (Standard WSSecurity Endpoint). Your standard-jaxws-endpoint-config.xml should look like this. | ?xml version=1.0 encoding=UTF-8? | jaxws-config xmlns=urn:jboss:jaxws-config:2.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:javaee=http://java.sun.com/xml/ns/javaee; | xsi:schemaLocation=urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd | endpoint-config | config-nameStandard WSSecurity Endpoint/config-name | post-handler-chains | javaee:handler-chain | javaee:protocol-bindings##SOAP11_HTTP ##SOAP11_HTTP_MTOM/javaee:protocol-bindings | javaee:handler | javaee:handler-nameWSSecurity Handler/javaee:handler-name | javaee:handler-classorg.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer/javaee:handler-class | /javaee:handler | javaee:handler | javaee:handler-nameRecording Handler/javaee:handler-name | javaee:handler-classorg.jboss.wsf.framework.invocation.RecordingServerHandler/javaee:handler-class | /javaee:handler | /javaee:handler-chain | /post-handler-chains | /endpoint-config | 4. Create the Server side WSSE declaration (jboss-wsse-server.xml) file as per the Jboss WS 3.1.0 User guide (http://jbossws.jboss.org/mediawiki/index.php?title=WS-Security_options#POJO_Endpoint_-_Authentication_and_Authorization) in the WEB-INF directory of your application. The contents can be as given below or can be according to the above link if your want to provide role level security. | ?xml version=1.0 encoding=UTF-8? | jboss-ws-security xmlns=http://www.jboss.com/ws-security/config; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://www.jboss.com/ws-security/config | http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd; | config | authorize | unchecked / | /authorize | /config | /jboss-ws-security | 5. Export the application WAR file and deploy it in JBOSS. Your application should deploy successfully. Check the log file to know more details. Steps - Client Side To test the application's Web Service Security we can write a sample WS Client. Before that we need to edit jbossws-users.properties file in the location JBOSS_HOME\ server\default\conf\props because the
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
Thank for your reply... I have tried to restart the jboss server but no sucess I am using Jboss 4.0.4 and Netbeans 5.5. It is deploying the application.war file from the directory: D:\program_files\jboss\server\default\deploy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215235#4215235 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - JBoss Cluster server instances starting in Independent mode
JBoss Cluster server instances starting in Independent mode. I have created two instances # cd /home1/jboss/jboss-5.0.0.GA/server # cp -rp all ABC1 ABC2 # ./run.sh -c ABC1 -b 0.0.0.0 Started second instance as below # ./run.sh -c ABC2 -b 128.167.76.20 Is there a way to check the in JBoss console both instances as part of cluster. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215238#4215238 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - couldn't find process definition ERROR
I add JBPM to Hibernate ,spring and struts, but there is something wrong when I want to get the processdefinition from the database. the processdefinition has been deploied to the database. anybody help me??? CODE: JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | GraphSession graphSession = jbpmContext.getGraphSession(); | | ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition(hello); | ProcessInstance instance = processDefinition.createProcessInstance(); | instance.signal(); | jbpmContext.save(instance); | | jbpmContext.close(); ERROE javax.servlet.ServletException: couldn't find process definition 'hello' | org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) | org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) | org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) | org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) | javax.servlet.http.HttpServlet.service(HttpServlet.java:709) | javax.servlet.http.HttpServlet.service(HttpServlet.java:802) | | | root cause | | org.jbpm.JbpmException: couldn't find process definition 'hello' | org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:157) | com.ImportBusiness.struts.action.LoginAction.execute(LoginAction.java:102) | org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106) | org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) | org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) | org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) | javax.servlet.http.HttpServlet.service(HttpServlet.java:709) | javax.servlet.http.HttpServlet.service(HttpServlet.java:802) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215241#4215241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
Sorry mclu, I know you have A B C and X 4 nodes non-clustered, A, C and X on one machine and B on another. I'm not clear how your bridges are deployed. You said: On X I have configured 2 Bridges to each other instance where one is sending data to the instance and the other one receives data from the instance. So I have 6 Bridges deployed on X. Bridge QOS level set to 2 means XA. Did you mean A, C and X have 2 bridges deployed each and B has no bridge? Can you give more details on how you messages flows over those bridges? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215242#4215242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
Do I need to change the PORT for Jboss ? If yes, then which port number and how can I change it? Please reply! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215243#4215243 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
Have you create a build script or you are using only NetBeans to deploy in JBoss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215244#4215244 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ant.jar in JBOSS Application server
I am packaging a war file and a set of other 3rd party files required to run my application. After deploying the war file in JBOSS I need to update a file in war file with new parameters. War file is created using ANT tool. But file modification needs to be done at the user end where ANT is not necessary. So war file must be unzipped, update the required file and zip it back to war file whenever it is necessary. So just to avoid using entire ANT tool, I want to know whether I can package only the required jar files of ANT in my application. Also I found that license text of Apache 2.0 is already available in JBOSS AS. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215249#4215249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
anonymous wrote : | You must create a build script using Apache Ant or Apache Maven, in this way you can run the build script from any IDE (Eclipse, NetBeans, etc...). | | Your script need to create a WAR or a EAR package. | Thank you for your answer. How i create a build script? What ending has the script .sh or .xml? And what has this build script into, what code? Give it a standrad code for a build script? If i create a new Dynamic Web Project eclipse create me a build folder, in this build folder i should move this script? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215250#4215250 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with Visual Page Editor using JBoss Developer St
JBoss Ingres bundle ? Got a link for that ? :) I don't know what is inside that so besides following the updatesite nick just posted i'm not really in a position to help without info on jboss-ingres bundle. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215251#4215251 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215251 ___ 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.x deploy problem
First thanks for reply. Error in -ds.xml file I made when I wrote post In my development enviroment it si fine. I've found only this, it is logged as debug and I'am not shure is related to the problem : | 2009-03-05 12:37:51,809 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) Unable to retrieve orb | javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529) | at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:451) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4388) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44) | at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300) | at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87) | at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)
[jboss-user] [JBoss Messaging] - Creating connection factories
Hi I am trying to create connection factories in Jboss AS 5.0.0GA. Whats the difference between using messaging/jms-ds.xml and messaging/connection-factories-service.xml while creating them? Pardon my naivete. I am new to jboss. Thankyou mkp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215254#4215254 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - populate duke's bank database tables
Hi all, I try to fill the Hypersonic tables in the Duke's Bank example and get the error: F:\Entwicklung\JBoss_5.0\j2eetutorial14\examples\bankant -f jboss-build.xml db- insert Buildfile: jboss-build.xml db-insert: [java] ScriptTool.init error: sql\insert.sql (Das System kann die angegeben e Datei nicht finden) there is sql-script missing. Does anybody know where I can find it ?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215257#4215257 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: how to turn on ejb transaction demarcation?
thank you! i've tried @TransactionAttribute outside the bean and it's helped. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215260#4215260 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to set jnp URL and principal and credentials
Hello, my first post here an i wonder about, how to set up an jnp URL and principal/credentials. I want to make hyperic hq working with jboss. Therefore i should provide java.naming.provider.url and java.naming.security.principal and java.naming.security.credentials. But where to set it up? I searched in google and found some LDAP Stuff. In the conf of my default i found a login-config.xml and a jndi.properties. But it didn't work. Do you have tips for me how to get this working? regards wuschelz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215261#4215261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Creating connection factories
By using jms-ds.xml you are accessing JBoss Messaging through JCA connector. while using connection-factories-service.xml means you are directly accessing JBoss Messaging connection factory references. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215263#4215263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed
cpage wrote : | For me, during JBoss start (wsrp services start), all producers recorded in the database and new producers of the xml should be contacted. | This is what happens. However, this is not the use case you describe here as the consumer is started and correctly attempts to contact the producers. If some of them are unavailable, they are marked as inactive and you might need to activate them using the WSRP admin if you don't want to have to restart the JBoss instance running the consumer... I suppose we could implement periodic polling of producers to try and reactivate them but we felt that it was simpler to just use the WSRP admin to reactivate them once the producers are known to be online. Feel free to open a JIRA feature request. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215264#4215264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed
More precisely, the WSRP consumer will attempt to contact the producers marked as [bold]active[/bold] in the database. I am considering separating active and failed status in the database. However, I cannot do so without breaking backward compatibility so it won't happen (if at all) before a new major Portal revision. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215265#4215265 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Web Start Application Hang
Hi all, Short description of my issue: 200 clients connecting to one Application Server (the server where Jboss is running) From time to time the users can not log on to the system anymore. Already logged on users can continue to work on the system If we restart the Jboss server new users can log on again until the next time this incident occurs. We figured out that using pooled (instead of jrmp) invoker for stateless-rmi-invoker should solve that problem. The thing is that the overall performance of the application was not acceptable after this change. Is there any Jboss configuration expert who could help setting the parameters proper? Thanks in advance for your effort View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215266#4215266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Multiple Virtual Hosts?
Hi ademtus, the connection will be made in workers.properties as described here: http://tomcat.apache.org/connectors-doc/reference/workers.html regards wuschelz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215267#4215267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Can't intall jbossas plugin on eclipse 3.4.2
Still doesn't work. I got: An error occurred while collecting items to be installed No repository found containing: org.jboss.ide.eclipse.firstrun/osgi.bundle/2.1.1.GA No repository found containing: org.jboss.tools.jmx.core/osgi.bundle/1.0.0.GA-R200903031917-H9 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215270#4215270 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Which latest version should i use
Currently for my application i am using: Java1.4,Struts,Spring2.0,SQLSER2000,JBoss4.0.2 I want to upgrade my JBoss Server with later versions. Can anyone tell me which version should i download. Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215271#4215271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Which latest version should i use
The latest stable JBossAS versions are: 1) In 4.x series - 4.2.3 GA 2) In 5.x series - 5.0.1 GA Note that both these require a minimum JDK level 1.5 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215273#4215273 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async execution
The jobs are indeed taken care of by an external component (thread, MDB, ...). Easiest way to try it is doing JbpmConfiguration.startJobExecutor() More explanation: http://www.jorambarrez.be/blog/2008/08/26/jbpm-job-executor-for-spring/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215275#4215275 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss is stopping after every one hour
Hi I am getting Connection reset by peer: socket write error in my server log if server remains idle for 1-2 hour. Again after restarting the server everything works normally can anyone help me out. I am using JBoss 4.0.2 along with Springs 2.0.6,SQLSERVER2000 plz reply soon. regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215276#4215276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re:
Creating runtime tasks is easy: simple create a new TaskInstance and save it with Hibernate. The only caveat is that it needs a token, I believe (which is a bad design choice, but it works nonetheless). In jBPM4, the task component will be a seperate component, which will allow even easier creation of runtime tasks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215277#4215277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Which latest version should i use
isnt it possible to make one of these versions compatible with Java 1.4.. If yes plz let me know how to do that View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215279#4215279 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ant.jar in JBOSS Application server
Please reply to this query. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215280#4215280 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: org.hibernate.StaleObjectStateException: jbpm and esb
I assume you have multiple JobExecutors going. Then the StaleObject exceptions are to be expected when multiple threads try to lock the jobs. One jobexecutor tries to lock a job, and another tries this also. After acquiring the lock, they can execute it. But in this acquire phase you can expect to see the stale exceptions ... This doesn't mean that there is something wrong. The JobExecutor is aware of these StaleExceptions and will act accordingly (ie leave the job alone for that moment). Unfortunately, this logrecord is created by Hibernate, which makes it hard to write code that doesn't throw this exception (if it is even possible) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215281#4215281 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Tile Cache, Behaviour on Eviction Help
Hi. I'm designing Tile Cache for mapping service. I'm using Jboss Cache. I want to cache Tiles. Tiles are instances of class Image from SWT package. Those Images have dispose() method that should be called when You don't need the Image anymore. I would like to invoke this method when node in cache that contains Image tile is evicted. I need this only for local cache on client application without replication and clusterring. I tried to make TileEvictionActionPolicy with such method: | @Override | public boolean evict(Fqn fqn) { | try | { | System.out.println(Start Eviction of: + fqn); | if (log.isTraceEnabled()) log.trace(Evicting Fqn + fqn); | NodeString, Object node = (NodeString, Object) cache.getNode(fqn); | Image img = node.get(tile); | if (img!= null !img.isDisposed())) { | img.dispose(); | } | cache.evict(fqn); | return true; | } | catch (Exception e) | { |if (log.isDebugEnabled()) log.debug(Unable to evict + fqn, e); |return false; | } | | } | But I notice that when I call in this method cache.getNode(fqn) then I have another node evicted too and I don't know what to do. Is there any place to controll node removal from cache. I would like to call dispose() on Image that is evicted because of node limit in LRU strategy. //Have a nice day //Martin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215283#4215283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Which latest version should i use
ace.pratul wrote : isnt it possible to make one of these versions compatible with Java 1.4.. | No, its not possible. See this http://www.jboss.org/community/docs/DOC-10809 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215285#4215285 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Which latest version should i use
By the way, Java 1.5 is backward compatible. Which means that code written using JDK 1.4 is going to work with Java 1.5 too. Any specific reason, you want to stick to JDK 1.4? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215286#4215286 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 3.2.1 Datasource Change
That is my problem. I am using 3.2.1. The only hibernate.cfg.xml file I have is in C:\jbpm-jpdl-3.2.1\config. Changing that does not appear to affect anything. I am guessing only things under the deploy directory affect the system? Is there an equivalent file somewhere in the 3.2.1 deploy directory structure? From all the stuff I have read/searched it would seem that I need to change the datasource in jboss-service.xml and then change the dialect in hibernate.cfg.xml, but the 3.2.1 zip that I downloaded does not have these files in the deploy section. Perhaps I need to give up on 3.2.1 and go with a newer release. The only reason I was using 3.2.1 was because jbpm-jpdl-suite-3.2.1.zip comes prepped and ready to run. I am a noob on this stuff and I have not been able to get 3.3x working without the quickstart. If someone knows of a step by step guide for 3.3x I could try that, but I have not found anything that detailed. The main page for jBPM links to the 4x documentation which is not finished at this time. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215292#4215292 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Deploy Processdefinition via Ant
Hi - I am having some problems deploying my process-definition. I have looked at the reference-documentation but it didn't helped me much because it's quite incomplete and out of date. My problem: | [deploypar] WARNUNG: Could not bind factory to JNDI | [deploypar] javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial | [deploypar] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645) | [deploypar] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | [deploypar] at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284) | [deploypar] at javax.naming.InitialContext.getNameParser(InitialContext.java:439) | [deploypar] at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52) | [deploypar] at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90) | [deploypar] at org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:306) | [deploypar] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294) | [deploypar] at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91) | [deploypar] at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95) | [deploypar] at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99) | [deploypar] at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:345) | [deploypar] at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571) | [deploypar] at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) | [deploypar] at org.jbpm.ant.DeployProcessTask.deploy(DeployProcessTask.java:93) | [deploypar] at org.jbpm.ant.DeployProcessTask.execute(DeployProcessTask.java:58) | [deploypar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) | [deploypar] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) | [deploypar] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [deploypar] at java.lang.reflect.Method.invoke(Method.java:585) | [deploypar] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) | [deploypar] at org.apache.tools.ant.Task.perform(Task.java:348) | [deploypar] at org.apache.tools.ant.Target.execute(Target.java:357) | [deploypar] at org.apache.tools.ant.Target.performTasks(Target.java:385) | [deploypar] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) | [deploypar] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) | [deploypar] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) | [deploypar] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) | [deploypar] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) | [deploypar] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) | [deploypar] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) | | BUILD FAILED | C:\eclipse_workspace\saporo-util\build\build.xml:422: java.lang.NoClassDefFoundError: antlr/ANTLRException | this is my ant-taget: | target name=deploy-process | taskdef name=deploypar classname=org.jbpm.ant.DeployProcessTask | classpath id=process-classpath | fileset dir=${util.dir}/build/deploy-process/ | pathelement location=${ejb.project.dir}/target/my.jar/com/myproject/common/sql/SolarfixDB2Dialect.class/ | /classpath | /taskdef | deploypar process=${util.dir}/build/deploy-process/process.par/ | /target | Within the classpath i have the following jars: | bsh.jar | cglib.jar | commons-collections.jarr | commons-logging.jar | hibernate3.jar | jbpm-jpdl.jar | log4j.xml | | | My hibernate.cfg.xml and my jbpm.cfg.xml are included within my Process-Archive, because it wasn't sufficient ti just add them to the classpath. This is a part of my Hibernate.cfg.xml: | | | | ?xml version='1.0' encoding='utf-8'? | | !DOCTYPE hibernate-configuration PUBLIC | | -//Hibernate/Hibernate Configuration DTD 3.0//EN | | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; | |
[jboss-user] [Management, JMX/JBoss] - Re: Does twiddle requires -b 0.0.0.0?
I'm not sure the problem is in hosts file. | PowerBook-do-Ale:/ alegomes$ cat /etc/hosts | # Host Database | # | # localhost is used to configure the loopback interface | # when the system is booting. Do not change this entry. | ## | 192.168.1.20desenvolvimento | 127.0.0.1 localhost | 255.255.255.255 broadcasthost | ::1 localhost | 10.18.0.34 cpe.trt18.jus.br | PowerBook-do-Ale:/ alegomes$ hostname | PowerBook-do-Ale.local[\code] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215295#4215295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal Themes and Richfaces
My goal is to create my own Portal theme, which also effects Richfaces. In JBoss Portal i can use different themes, in Richfaces i can use skins. Is it possible that richfaces is using the Portal themes? And how can i enable this? Or how can i create a design for both? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215297#4215297 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Create Portlet with Eclipse and now?
If you choose to use Apache Maven (I suggest this ;) ) you must add in your root project directory pom.xml file (POM). POM is a descriptor about Maven lifecyle of your application. You can see all info about how to install Maven and create a pom.xml here: http://maven.apache.org/ If you choose to use Apache Ant you must add a build.xml file. Build.xml is a procedures file about all targets to do to create your package. Here you can see how to install Ant and create your own build.xml file: http://ant.apache.org/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215300#4215300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Creating connection factories
Thanks a lot. my understanding is, connection-factories-service, destinations-service, messaging-service, *-persistence-service are for configuring JBoss Messaging MOM and jms-ds for our JCA resource. Is that right? Is it possible to use JBoss Messaging as a standalone MOM without Jboss AS? Thank you mkp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215301#4215301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Which latest version should i use
Java 1.5 is backward compatible. Are there lists or guides to see what you should watch out when using a Java 1.5 with an application written for Java 1.4. Something like migrating best practices? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215303#4215303 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ant.jar in JBOSS Application server
Hi, this use case sounds a bit strange ;-). You mean that your customer deploys the WAR to JBoss, and when deploying the WAR it is regenerated with a changed config? This is probably hardly possible, because JBoss would deploy the app another time when the new WAR is created, and thus your ant task is starting again. Why not providing your customer with an installer, which runs ant and creates the WAR, a the WAR is finally copied to JBoss? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215305#4215305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Embed ejb3-interceptors-aop.xml or equivalent into EAR
Well, I didn't try to embed lisa-interceptors-aop.xml into the EAR but I tried with ejb3-interceptors-aop.xml. This didn't work, but maybe it's just because the original file still resided in the deploy directory, was loaded before and the embedded file was rejected. I'll try it with both embedded when I have some more time play around with it. Thanks for your help. :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215306#4215306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal Themes and Richfaces
This would be cool if you could create it and submit it back to the portlet bridge project. I could add it as a bridgelet. Here is what you need to do to match the current portal theme: 1. Create a file called renewal.skin.properties (if this is the theme you are trying to match, if not, name it something else besides renewal) and place it in your RichFaces applications WEB-INF/lib. 2. Here is a sample properties file I had laying around: #Colors headerBackgroundColor=#FFD863 headerGradientColor=#FF9B19 headerTextColor=#00 headerWeightFont=bold generalBackgroundColor=#FF generalTextColor=#00 generalSizeFont=12px generalFamilyFont=Tahoma, Verdana, sans-serif controlTextColor=#00 controlBackgroundColor=#ff additionalBackgroundColor=#FF shadowBackgroundColor=#00 shadowOpacity=1 panelBorderColor=#C0C0C0 subBorderColor=#ff tabBackgroundColor=#dcdcdc tabDisabledTextColor=#dcdcdc trimColor=#dcdcdc tipBackgroundColor=#dcdcdc tipBorderColor=#dcdcdc selectControlColor=#dcdcdc generalLinkColor=#0078D0 hoverLinkColor=#0090FF visitedLinkColor=#0090FF # Fonts headerSizeFont=12px headerFamilyFont=Tahoma, Verdana, sans-serif tabSizeFont=12 tabFamilyFont=Tahoma, Verdana, sans-serif buttonSizeFont=12 buttonFamilyFont=Tahoma, Verdana, sans-serif tableBackgroundColor=#FF tableFooterBackgroundColor=#cc tableSubfooterBackgroundColor=#f1f1f1 tableBorderColor=#C0C0C0 3. Next just change the colors to match the renewal theme. And place this in your web.xml: context-param param-nameorg.richfaces.SKIN/param-name param-valuerenewal/param-value /context-param 4. Read more about it here and post on the forum when you are done. http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/ArchitectureOverview.html#CreatingAndUsingYourOwnSkinFile View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215307#4215307 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences
Hi Howard! No sorry... not easy to explain :-) All 6 Bridges are deployed on X X is our so called root server which do the message processing and delegates the messages to the other nodes. A, B and C are our nodes/instances which only uses local queues. Each node has an incoming and an outgoing queue. X has 3 JMSProviderLoader configured. One for each node. The example: | mbean code=org.jboss.jms.jndi.JMSProviderLoader name=jboss.messaging:service=JMSProviderLoaderRemote,name=RemoteJMSProvider_AeosA | attribute name=ProviderNameRemoteJMSProvider_AeosA/attribute | attribute name=ProviderAdapterClassorg.jboss.jms.jndi.JNDIProviderAdapter/attribute | !-- The combined connection factory -- | attribute name=FactoryRef/XAConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRef/XAConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRef/XAConnectionFactory/attribute | attribute name=Properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jnp.interfaces | java.naming.provider.url=localhost:2099 | /attribute | /mbean | Because there are 3 Nodes I have 3 Bridges for the incoming queue and 3 Bridges for the outgoing queue on instance X. On X there are also only 2 queues. The incoming bridges are sending all messages from ABC incoming to X incoming. The Outgoing bridges uses selectors to only fetch the node (ABC) related messages out of the outgoing queue of X. In production we only have remote nodes. Currently 8 nodes and one root server X. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215311#4215311 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal Themes and Richfaces
Ok :) it is as i thought. I will start with this! With submit it back to the portlet bridge project you mean a post in their forum? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215313#4215313 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Creating connection factories
Right, jms-ds is for JCA resource connection factory. JBM 1.4 can't live without JBoss AS. JBM 2.0 can. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215314#4215314 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - An alternative way to implement HA datasources and a few con
Would something like this work? I am using heartbeat + ldirector for HA and loadbalancing of sql servers. I find that jboss applications become unavailable for a while if the connection gets lost - which happens occassionally due to packet loss. So in trying to get a stable jboss + mysql infrastructure, I would like to use ha-tx-local-datasource connection-urljdbc:mysql://ha.host:3306/db|jdbc:mysql://ha.host:3306/db/connection-url The logic being that ldirector monitors mysql, and when a node goes down, it will immediately re-route to the other node. The datasource above uses connection pooling, so in the event of disconnection, it should automatically re-establish to the next server, which is the same server. Should this work? Also, i read somewhere that using background-validation with check-valid-connection-sql can cause a conflict, but cant find further info on it... any recommendations for detecting whether connections are valid? lastly, is using jdbc:mysql://ha.host:3306/db?autoReconnect=true the same as leaving autoReconnect=true off the URL and adding it to connection-property ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215316#4215316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - application deployement fails with jboss 5.0.1GA
Hi folks, I would like switch our myapplication.ear from 4.0.3SP1 to JBoss 5.0.1GA, but the deployment fails into JBoss5. Into the shell an error occured while the jboss startup. The error is a ClassNotFoundException, but I havn't this class. The deployment from the same ear-file at 4.0.3SP1 produced zero errors at the startup. Can you're help me? Thanks Tino ... 15:03:15,531 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfszip:/home/trudolph/hyptest/dev/jboss-5.0.1.GA/server/5.1/deploy/myapplication.ear/ state=ClassLoader mode=Manual requiredState=PostClassLoader org.jboss.deployers.spi.DeploymentException: Cannot process metadata at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181) at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassNotFoundException: com.test.MyTest from baseclassloa...@1c43566{vfsclassloaderpolicy@8dcfef{name=vfszip:/home/trudolph/hyptest/dev/jboss-5.0.1.GA/server/5.1/deploy/hyperdoc.ear/ domain=classloaderdom...@185ad79{name=defaultdomain parentPolicy=BEFORE parent=org.jboss.system.noannotationurlclassloa...@fa7e74} roots=[memorycontexthand...@5142027[path= context=vfsmemory://3j011-8k9c0l-frxiar4s-1-frxicajm-1z real=vfsmemory://3j011-8k9c0l-frxiar4s-1-frxicajm-1z] .. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215317#4215317 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Re-deploying
Ah, we could be on to something here. There's nothing in the console, but in the Eclipse log there are a lot of entries like this: !ENTRY org.eclipse.core.resources 4 1 2009-03-04 17:17:29.328 !MESSAGE Core exception while retrieving the content description !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/Project/deploy/project.war'. at org.eclipse.core.internal.resources.File.checkSynchronized(File.java:99) at org.eclipse.core.internal.resources.File.getContentDescription(File.java:278) at org.eclipse.core.internal.propertytester.FilePropertyTester.testContentType(FilePropertyTester.java:67) at org.eclipse.core.internal.propertytester.FilePropertyTester.test(FilePropertyTester.java:43) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateOr(CompositeExpression.java:68) at org.eclipse.core.internal.expressions.OrExpression.evaluate(OrExpression.java:21) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:91) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.ui.internal.dialogs.RegistryPageContributor.failsEnablement(RegistryPageContributor.java:260) at org.eclipse.ui.internal.dialogs.RegistryPageContributor.isApplicableTo(RegistryPageContributor.java:209) at org.eclipse.ui.internal.dialogs.PropertyPageContributorManager.contribute(PropertyPageContributorManager.java:115) at org.eclipse.ui.internal.dialogs.PropertyDialog.createDialogOn(PropertyDialog.java:61) at org.eclipse.ui.dialogs.PropertyDialogAction.createDialog(PropertyDialogAction.java:176) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:155) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) !SUBENTRY 1 org.eclipse.core.resources 4 274 2009-03-04 17:17:29.328 !MESSAGE Resource is out of sync with the file system: '/Project/deploy/project.war'. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215321#4215321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215321 ___ jboss-user