[jboss-user] [Remoting] - Re: JBoss Remoting and compression
Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199386#4199386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Invoker timeout
"mohitanchlia" wrote : | Reason I have been asking same question is because below timeout corresponds to the timeout I have set in timeout attribute. | My mistake, again. org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket() overrides MicroSocketClientInvoker.createSocket(), and the former uses the configured timeout for the Socket.connect() call. You're right! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199385#4199385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBoss Remoting and compression
You can find the source code of compression invoker marshaller/unmarshaller as attachments in the JIRA report. Doychin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199384#4199384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Why so many retries?
anonymous wrote : | anonymous wrote : | | I don't follow. What's the outcome? | | | | It worked just fine. It reduced the number of times it was trying to get the Socket (client invoker) to the server. | Great! "mohitanchlia" wrote : | I have another question though, In clustered environment when is the pool created on client side? Because until client gets first request it will not know which servers to connect to. Is it that after first client invocation "CLIENT" retains the connection? | Exactly. Each time the EJB3 proxy is called to make an invocation, it will create an org.jboss.remoting.Client. The Client will look for an org.jboss.remoting.transport.socket.MicroSocketClientInvoker for the currently designated server, and either (1) reuse an existing MicroSocketClientInvoker, if there is one, or (2) create a new MicroSocketClientInvoker. It is the MicroSocketClientInvoker that stores the connection pool. "mohitanchlia" wrote : | When I read the documentation of new Jboss remoting it still has numberOfRetries. I am still confused about how retries work because what you described differs from what's mentioned in the doc. Or may be the way I am interpreting is not right. My understanding is that server registry creates ClientInvoker (MicroSocket) and returns. Now when ClientInvoker tries to establish remote connection and at that time it tries for numberOfRetries until it gets successful connection. | Your misunderstanding is completely my fault, and I apologize. I failed to remove the reference to "numberOfRetries" from the Remoting Guide. I have created JIRA issue "Remove reference to "numberOfRetries" parameter from Remoting Guide" (https://jira.jboss.org/jira/browse/JBREM-1078) to make sure I fix the Guide for the next release. You're right, by the way, about the sequence of events. Client.connect() just creates the MicroSocketClientInvoker. When Client.invoke() is called, the MicroSocketClientInvoker will try to reuse an existing connection, or, if none exists and the maximum number of connections are not already in existence, it will create a new connection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199383#4199383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Invoker timeout
Reason I have been asking same question is because below timeout corresponds to the timeout I have set in timeout attribute. If that timeout was for read operation then why would NoRouteToHostException return in the timeout that I have specified. As you mentioned NoRouteToHostException occurs during connect. Everytime NoRouteToHostException occurs it returns in the timeout I specify. So If I change my timeout to 4000 ms then I see that too. The java.net.NoRouteToHostException doesn't represent a timeout. The "creation attempt took 5001 ms" message is just extra information provided by the invoker. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199382#4199382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Invoker timeout
"mohitanchlia" wrote : | | anonymous wrote : | | The java.net.NoRouteToHostException doesn't represent a timeout. The "creation attempt took 5001 ms" message is just extra information provided by the invoker. | | | | So does it really mean that timeout is on initial Socket connection creation and not on the read operation? | Well, 1. The timeout is configured for the read() operation, not the connect() operation. 2. The java.net.NoRouteToHostException is being thrown from the connect() operation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199380#4199380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten
Looks like a deployment ordering issue. I can think of two options: 1) Create a folder named "deploy.last" in server/default/deploy folder and place your EAR file in that deploy.last folder. That way, your EAR will be deployed after everything else is deployed OR 2) Create a jboss-app.xml (if you dont already have one) and place it in the META-INF of your EAR. The jboss-app.xml can contain the following: | |cache-config-service.xml | | And package that cache-config-service.xml at the root of your EAR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199379#4199379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBoss Remoting and compression
Hi Doychin, "doychin" wrote : | If you want I can provide you with full source code so you can use it to create the necessary updates in 2.x and 2.2 branches. | That would be great. Could you attach the source files to the JIRA issue at https://jira.jboss.org/jira/browse/JBREM-1077? Thanks, Ron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199378#4199378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Using remoting for RMI for EJB 2 with scoket connector a
Glad to hear it. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199377#4199377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev
I'm continuing the discussion about Vinay Kumar's (vink's) issues on the "Socket Read Timeout on stressing calls for validating produc" thread - http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199374#4199374. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199376#4199376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Stream Corrupted Exception on Server side
I'm continuing the discussion about Vinay Kumar's (vink's) issues on the "Socket Read Timeout on stressing calls for validating produc" thread - http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199374#4199374. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199375#4199375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Read Timeout on stressing calls for validating pr
Hi Vinay, You have described problems on this thread and two other threads, which is making it hard for me to get a unified picture of what's going on. To try to clarify things, I'm consolidating the discussions on this thread. Here, I believe, are the phenomena you have experienced: 1. This thread: "vink" wrote : | On increasing timeout value of ejb3 connector, this exception is not coming. But, on running my stress tests, my application is throwing java.lang.OutOfMemoryError: unable to create new native thread | Is it on the client side or the server side where you can't create a new thread? I believe the thread dumps you've shown me are from the server side, and I don't see anything particularly unusual. "vink" wrote : | And, number of such sockets increases as time passes by & it finally results into the following exception; | ... | java.net.BindException: Address already in use: connect | ... | If you're running on a Windows machine, you could be running up against a configurable limit Windows puts on the number of open sockets. For example, the parameter "MaxUserPort", which defaults to 5000, limits the user ports to values between 1024 and 5000. You can read more at, for example, "Microsoft Windows 2000 TCP/IP Implementation Details" - http://technet.microsoft.com/en-us/library/bb726981.aspx#EDAA. 2. "JBREM-877: New Socket Connection is being Created for Every" - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126382&start=10 "vink" wrote : | On using invokerDestructionDelay in ejb3 connector configuration, my system goes slow & slow and run out of resources(native threads) in few minutes. | Again, client side or server side? "vink" wrote : | When removing this attribute, the system don't run out of resources, but many sockets are visible in TIME_WAIT state. As a result of this, my system run out of sockets & after a while I get sporadic disconnects. | Client side or server side? And, could you describe "sporadic disconnects" more precisely? 2. "Stream Corrupted Exception on Server side" - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147905 "vink" wrote : | After several hours of running I'm getting following exception | ... | Caused by: java.io.StreamCorruptedException: invalid stream header: 77011679 | Clearly, this exception is occurring on the server side, but the actual problem might be occurring on the client side. Do you see anything unusual happening on the client side when this exception is thrown? === I have a couple of general questions. 1. Am I right in inferring that you're running a stress test and you're seeing performance deteriorating on the client side? 2. Can you create a simple version of your application that demonstrates the same problems and that I can run for myself? Thanks, Ron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199374#4199374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199374 ___ 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.0 Taking LONG Time to Start Up
"ctf" wrote : | 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jmx-console.war/ endpoint mappings: | | | | 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) Processing unit=jmx-console.war, structure: | | jmx-console.war | | | | | | 2009-01-03 13:51:02,015 DEBUG [org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added Processor org.jboss.metadata.process.processor.ejb.jboss.setdefaultlocalbusinessinterfaceproces...@1e55518 to Chain org.jboss.metadata.process.chain.ejb.jboss.jbossmetadataprocessorch...@135cde4 | | | | This piece takes almost 2 minutes. Is this normal? My clean JBossAS "default" server profile takes under a minute to boot on RHEL5 Operating System. So i wouldn't say your startup time is normal. Without any of your applications deployed, how much time does the "default" server take to start? A;so please post the first few lines from the jboss console which shows the JDK version being used. Just want to make sure, the correct JDK is being used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199371#4199371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
the pattern is to use the business key and retrieve process instances based on that. Store domain data in your domain model and select from there which process instance to retrieve. People still tend to put to much data in the process as well as use the identity module to broadly. I never used the identity module... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199368#4199368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Data source Connection
See this http://www.jboss.org/community/docs/DOC-9880 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199367#4199367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: DatabaseServerLoginModule question
yes, because they do not have the security-role of user View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199366#4199366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Data source Connection
Hi, I was trying a standalone java client for Oracle Datasource(using JNDI). I am able to successfully connect to this database through a servlet. I searched few forums which said that JBoss does not support this. Errors on connection : JNDI name not bound Cannot get connection: javax.naming.NameNotFoundException: OracleDS not bound I have configured required jars in classpath Kindly Clarify Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199365#4199365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
Ronald, in jBPM 4 there is something about that? if not.. can we think some kind of pattern or best practices to achive that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199363#4199363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPM engine within different tools
I think is a very good question.. and the answer is ... depends... Depends of what are you try to achive.. If you want to reuse you business process between multiple applications, you must probably want to have your business process engine outside you application and talk with that when you application need to know the state of one or multiple process. In the other hand.. if you look alfresco.. you should see that the include the business process engine inside the product. That is because ECM have strong relationships with workflows. I hope it helps.. if something is not clear enough let me know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199362#4199362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Restrict the users to start process definition
you can do whatever you want.. you only need to customize the admin console.. becuase if you look for another post about this console, you should see that is not a production application.. and it is only to test some functionalities of jBPM. If you look the code of jBPM console, you will find that is very easy to customize it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199361#4199361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Any user sees all the user tasks
anonymous wrote : | I created 3 tasks and assigned these tasks to 3 different users. But from Admin Console, I am able to see the other users tasks and also I can perform taks assigned to other users. | I think that is why they call it Admin Console.. because is for administrators and POC application only, you can customize it if you want.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199360#4199360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS ConnectionFactories
You said you were using JBoss MQ. This forum is about JBoss Messaging not JBoss MQ. The title of the post is "DO NOT POST JBOSS MQ QUESTIONS HERE". What part of that did you not understand? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199359#4199359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199359 ___ 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.0 Taking LONG Time to Start Up
Thanks, Here's the relevant piece I found in the log. If I run it from command line instead of Eclipse plugin, it runs faster. If I remove my EAR from the deployment dir it runs even faster. 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jmx-console.war/ endpoint mappings: | | 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) Processing unit=jmx-console.war, structure: | jmx-console.war | | | 2009-01-03 13:51:02,015 DEBUG [org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added Processor org.jboss.metadata.process.processor.ejb.jboss.setdefaultlocalbusinessinterfaceproces...@1e55518 to Chain org.jboss.metadata.process.chain.ejb.jboss.jbossmetadataprocessorch...@135cde4 | This piece takes almost 2 minutes. Is this normal? Do you think there's anything I can do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199358#4199358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: A New J2EE Framwork/MVC Framework And A New Service Orie
I Come Back and answer u :d Bye. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199357#4199357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: A New J2EE Framwork/MVC Framework And A New Service Orie
You can get information about : Killer/J2SOS/JSP/JSF/EJB/Hibernate/Spring/Struts/MVC/JMS/BC4J/JRE/RMI/Corba/JMF/SOAP/AOP/AspectJ/ADF/JClient/ Ajax/J2ME/J2EE/J2SE/Ruby/ActionScript/Oracle/Google/Apache/JBOSS/XP/WAP/RUP/UML/DataBase/RSS/XML/JAVA/ OC4J/OpenSource/Servlet/JTA/JDBC/JNDI/ERP/ServerSide/ClientSide/Web/Enterprise/Java/Bean/Transaction/PL-SQL/ SQL/TQL/HQL/Deploy/CMP/BMP/Distribute/Weblogic/IDE/JRun/Desktop/WebBased/Platform/API/Tapestry/Cocoon/ JasperReport/JDO/Axis/JUnit/Log4J/Ant/XDoclet/Tomcat/Message/JSTL/BackBase/Oracle/Portal/Service/Midlet/WML/ Applet/Developer/JDeveloper/Programmer/Programming/Program/Develop/Tomcat/JRUN/JDK/JVM/JRE/Eclips/Toolkit/Script/ Triger/SocketProgramming/Server/Client/WFM/BPR/GWT/Https/MD5/Tapestry/OOP/Lib/Parser/PDF/SC/Logic/Engine/AI/IP/ 9i/10g/11g/Desktop/Micro/JWMS/Shine J2EE Application Framework/... In This Forum ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199356#4199356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: A New J2EE Framwork/MVC Framework And A New Service Orie
You can use J2EE Frameworks: Shine Hibernate Struts Spring Or Aspect J You can get quick information about shine by J2EE And Service Oriented Programming disquisition! for get information about other j2ee framework, you can use shine forum -> Open dis (ENG) in Sourceforge View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199355#4199355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: A New J2EE Framwork/MVC Framework And A New Service Orie
hi. thanks amirsam. I am a high developer in J2Me but I am new in J2EE,if I want to learning shine and deploy my web project with shine framework, how van I do that? I haven't nmuch time to learning shine or othere j2ee framework. how can I learn shine or other J2EE framework quick? please if you can , help me. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199354#4199354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Why so many retries?
anonymous wrote : I don't follow. What's the outcome? It worked just fine. It reduced the number of times it was trying to get the Socket (client invoker) to the server. I have another question though, In clustered environment when is the pool created on client side? Because until client gets first request it will not know which servers to connect to. Is it that after first client invocation "CLIENT" retains the connection? anonymous wrote : | anonymous wrote : "mohitanchlia" wrote: | | | | In any case why numberOfRetries is not supported in new Jboss remoting? | | | | | One of the reasons for using "numberOfRetries" was, when the maximum number of connections were already in use, to check periodically to see if a connection had been returned to the pool. We have a better way of doing that now. When I read the documentation of new Jboss remoting it still has numberOfRetries. I am still confused about how retries work because what you described differs from what's mentioned in the doc. Or may be the way I am interpreting is not right. My understanding is that server registry creates ClientInvoker (MicroSocket) and returns. Now when ClientInvoker tries to establish remote connection and at that time it tries for numberOfRetries until it gets successful connection. And also as I understand timeout value is associated with the initial connection, which means if the timeout is set 5000 ms and numberOfRetries to 2 then there will be 2 attempts and each attempt will timeout in 5000 ms http://www.jboss.org/jbossremoting/docs/guide/2.2/html_single/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199353#4199353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: A New J2EE Framwork/MVC Framework And A New Service Orie
with the best wishes Amirsam Bahador, I am active in this forum for your questions Special Thanks JBoss! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199352#4199352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Resource Injection into Servlet Filter = Receive timed o
Found the problem. There was an old jbossall-client.jar file in the web lib directory (which gets deployed with the app). Removed this and now that error is gone... on to the next error ;) Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199351#4199351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: A New J2EE Framwork/MVC Framework And A New Service Orie
This paper is no image paper !!! J2EE and Service Oriented Programming Authored by: AmirSam Bahador Level: Advanced Contents: Introduction - The purpose of compilation this essay Chapter 1: Basic concepts of J2EE - Servlet and JSP - MVC - MVC or JWMS? That is the problem? Perhaps both! Chapter 2: Basic concepts of Shine Framework - What is "Shine Frameworkâ? - The components of Shine Framework - Implimentation of an application by Shine Framework Chapter 3: The objects of Shine Framework - The types of objects in Shine Framework Chapter 4: Engineering & Communication items - The communication of Shine Framework with the other existing Frameworks - The major purpose of Shine Framework Introduction The purpose of compilation of the this paper A few years ago, when I was the software architect of a big project with J2EE, I advised some of the modern tools of that time to the project manager. He acknowledged it. Therefore, we began deploying our Enterprise on Java platform. However, we encounterd with many problems, as we got ahead the project. Our tools were included Struts Framework, Spring Framework & Hibernate. I convinced that MVC architecture is the best option to develop macro projects! However, I believe it now, as well. Couldn't it be more completed? In developed Enterprise projects, an advanced architecture is required to divide the project, technically. The project was successfully finished after one year, but my mind was busy with it for a long time! Then, I began implementing an Application Framework and registered it in Sourceforge.net as an Open Source Framework. I developed some Enterprise projects & some other J2EE frameworks, as well. I achieved a good result! The velocity of implemention & developing projects increased up to 50%. Subsequently, by cooperation of my elected students who had worked with Application Framework, I established an organization, named J2SOS, to protect & develop this Application Framework. Fortunately, my students were so skilled that each took a chief task in big J2EE projects. Their experiences had a practical affect on development of Application Framework as well as the organization. Therefore, it is required to write down my & my yesterday students (my today co-workers) experiences. This was the outset to write the present paper! Chapter 1 The basic concepts of J2EE Purposes In this chapter, we do our best to introduce J2EE basic concepts. Servlet & JSP If you ahve ever worked with JSP & Servlet, you know that Servlet is so proper for processing functions but there are particular problems with it in displaying functions. JSP is applied reverse to Servlet. Thus, what is the solution? To apply both JSP and Servlet together! What is MVC? MVC is an easy way to use JSP & Servlet together. In MVC architecture, the request will be processed by a Class (Servlet) and the appropriate response will be showen by JSP. n the above Servlet Class, the validation operation, etc will be done. Nowadays, there are numerous Frameworks which will assist you to use MVC Framework architecture. Struts Framework is the most well-known one. MVC or JWMS ? That is the problem! Perhaps both! MVC is a powerful architecture, but it is required an advanced architecture to implement developed projects. Today, web applications are well developed which complicatethe work for programmers & developers. To clarify it, see Google site! Google Web Application enjoys numerous services, each have a special service for the users. For Instance, Gmail service, E-Mail or by SearchEngine, the users can search for websites, pictures, etc. These services have certaily close communication with each other. If the services do not use a particular architecture, the Google will encounter with various problems. In Service Oriented architecture, each part of the program is a service programme. For example, E-Mail service, SearchEngine service, etc. , . for get full this paper plz goto : J2EE And Service Oriented Programming in : http://groups.google.com/group/j2sos Or http://j2sos.googlegroups.com/web/J2EE_And_Service_Oriented_Programming+(English).doc?gda=-C13JmkAAABaK1bFJn7XMhSpdkjvrT6PLb1WFhhPKkBftsH3LvtvGEWwa05VcrqgHRSC0l_xcf_5FoxLEBXNbyq4-bBifvraWOZGQE6LgzeTU5Q6eFny4M-fIZvKNC5H8bRWhAn1psCECKgQbmraGdxlZulaYnsh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199350#4199350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Invoker timeout
anonymous wrote : | The java.net.NoRouteToHostException doesn't represent a timeout. The "creation attempt took 5001 ms" message is just extra information provided by the invoker. So does it really mean that timeout is on initial Socket connection creation and not on the read operation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199349#4199349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - DatabaseServerLoginModule question
i have the following tables: jbmp_id_group 1 G sales organisation 2 G manager security-role 3 G hr organisation 4 G admin security-role 5 G usersecurity-role 6 G support security-role 7 G talentscout security-role 8 G legaladvisersecurity-role 9 G bandmember security-role 10 G recordproducer security-role 11 G artistdevelopment security-role 12 G songwriter security-role 13 G musiciansecurity-role 14 G videoproduction security-role 15 G artist security-role 16 G administrator security-role 17 G manager security-role 18 G participant security-role 19 G administrator security-role jbmp_id_user 1 U userpowe...@bland.com powellb 2 U manager rumpo...@bland.com rumpoleh 3 U admin memb...@bland.com memberb 4 U shipper dr...@bland.com dredr 5 U support dr...@bland.com support 101 U powellb powe...@bland.com powellb 102 U rumpolehrumpo...@bland.com rumpoleh 103 U memberb memb...@bland.com memberb 104 U dredr dr...@bland.com dredr 105 U harrisr harr...@bland.com harrisr 106 U lennonj lenn...@bland.com lennonj 107 U hendrixjhendr...@bland.com hendrixj 108 U welleso well...@bland.com welleso 109 U monetc mon...@bland.commonetc 110 U admin ad...@bland.com admin 111 U manager mana...@bland.com manager jbmp_id_membership 52 M 1 1 45 M 1 5 51 M 2 1 41 M 2 2 50 M 2 3 42 M 2 4 44 M 2 5 49 M 3 3 43 M 3 4 48 M 3 5 46 M 4 3 47 M 4 5 53 M 5 1 54 M 5 2 55 M 5 3 56 M 5 4 57 M 5 5 72 M 101 15 58 M 101 16 73 M 102 15 59 M 102 16 74 M 103 15 60 M 103 16 75 M 104 15 61 M 104 16 76 M 105 15 62 M 105 16 77 M 106 15 63 M 106 16 78 M 107 15 64 M 107 16 79 M 108 15 65 M 108 16 80 M 109 15 66 M 109 16 71 M 110 15 69 M 110 16 67 M 110 16 70 M 111 15 68 M 111 16 userid 1 to 5 can login, the rest cant in jboss 4.2.2 jbpm-3.3.0 mysql. please someone tell me why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199348#4199348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - A New J2EE Framwork/MVC Framework And A New Service Oriented
Hi Dears Shine is a Java-J2EE Application Framework/JWMS(Java Web Model Service)Framework/MVC Framework/Service Oriented Framework. Shine Includes Ajax Libs/Server API/J2EE Architecture. Shine Supported JSF/Spring/AspectJ/Struts/Hibernate/... You can use Shine Framework for Implement ERP Web Based Application, Web Based Operating System, WFM Web Based Application, CRM Web Based Application, HRM Web Based Application, BPR Web Based Application, Or ... Web Based Application, Shine Registered in Source Forge. This Framework is a Java Service Oriented Framework for Web Based Project. This Framework include: * MVC (Model View Controller) * Ajax * Service Oriented Scope * JWMS (Java Web Model Service) Shine Framework is a Java Web Model Service Framework. Shine Framework is very easy, stable. You can use other Framework by Shine Framework: *Hibernate *Struts *Spring *And Other Framework JWMS And Shine J2EE Framework ? JWMS is a J2EE Architecture for implement Service Oriented Web-Based Appliction you can get more information about this and Shine J2EE Application Framework by -> J2EE And Service Oriented Programming : http://j2sos.googlegroups.com/web/J2EE_And_Service_Oriented_Programming+(English).doc?gda=VCp-YWkAAABaK1bFJn7XMhSpdkjvrT6Pd5MA3H6uh5taxEUxR6gwSUWwa05VcrqgHRSC0l_xcf_5FoxLEBXNbyq4-bBifvraWOZGQE6LgzeTU5Q6eFny4M-fIZvKNC5H8bRWhAn1psCECKgQbmraGdxlZulaYnsh Or http://j2sos.googlegroups.com Report: http://sourceforge.net/tracker/?group_id=244136 Forum: http://sourceforge.net/forum/?group_id=244136 News: http://sourceforge.net/news/?group_id=244136 Wiki: http://shine-app.wiki.sourceforge.net/space/pagelist Rank: http://sourceforge.net/project/stats/rank_history.php?group_id=244136&ugn=shine-app Shine J2EE Framework Rank in Sourceforge is 14! Shine J2EE Framework: http://sourceforge.net/projects/shine-app/ Site: www.J2SOS.org Special Thanks JBoss! For this Part! Your Site is very Active about J2EE - Java! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199347#4199347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to install JBT should include ref to CR1 site
Both the nightly [1] and stable [2] sites linked are for Eclipse 3.4 / JBoss Tools 3.0.0.x. [1]http://download.jboss.org/jbosstools/updates/nightly/trunk/ [2]http://download.jboss.org/jbosstools/updates/development/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199346#4199346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache (TcpCacheServer) configuration
I started taking a look at this yesterday evening, I'll spend some time on it Monday morning and post back. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199345#4199345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - javax.naming.NoInitialContextException: Cannot instantiate c
Hi All, I am getting the follwing exception after running my simple stateless bean client. javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory Here is my configuration Java 6.0 Tomcat 5.5 JBoss 4.0.3SP1 And i have set the environment variable CLASS PATH to H:\jboss-4.0.3SP1\jboss-4.0.3SP1\lib\concurrent.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\lib\jboss-common.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\lib\commons-httpclient.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\client\jboss-j2ee.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss-remoting.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss-transaction.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\lib\jboss-jnpserver.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\deploy\jboss-aop.deployer\jboss-aop.jar; H:\jboss-4.0.3SP1\jboss-4.0.3SP1\server\all\deploy\jboss-aop.deployer\jboss-aspect-library.jar; Kindly help me out Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199344#4199344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Using remoting for RMI for EJB 2 with scoket connector a
Thanks for the tip. It did the trick. Now I reverted to original option values and added that extra option. Doychin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199343#4199343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBoss Remoting and compression
In order to allow compression to work with EJB 2.x invocations I created my own Compression marshaller and unmarshaller which descend from original classes. The default constructor for both classes now call the constructor that takes one parameter of type Marshaller/UnMarshaller with new InvocationMarshaller()/InvocationUnMarshaller(). I also did new versions of read/write methods which I use to test different variants for calling GZip streams. >From my experiments I can tell that switching oos.flush(); and gzos.finish(); does not help. I'm still getting exceptions for incorrect version in the stream. But I also found a solution which is in the code below. In order to workaround the other problem with OutOfMemory exception I created new GZip input/output stream classes that descend from the original Java classes. in my Output stream I added new finish method public void finish() throws IOException | { | super.finish(); | def.end(); // This will release all resources used by zlib | } | } in the input stream I added new method public void end() throws IOException | { | while (available() > 0) { // This tell the gzip input stream to read the extra trailer put by finish method in output stream. This all removes the need to use buffered stream like in 2.x branch | read(); | } | inf.end(); | } | and I call this new method at the end of read method. this way I can use original java GZip classes without having to relay on external libraries. - inf and def are protected fields in Java 1.5 and 1.6 If you want I can provide you with full source code so you can use it to create the necessary updates in 2.x and 2.2 branches. Doychin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199342#4199342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Resource Injection into Servlet Filter = Receive timed o
Hi Jaikiran, Thanks for your response. I was using the JBoss Eclipse plugin to start it up. Now I'm trying from the command line (default bin/run.bat) with the same result. I do not have a jndi.properties. The EJB does show up in JNDI-View. I'm trying a bunch of things but not getting anywhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199341#4199341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS ConnectionFactories
Yeah I read this post. But I have still not got answer to my question : anonymous wrote : | 1) How do I create a QueueConnectionFactory / TopicConnectionFactory in JBoss if I want to create my own connection factories ? I have JBoss 4.2.2 installed. Please guide me. Any help would be greatly appreciated. Thanks. I want this as I want to create my own Connection Factory with a clientID for my durable subscriber example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199340#4199340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Creating Connection Factory in JBoss MQ.
Hi All, I am using JBoss 4.2.2 GA as my application server. It user JBoss MQ. I am aware that for creating our own queues and topics we have to make an entry in jbossmq-destinations-service.xml (jboss-4.2.2.GA\server\default\deploy\jms). But I am not able to find as to how do we create our own connection factories. I need to create Connection Factory because in DurableSubscriberExample in one of the tutorials its given to create the ConnectionFactory with a client ID first before running the example. So I need to create my own Connection Factory with a specific client ID. Please tell me how to do this configuration. I have searched the net for this without any success. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199339#4199339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS ConnectionFactories
"siddharth_2279" wrote : What is JBM ?? I am using JBoss 4.2.2 GA app server. It uses JBoss MQ as its messaging provider. This post should help you. I guess you missed it the first time: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80573 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199338#4199338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS ConnectionFactories
What is JBM ?? I am using JBoss 4.2.2 GA app server. It uses JBoss MQ as its messaging provider. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199337#4199337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Trying to persist process instances - need some help
You should either use a more complete full jbpm.cfg.xml or leave it out so the default will be used. Not sure if that is the cause. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199332#4199332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199332 ___ 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.0 Taking LONG Time to Start Up
anonymous wrote : 22:41:34,515 INFO [NativeServerConfig] 3.0.4.SP1 | [. LONG WAIT HERE .] | 22:43:44,359 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@77 | 64591{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/myApp.ear/myAppEJB.jar/} | Its not the EJB app thats taking time. The long wait that you are reporting, is just that there are no INFO level logs during that period. Keep a watch on the %JBOSS_HOME%/server/< serverName>/log/server.log file (which has more verbose logs) to see what's going on during that period. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199326#4199326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Resource Injection into Servlet Filter = Receive timed o
anonymous wrote : Caused by: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] What command doou use to start JBoss? Also, do you package any jndi.properties file in your application? If yes, please post it's contents. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199325#4199325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to inject sessionbean from sessionbean
anonymous wrote : CourseHandler tries to inject groupHandler and vice versa You mean a circular dependency? Try adding @IgnoreDependency on one of the injections. See this for detatils http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117943 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199324#4199324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Why so many retries?
"mohitanchlia" wrote : | I made the change to EJB deployer only but for some reason it didn't work because I had a typo. | I don't follow. What's the outcome? "mohitanchlia" wrote : | Upgrading the jboss remoting might be a problem with Jboss support group. In order to continue to get their support they require us to use that comes in their distribution. | Are you saying you have a JBoss support contract? In that case (1) you should go through the support portal for help (which, in general, will guarantee more timely and dedicated attention than I can supply on the fourm), and (2) you should probably upgrade the whole EAP 4.2/4.3 product, which will include a newer version of Remoting. "mohitanchlia" wrote : | In any case why numberOfRetries is not supported in new Jboss remoting? | One of the reasons for using "numberOfRetries" was, when the maximum number of connections were already in use, to check periodically to see if a connection had been returned to the pool. We have a better way of doing that now. "mohitanchlia" wrote : | Also, attribute timeout is the timeout when the socket connection is made from client to socket, or is it when request is sent for remote invocation to server invoker? | See thread "Socket Invoker timeout" at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148027. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199320#4199320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: New JBoss Messaging clustering
Probably you haven't deployed your queue on both nodes. Regarding CTRL-C - there is a FAQ on this and many old discussions in JIRA and on the forums. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199319#4199319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Exception in MessagingPostOffice
hsql is not a clusterable database. I think that is made clear in the installation section of the user guide. The naming of "clustered-hsql-persistence-service.xml" is admittedly confusing, but it's only intended as a placeholder. As I say, the installation guide is explicit about not to use hsql. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199318#4199318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Running JMS with MySQL
This is a known issue, tracked in JIRA https://jira.jboss.org/jira/browse/JBMESSAGING-1471 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199317#4199317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Socket Invoker timeout
"mohitanchlia" wrote : | anonymous wrote : | | The call to java.net.Socket.connect(SocketAddress endpoint), which is the overloaded version of connect() used in org.jboss.remoting.transport.socket.MicroSocketClientInvoker, does not time out. | | | | I didn't understand the above "does not timeout". With what you described then I shouldn't be seeing this: | | 2008-12-31 17:20:14,297 DEBUG [transport.socket.MicroSocketClientInvoker:ajp-0.0.0.0-8009-99] - SocketClientInvoker[18b118, socket://10.10.8.77:3873] got Exception java.net.NoRouteToHostException: No route to host, creation attempt took 5001 ms | The java.net.NoRouteToHostException doesn't represent a timeout. The "creation attempt took 5001 ms" message is just extra information provided by the invoker. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199316#4199316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Stream Corrupted Exception on Server side
"vink" wrote : | netstat tool shows many connections on 1098 & 1099 in TIME_WAIT state | Ports 1098 and 1099 are used by java RMI, not Remoting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199315#4199315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Can't inject PersistenceContext, NullPointerException wh
Oddly, I got it working by luck and I'm still tracking down what I did. I tried your suggestion (unitName="...") and that didn't work. But I did get it working using a JNDI lookup rather than injection (see http://forum.hibernate.org/viewtopic.php?p=2402399#2402399 for more details). As and when I find out what I did, I'll post back in case someone else sees this in the future View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199314#4199314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to inject sessionbean from sessionbean
Hi, the only thing I see in the server.log that belongs to that error is: | ... | 2009-01-03 10:27:14,656 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} | | jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3 | -> {Described:** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' **} | | jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3 | -> {Described:** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' **} | | | *** CONTEXTS IN ERROR: Name -> Error | | -> ** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' ** | | -> ** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' ** | | | 2009-01-03 10:27:14,656 DEBUG [org.jboss.bootstrap.microcontainer.ServerImpl] (main) Installing life thread Thread[JBossLifeThread,5,jboss] | ... | (CourseHandler tries to inject groupHandler and vice versa) In the console it is the following: 10:27:14,656 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} | | jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3 | -> {Described:** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' **} | | jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3 | -> {Described:** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' **} | | | *** CONTEXTS IN ERROR: Name -> Error | | -> ** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' ** | | -> ** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' ** | | I use JBoss 5.0.0 CR2 and jdk1.5.0_14 The EJBs are part of the same application; they are only in separat packages: | CMT_ejb.jar\de\cmt\beans\groupAdministration | CMT_ejb.jar\de\cmt\beans\courseAdministration Thanks, NSchweig View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199313#4199313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten
I changed the following line with no change in behavior: | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199312#4199312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten
Here is my persistence.xml file: | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; version="1.0"> | | | java:/testDS | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199311#4199311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten
I tried placing the MBean definition in the default/conf/jboss-service.xml file instead of a standalone cache-config.xml file in /default/deploy but got a different error relating to TransactionManager being NULL at runtime. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199310#4199310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache service not registered on cold start EAR persisten
Caused by: javax.management.InstanceNotFoundException: jboss.cache:service=EJB3EntityCache is not registered. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199309#4199309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Resource Injection into Servlet Filter = Receive timed out
JBoss AS 5.0 JDK 6.x Window XP Eclipse JBoss Plugin My Eclipse project is set up using the default EJB project structure (Ear project, EJB project, Web project). I'm trying to inject a stateless ejb into a servlet filter, but upon deployment, I get the following exception 00:11:22,593 ERROR [[/acme]] Exception starting filter MyServletFilter | java.lang.RuntimeException: Unable to inject jndi dependency: env/com.acme.myApp.servlets.MyServletFilter/myStatelessEJB into property com.acme.myApp.servlets.MyServletFilter.myStatelessEJB: Receive timed out | at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:82) | at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) | at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:360) | at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:243) | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:220) | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332) | at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90) | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4413) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:96) | 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.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.deployers.ServiceDeployer.start(ServiceDeployer.java:146) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5.0 Taking LONG Time to Start Up
Hi, I'm just starting to check out 5.0. I have pretty much a basic/default installation of JBoss AS 5.0. The same EJB app that takes about a minute to start up in 4.x takes more than 4 minutes in 5.0. Some sample output... | 22:41:14,203 INFO [WebService] Using RMI server codebase: http://localhost:8083/ | 22:41:34,515 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core | 22:41:34,515 INFO [NativeServerConfig] 3.0.4.SP1 | [. LONG WAIT HERE .] | 22:43:44,359 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@7764591{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/myApp.ear/myAppEJB.jar/} | 22:43:44,359 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@7764591{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/myApp.ear/myAppEJB.jar/} | As you can see, right after "[NativeServerConfig] 3.0.4.SP1", you can see that about 2 minutes elapse before the next line. I'm using Eclipse + JBoss plugin (Windows XP, JDK 6.x) to deploy and start up JBoss. Is this normal? Any suggestions on how to speed this up? I don't need web services, so if that's the culprit, any tips on removing/disabling it? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199307#4199307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user