[jboss-user] [JBossWS] - How to discover wsdl file of web service from JBoss using AP
Does anyone know how to discover wsdl file of web service from JBoss using API? The wsdl file is included in the wsdl directory of the war, as JBoss using JMX to manage resource, maybe I can use MBean to find the wsdl file of webservice, but as there are so many MBeans, could anyone help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166312#4166312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - how to get ther user info from jms application in jboss
hi all, i am writing one jms application to that i have need of users info like username and password tell me how to get and one more thing how to create users in jboss thanks & regards ponali View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166311#4166311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Creating a dynamic datasource
thank's View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166308#4166308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Session is being expired when one of the cluster is set
Hi, May I know what exactly is your problem? can you brief it out with details? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166305#4166305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ERROR: duplicate key violates unique constraint
Hi all, I am trying to execute the bellow code, private boolean isUserNameExist(){ Users users = getInstance(); String qry = "from Users where userName=:userName AND tenantId =:tenantId"; Query query = entityManager.createQuery(qry); query.setParameter("userName",users.getUserName()). setParameter("tenantId", users.getTenantId()); List lst =query.getResultList(); return lst.size() > 0 ? true : false; } but i am getting an entirely different exception like bellow.The exception is throwing at "List lst =query.getResultList(); " . 11:22:54,328 ERROR [JDBCExceptionReporter] ERROR: duplicate key violates unique constraint "ad_users_u2" 11:22:54,328 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) Can anybody can help me to fix it. Thanks in advance vivek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166302#4166302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Dynamic AOP Tutorial
Hi everyone! Have you ever wondered how to use JBoss AOP to enable and disable aspects at runtime? Check out the new tutorial on dynamic AOP: http://jbossaop.blogspot.com/ After reading it, get engaged and let us know what you think would be nice to have as part of our dynamic AOP API in a future release: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166298#4166298 Enjoy! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166301#4166301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - HASingleton - Determine which node in the cluster is the mas
Hi, I am running JBoss 4.2.2, and i have a cluster of four nodes. One of the requirements, that i have to implement is to determine which node in the cluster is the master node. Currently, the way i am doing this now is asking for a current view in HAPartition: | private String getMasterSocket() { | | HAPartition partition = this.getPartition(); | | if (partition != null) { | | if (partition.getCurrentView() != null) { | return partition.getCurrentView().get(0).toString(); | | } else { | return null; | } | } else { | return null; | } | } | The method above returns to me a socket of a master node. I am using this socket to get a proxy to a service on the master node. My question is: Is there any other way to determine which node in the cluster is the master node? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166297#4166297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance
Actually I m running out of permgen space. And I am running it on JBoss 4.0.4GA. Can you suggest how to overcome this problem?? Thanks and Regards, Vishal M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166295#4166295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Jboss performance Tunining
Hi all, I am new to this jboss world and have installed in the one of my server for application developers. Now they are complaining that I haven't tuned it for production environment & jboss server is taking huge RAM. What I did was just download the file 4.2.2.GA and untar it to a location to which I gave necessary rights to developers. How they are viewing that memory usage; is there any good monitoring tool? Now as a system owner what Tuning can be done for making jboss run in production environment? Isn't it secured just out of the box. Thanks in advance. FYI, we are running two versions of java as below and System has 4GB RAM. .../jdk1.5.0_09/bin/java -Xms1m -Xmx30m -classpath ../jdk1.6.0_06/bin/java -Djava.net.preferIPv4Stack=true -Xms10m -Xmx500m View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166293#4166293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Trying to increase performance, doesn't seem to be CPU or DB
Hello I am trying to maximize the performance/thoroughput of my JBossAS. Currently my server processes approximately 60 external requests per second. At this rate CPU usage is at ~50% usage, memory is at ~35% and the load on the DB machine is similar. I have tried fiddling with various parameters of the system, namely the JMS threadpool size (all requests are placed on the JMS queue) and the JMS connection pool size. The modifications I make only seem to have a minor effect on the system's performance, and even setting the pool settings to very high values doesn't result in a much different operation. The system loads never goes higher than what I mentioned above. Are there settings which I could change in addition (or in place of) those I mentioned to get the desired results? Is there potentially another bottleneck (local secondary storage, network, etc.) that could cause this? Any help is greatly appreciated. Server specs: jboss-4.2.2.GA Dual-Quad Core System, 4G ram View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166292#4166292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: something about Token
"kukeltje" wrote : Don't you have synchronization issues then if multiple child tokens signal the (non existing?) token to continue? This can set a counter to record the number of the coming child tokens in Join. If the coming tokens' number is equal the into Join Transitions' number, then goes on and creates a new Token.(It refers the Petrin-Net's Token , if place has the enough token then signal the transiton) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166291#4166291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
It is definitely cleaner. But how can we guarantee that all clients will use the interceptor on the client end ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166288#4166288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
It is definitely cleaner. But how can we guarantee that all clients will use the interceptor on the client end ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166287#4166287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
I agree with what anil says...Its probably cleaner way than Socket API...When I mentioned Socket API, I had in mind java.net.ServerSocket API..You could perhaps hack it & use it to get IP...But once again not at all an elegant way & is frowned by specsIf you are still interested, I can post the code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166285#4166285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: CastClassException NamedXmlApplicationContext
Inputs much appreciated...I managed to get this working with ejb 3 and spring 2.5..But felt a bit lazy to publish to forum..Many thanks once again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166283#4166283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: multiple web apps in the SAME JBoss instance
Hi Peter, yes the link you mention below, but for me it is under jboss.j2ee, not jca (I am guessing it might be the same for you). Btw, I am on JBoss 4.2.2 GA. I think as a first step, if the app gets undeployed (just like the WAR), it would work for me. Only that it is not doing so :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166280#4166280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cant get jboss tools 2GA to work with Ganymede build
JBossTools 2.1.2 requires the following drivers: Build Drivers Eclipse eclipse-SDK-3.3.2-win32.zip Webtoolswtp-sdk-R-2.0.2-20080223205547.zip GEF GEF-SDK-3.3.2.zip EMF/XSD/SDO emf-sdo-xsd-SDK-2.3.2.zip DTP dtp-sdk_1.5.2_022008.zip Source: http://download.jboss.org/jbosstools/builds/release/2.1.2.GA/ Ganymede comes with webtools 3.0.0. Source: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder JBossTools requires webtools 2.0.2, Ganymede comes with webtools 3.0. They are not compatible. JBossTools 2.1.2 is for use with Europa only. Not Ganymede. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166282#4166282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - set a rolled-back txn back to active
have Java/HIbernate apps. When run in Eclipse/JAR file with this, it works fine. public void saveToDatabase() throws Exception | { | Transaction txReporting = null; | try{ |txReporting = sesReporting.beginTransaction(); | ... | txReporting.commit(); | } catch (Exception e) { |if (txReporting != null) { |// Something went wrong; discard all partial changes |txReporting.rollback(); | // nested try-catch loop to catch all errors |try{ | // for logging purpose | txReporting = sesReporting.beginTransaction(); |... | txReporting.commit(); | } catch (Exception ex) { | throw ex; | } |} |throw e; |} |} But when I throw this into JBoss, I hit: anonymous wrote : 2008-07-23 17:46:04,291 DEBUG [org.hibernate.util.JDBCExceptionReporter] Cannot open connection [???] | org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: acc550a:c94:4886fda0:41 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: acc550a:c94:4886fda0:41 status: ActionStatus.ABORT_ONLY >) | ... | Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: acc550a:c94:4886fda0:41 status: ActionStatus.ABORT_ONLY > | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:304) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | ... 53 more | 2008-07-23 17:46:04,307 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: null | 2008-07-23 17:46:04,307 ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: acc550a:c94:4886fda0:41 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: acc550a:c94:4886fda0:41 status: ActionStatus.ABORT_ONLY >) | 2008-07-23 17:46:04,307 ERROR [STDERR] org.hibernate.exception.GenericJDBCException: Cannot open connection anyone? is this called "multiple one-phase" : http://wiki.jboss.org/wiki/Multiple1PC ? I thought using 2 separate transactions is required MSDTC (change to . )? when i do this in between code: txReporting.rollback(); | if(txReporting.wasRolledBack()) |System.out.printf("txReporting.wasRolledBack \n"); | if(txReporting.isActive()) |System.out.printf("txReporting.isActive \n"); It never show "txReporting.isActive" after txn.rolledback. But there's no option/method to set it to active? anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166281#4166281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: multiple web apps in the SAME JBoss instance
That is weird. I clicked on the corresponding link for one of my EARs and did not get an error. All you did was click on the "service=EARDeployment.url='example2.ear'" link under the "jboss.jca" section on the JMX Agent View within jmx-console, right? That the war is undeployed when you stop it is not surprising. There is no concept of "don't allow any more requests for this app". Though if you set up virtual hosts, one for each app, you might be able to stop each host. That might not undeploy the app, and since the app can be reached only through the virtual host, it is as good as stopped. By the way, even if you went with two app server instances, one for each app, stopping one of the app servers to stop an app would also undeploy the app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166279#4166279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - document / pointers on doing an RMI client server implementa
Is there any documentation for the above? I want to do is a client / server RMI implementation and deploy in JBoss. How does one substitute the rmiregistry tool? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166276#4166276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cast problem
yes, you get from what I remeber from reading the forums, you get hibernate proxies back, not real classes. Search the forum for some tips View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166274#4166274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: is authenticated login cached anywhere?
I figured this out. It is the defaultcachetimeout and defaultcacheresolution variables in jboss-service xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166275#4166275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache performance looks pretty poor :(
Jason and Manik, Thank you all for very quick and useful response. Re: balancing I'm afraid simple modulus won't make the tree deep. If I have 1,000,000 meters and written actively by 3 nodes (but I do have stickiness per node) then simple modulus like x = ID % 1 fqn = /ROOT/x/ID ROOT still has 1 direct nodes (which is according to Manik should be less than 500 direct children per node). I can do many level of by partitioning the bits of a number. Here, I really want to know the best practice which I hope you guys document somewhere, such as, how many nodes should I have under ROOT? How many direct nodes under a node? And how deep the tree can go? How bad is unbalanced tree? On other cache system I ended up using multiple caches to spread the load and concurrency using simple modulus b/c everything is flat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166270#4166270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss (web service app) huge memory usage
by the way, your presentation is very helpful, thanks a lot :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166269#4166269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss (web service app) huge memory usage
hi,peter thank you for advice :). Creating a new jbossAs instance on our productive server for testing is not a good idea (i have only 16G phisical memory and timesten will take almost 12-14G) . If i do that my boss will yell at me :) i have seen the report from tomcat in webconsole, we have only 108 threads on http. Default 150 should be ok for our case. The problem is, no matter max heap size & max perm size i set, 5.5G mem usage is far beyond the limit. By default Solalis stack size is 8M , and prstat -L can not list memory usage for each lwp, so i suspect solaris server jvm didnot take -xss (maybe it only take -XX:ThreadStackSize)... Gruss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166268#4166268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Caching JSP output does JBoss cache support this
Hi, I've skimmed through the JBoss cache users guide looking for any info about the possibility to employ JBoss Cache for caching jsp/servlet responses. There's a very old entry on this forum ( see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=56775 ) suggesting that this was considered once. A bit more about what caching functionality needed. We need to cache documents generated by JSPs and servlets, but the content returned to the client may vary depending on the IP address the user connects from. For example it is entirely possible that a url address typed in a browser from the US territory will result in a different response than exactly the same url but requested from the UK. We already have a mechanism for obtaining the territory code based on the IP address as returned by the ServletRequest.getRemoteAddr(). I would imagine the solution in form of an intercepting filter (which all requests to be cached pass through) getting the territory info based on the IP and then preparing the caching key and consulting the cache for potentially ready response. Is there anything like this already available in the JBoss Cache? Assuming the solution exists, is this solution configurable enough to cater the above described needs? Will be grateful for any suggestions! Cheers Krzysztof View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166267#4166267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache performance looks pretty poor :(
"phpguy99" wrote : | I haven't changed my code to spread objects further down the tree. | BTW, this seems odd or I may have missed something, but shouldn't the cache system do this spreading behind the scene? Depends on the key of the objects to cache, it could be difficult to balance the tree. And to know the "path" before I can do a "get". It's much simpler to do straight "key" lookup. (just my 2cents) | Could you tell us about your access patterns? How often do you insert? How many simultaneous writers will you have on the same server/process? A node currently has 4 segments, so it's tuned for allowing 4 simultaneous child node inserts. So, only if you have > 4 concurrent threads (more than 4 cpu cores) all inserting at the same time, that could become a bottleneck. If this is the case, and you need to spread, you don't really need to do active balancing, just a simple modulus of a spread would work fine. Like | x = ID % 1 | fqn = /x/ID | We do plan to make this concurrency level configurable in 3.0, so you won't need to spread things out if you don't need to. anonymous wrote : | Back to performance and memory. | It's stable now with 2 nodes. The rate of my insert is increased from 2000/s to 4000/s. This is one at a time and SYNC that is 0.25ms/operation which is very good and multithreaded should increase this by a lot (I hope). | But the memory consumption is still very high (maybe b/c I put everything right under "root"). 4GB for my 1M objects | You are still experiencing JBCACHE-1383. Which causes 16 CHM segments and locks to be created per node. The update reduced it to 4. It is not yet in a release, although you can build the latest 2.2.x branch if you want. The MVCC locking mode in 3.0 completely eliminates the 4 CHM segment and lock overhead, so you might want to give that a try. anonymous wrote : | I constantly see: | 2008-07-23 10:09:47,929 [Incoming,JBossCache-Cluster,10.57.132.54:38174] WARN org.jgroups.protocols.pbcast.NAKACK.handleMessage - 10.57.132.54:38174] discarded message from non-member 10.57.132.53:33187, my view is [10.57.132.54:38174|0] [10.57.132.54:38174] | This could indicate you have other traffic on the same multicast address. You might want to make sure the nodes in your cluster are the only ones using that address. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166265#4166265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.
Please post a simple Java test that we can run that demonstrates the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166263#4166263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JBC2.1.1.CR2 evenQueue Bug?
JBossCache version:2.1.1.CR2 with Hibernate version:3.3.0.CR1 Under heavy load, many of the objects in my application reach the capacity threshold for JBossCache which generates the following warning and locks up the calls to select them. eviction node event queue size is at 98% threshold value of capacity: 20 Region: /org/somepath/MyClass/ENTITY You will need to reduce the wakeUpIntervalSeconds parameter. I already have the wakeUpIntervalSeconds set to the minimum value of 1. I've tried increasing the eventQueueSize attribute to 50 with the same issue except it takes a bit longer to show up. Here is my EvictionPolicyConfig. | | | 1 | org.jboss.cache.eviction.LRUPolicy | | 5 | 3600 | 3600 | 120 | | | | | If I roll back to JBossCache 1.4.1.x, the problem goes away. Do you think this would be a problem with JBossCache or is it the integration between Hibernate and JBossCache. It's almost like the eviction thread does not ever run or it blocks and gets hung. Anyone else having this issue or know of a resolution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166262#4166262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM versus MS Workflow
grin1dan, Here's a standard method which can help you to make such decisions: (You can adjust the following. But next time, please give the list you scored jBPM and MS Workflow when you try to discuss this topic further more.) 1. Standard: weight: 20% including the following subitems: 1.1 Architecture: Java, .NET, PHP, PERL and etc. weight: 10% score: 1-5 1.2 Workflow standards: BPEL and etc. weight: 10% score: 1-5 2. Long term assurance: weight: 25% including the following subitems: 2.1 Popular: I use google rank to judge it's worldwide popularity. weight: 10% score: 1-5 2.2 Stable team: weight: 10% score: 1-5 2.3 Stable firm: weight: 5% score: 1-5 3. Key Functions: weight: 55% including the key functions required in your project. Regards, Shi Yusen/Beijing Langhua Ltd. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166261#4166261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Does support blocking cache to avoid duplicate processing fo
Does JBoss Cache Core Edition support blocking cache to avoid duplicate processing for concurrent operations? In other words, does it provide API so that instanciation of the object to be cached are never duplicated by two concurrent threads having cache miss for the same thing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166260#4166260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.
The following is the set up and steps I did to get this issue. Setup: JBoss/JBM Servers - 2 Nos. S1 & S2. Both are fresh servers in which the JBoss MQ is replaced with JBM and all the necessary configuration changes made as per the documentation. Publisher - 5 Nos. P1, P2, P3, P4 & P5. All the publishers are the instance of the same class. All are publishing on testTopic. Each Publisher publishes about 1000 Messages. Subscriber - 1 Nos. Sub1. Durable Subscribing to testTopic. Persistence - Oracle DB. Steps: 1. Start both the Servers (S1 & S2). 2. Start the Subscriber. 3. Check the JBM_POSTOFFICE table. The QueueName "MyClientID.Alpha" is tied to the COND "topic.testTopic". 4. Stop the Subscriber. 5. Run all the 5 Publishers together till they publish all the 1000 messages. 6. Let the publishers complete the publishing. 7. Check the JBM_MSG table. There are only 4000 messages. Ideally there should be 5000 messages. 8. Run the subscriber. 9. Subscriber consumes 4000 messages. 10. Let the Subscriber consume all the messages. 11. Check the JBM_MSG table. There are 0 messages. I lose all the messages of 1 publisher. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166258#4166258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Attaching files
Thank you kukeltje for your answer ;)[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166257#4166257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JBOSS Support for CRL
Yes i was raising concerns on crlFile I can understand that tomcat reads the sever.xml on startup only and that is a limitation we might have to live with it. However, i could not understand the behavior of CRL once next update expires. It is blocking all connections simply because it could not verify the CRL. I am really hoping there is already a patch or workaround for this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166256#4166256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: multiple web apps in the SAME JBoss instance
Thanks Peter, this was helpful. I went through the JMX console, but still get another exception when trying to stop my EARDeployment service. Though, when I try stopping the WAR, it undeploys the WAR file!!. I see from the exception that JBoss doesnt find my EAR registered?? javax.servlet.ServletException: Failed to invoke operation org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:269) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.management.InstanceNotFoundException: jboss.j2ee:service=EARDeployment,url='example2.ear' is not registered. org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523) org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:666) org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:216) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166255#4166255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Samples Weather - JbossPortal 2.7.0.ALPHA - javax.portlet.Re
Hi, I test the sample weather with jbossportal 2.7.0.ALPHA, I change the zip code and I have this exception : 2008-07-23 22:24:53,484 ERROR [STDERR] javax.portlet.ReadOnlyException: Key RssXml cannot be written | 2008-07-23 22:24:53,484 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.api.PortletPreferencesImpl.setValue(PortletPreferencesImpl.java:250) | 2008-07-23 22:24:53,484 ERROR [STDERR] at org.jboss.portal.core.samples.weather.WeatherPortlet.processAction(WeatherPortlet.java:211) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java) | 2008-07-23 22:24:53,500 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166254#4166254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - is authenticated login cached anywhere?
Is there a way to clear it before next login attempt? Is this a setting? Basically, I have a custom implementation of the login module, with a funtionality to check for number of times a user attempted bad logins before throwing a LoginException. Thing is, if I attempt a good login, then x amount of bad logins, then a good login, I can log in successfully, leading me to believe my first successful login is cached somewhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166253#4166253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache performance looks pretty poor :(
"phpguy99" wrote : Really would like to have that fun but I'm evaluating it for production use in the next 3-4 months. | I would still recommend trying it out - I may push out 3.0.0 fairly quickly (next 2 mths), the major bits are ready and a lot of people are keen start using it. Either way, it should be a painless upgrade path from 2.2.0. "phpguy99" wrote : | I haven't changed my code to spread objects further down the tree. | BTW, this seems odd or I may have missed something, but shouldn't the cache system do this spreading behind the scene? Depends on the key of the objects to cache, it could be difficult to balance the tree. And to know the "path" before I can do a "get". It's much simpler to do straight "key" lookup. (just my 2cents) | I agree - but there are always 2 sides to that argument. Some people want the more direct control, some don't. It is on our roadmap as an option, and we do have an implementation that someone contributed that may even make it into 3.0.0. See https://jira.jboss.org/jira/browse/JBCACHE-67[/url] and [url]https://jira.jboss.org/jira/browse/JBCACHE-941. Cheers Manik Back to performance and memory. It's stable now with 2 nodes. The rate of my insert is increased from 2000/s to 4000/s. This is one at a time and SYNC that is 0.25ms/operation which is very good and multithreaded should increase this by a lot (I hope). But the memory consumption is still very high (maybe b/c I put everything right under "root"). 4GB for my 1M objects | num #instances #bytes class name | -- |1: 16000897 768043056 java.util.concurrent.locks.ReentrantLock$NonfairSync |2: 16000820 768039360 java.util.concurrent.ConcurrentHashMap$Segment |3: 16000820 528806520 [Ljava.util.concurrent.ConcurrentHashMap$HashEntry; |4: 43792 323829848 [I |5: 2021461 153453344 [C |6: 1002432 152294120 [Ljava.util.HashMap$Entry; |7: 152 152007808 [Ljava.util.concurrent.ConcurrentHashMap$Segment; |8: 102 88000176 org.jboss.cache.UnversionedNode |9: 2016545 80661800 java.lang.String | 10: 102 8160 org.jboss.cache.invocation.NodeInvocationDelegate | 11: 152 72003744 java.util.concurrent.ConcurrentHashMap | 12: 102 72000144 org.jboss.cache.lock.NonBlockingWriterLock | 13: 1002113 64135232 java.util.HashMap | 14: 1001773 48085104 java.util.HashMap$Entry | 15: 1000281 48013488 java.util.concurrent.ConcurrentHashMap$HashEntry | 16: 102 4896 org.jboss.cache.lock.IdentityLock | 17: 1008529 40619728 [Ljava.lang.Object; | 18: 1000771 40030840 java.util.ArrayList | 19: 104 4160 org.jboss.cache.Fqn | 20: 102 4080 java.util.RegularEnumSet | 21: 100 4000 com.ssn.jbosscache.Meter (my objects) | | I constantly see: | | 2008-07-23 10:09:47,929 [Incoming,JBossCache-Cluster,10.57.132.54:38174] WARN org.jgroups.protocols.pbcast.NAKACK.handleMessage - 10.57.132.54:38174] discarded message from non-member 10.57.132.53:33187, my view is [10.57.132.54:38174|0] [10.57.132.54:38174] | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166251#4166251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Only one user at each connection
Once a user logged into the portal, I would like to forbid another connection by another user with the same login and password. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166250#4166250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cant get jboss tools 2GA to work with Ganymede build
Hi, I Installed Jboss tools 2.1.2 GA on Eclipse GanyMede and getting same exception when I created new Sem project for Jboss AS View and Jboss Tools Pallette. Using eclipse-jee-ganymede-win32.zip JBossTools-2.1.2.GA-ALL-win32.zip jboss-seam-2.0.2.SP1.zip Exception: Could not create the view: org/eclipse/wst/server/ui/internal/view/servers/ServerAction java.lang.ClassNotFoundException: org.eclipse.wst.server.ui.internal.view.servers.ServerAction at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.jboss.ide.eclipse.as.ui.views.server.ServerTableViewer.(ServerTableViewer.java:204) at org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.(ServerFrame.java:113) at org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:141) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4169) at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3234) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) 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:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.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) Could not create the view: org/eclipse/gef/internal/ui/palette/editparts/PaletteEditPart java.lang.ClassNotFoundException: org.eclipse.gef.internal.ui.palette.editparts.PaletteEditPart at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
[jboss-user] [Advanced Documentation] - document / pointers on doing an RMI client server implementa
Is there any documentation for the above? I want to do is a client / server RMI implementation and deploy in JBoss. How does one substitute the rmiregistry tool? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166248#4166248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss (web service app) huge memory usage
xinhua wrote : i can not deploy undeploy app / shutdown start jboss for test You don't have to shutdown your existing JBossAS to do a test - you could run a second instance. xinhua wrote : i wonder if i can tune JBossAS to reduce memory usage Memory usage of any Java app (which includes JBossAS) is dictated by the heap space allocated. Thus you could, for example, reduce the 1GB heap you are currently allocating to 800MB to save space. But that 200MB of savings would be a negligible part of the 5.5GB you reported. See my presentation on tuning the heap: http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html You could also change the number of threads that handle HTTP request by editing the maxThreads attribute of the Connector tag in server.xml (in server/xxx/deploy/jboss-web.deployer). But reducing that can reduce the response time for your users (if they have to wait for an available thread), or even result in "server is busy" errors. Besides, if each thread uses only 8K, then 100 threads use less than 1MB, which is an insignificant part of the 5.5GB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166247#4166247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - stale consumer on jboss MQ queue when ThreadPoolFullExceptio
Adrian, I seen your post regarding the fix for the problem posted at http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138726#4138726 We are seeing this error message in our production and after this error message, the consumer stopped receiving messages. We are trying to reproduce this problem and unable to reproduce. Can you please give me some hint, how I can reproduce this issue? It looks like the consumer become stale after this exception occurs. I can see SubscribersCount as 1 and ReceiversCount as 0, after this problem occured and it's not receiving any message. SubscribersCount=1 ReceiversCount=0 QueueDepth=146615 Name=StatusQueue Thanks, Srinivas. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166245#4166245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Client jar interfering with server-side WS
Our application has both server-side web services (EJB3 stateless bean exposed via annotations) and web service client components, completely separate components. The client uses a couple required jars provided by the host that the client interfaces with, and one of these jars contains a class that's interfering with the server-side web services. Any call made to the exposed EJB throws the following exception: 2008-07-23 16:45:45,697 ERROR [ContainerBase] http-localhost%2F127.0.0.1-8080-1 Servlet.service() for servlet MyService threw exception java.lang.AbstractMethodError: weblogic.webservice.core.soap.SOAPElementImpl.setAttributeNS(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at org.jboss.wsf.common.DOMUtils.copyAttributes(Unknown Source) at org.jboss.ws.core.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:125) at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124) at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96) at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:262) at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122) at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:613) The weblogic.webservice.core.soap.SOAPElementImpl is from the client jar, when what it should be using (I'm assuming) is org.jboss.ws.core.soap.SOAPElementImpl from one of the jbossws-*.jar's. How do I tell JBoss to use the correct one for the server-side stuff and not break the client component? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166243#4166243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Expiring empty cache regions
I have a very dynamic cache, we cache mq requests by a region and a subregion. There are a finite amount of possible subregions numbering in the thousands, and each element placed in the subregion expires after 30 minutes. I was just concerned because if for example all of the elements in a subregion have expired, the subregion node itself will sit there forever. I know one option is to have the subregion expire as well, but I don't want the elements inside to expire before their 30 minutes are up so i dont think thats an option. Do you think this is a potential memory concern having these empty nodes sit around? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166242#4166242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problems with CMS
Version 2.6.4 Well, we are using a portal url to redirect to one of our windows. When we fetch the portalnode and invoke node.createURL(Navigation.getPortalRuntimeContext()); We always get an url with an ?action=2 at the end. I have no idea of what does that means, but, I do know that it causes an exception that requires a server re-start: | 16:11:48,318 ERROR [JBossCachePersistenceManager] failed to read property state from cache: 81dd1cf6-b83f-4d33-8f7b-c355a4f0fbb1/{http://www.jcp.org/jcr/1.0}data | java.io.IOException: /81/dd/1cf6b83f4d338f7bc355a4f0fbb1/%7bhttp%3a%2f%2fwww.jcp.org%2fjcr%2f1.0%7ddata.0.bin: the specified resource does not exist | at org.apache.jackrabbit.core.value.BLOBFileValue.(BLOBFileValue.java:231) | at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:220) | at org.apache.jackrabbit.core.state.util.Serializer.deserialize(Serializer.java:291) | at org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager.load(JBossCachePersistenceManager.java:806) | at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:959) | at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:884) | at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:234) | at org.apache.jackrabbit.core.version.VersionItemStateProvider.getItemState(VersionItemStateProvider.java:122) | at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:239) | at org.apache.jackrabbit.core.state.LocalItemStateManager.getPropertyState(LocalItemStateManager.java:119) | at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:151) | at org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:235) | at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:162) | at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:461) | at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:319) | at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2492) | at org.jboss.portal.cms.impl.jcr.command.ContentGetCommand.execute(ContentGetCommand.java:155) | at org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:73) | at org.jboss.portal.cms.impl.jcr.command.FileGetCommand.execute(FileGetCommand.java:113) | at org.jboss.portal.cms.impl.jcr.JCRCMS$1.invoke(JCRCMS.java:111) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at com.synos.portal.search.cms.CMSLuceneInterceptor.invoke(CMSLuceneInterceptor.java:100) | at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.cms.impl.interceptors.ApprovalWorkflowInterceptor.invoke(ApprovalWorkflowInterceptor.java:105) | at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.cms.impl.interceptors.ACLInterceptor.invoke(ACLInterceptor.java:193) | at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:577) | 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:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy232.execute(Unknown Source) | at org.jboss.portal.core.cms.ui.CMSPortlet.doView(CMSPortlet.java:220) |
[jboss-user] [JBoss jBPM] - couldn't parse jbpm configuration from resource...
Hi All, I am new to jbpm and running into an issue. I create a JBPM project in eclipse and deployed it ...i am running jbpm server from /opt/jbpm-jdpl-3.2.3/server/bin Now when i go to http://localhost:8080/jbpm-console, i can kick off the workflowso far so good Now I wrote a java class to invoke the workflow, and the class is at /home/ashish/InvokeWF/ and here is the source code for that | | import java.io.FileInputStream; | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.graph.exe.ProcessInstance; | | public class Main { | public static void main(String[] args) { | try{ | testSimpleProcess(); | } | catch(Exception ex) | { | System.out.println(ex.getMessage()); | } | } | | public static void testSimpleProcess() throws Exception { | FileInputStream inputFS = new FileInputStream("/home/ashish/Workflow/SubmitWF/trunk/bin/submit-process/processdefinition.xml"); | | ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(inputFS); | ProcessInstance instance = new ProcessInstance(processDefinition); | instance.signal(); | } | } | When I run this class its giving me couldn't parse jbpm configuration from resource 'jbpm.cfg.xml' Can anyone tell me how to set the classpath and what all directories/jar files to include in the classpath and how so that i can invoke the workflow from a java class Please help thanks ashish View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166240#4166240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Benchmark
Another reason for steady state is JIT compilations and JRE's optimizations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166238#4166238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Benchmark
One thing I didn't understand on Matt's Brasier article was the relevance he put on Opening a connection. All the benchmarks I have ever delt with (including Specj, SpecJMS) don't mind about setup and ramp up times, only considering time after all the classes are loaded, everything is established and steady. (Defined as steady state on those benchmark's documentations). The concept of measure connection time is broken IMO. The benchmark still favorable to us... but Mr. Brasier should consider only steady state against any provider he chooses from. (I'm saying that with an independent point of view from JBoss Messaging). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166237#4166237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss (web service app) huge memory usage
Hi, peter, thank you for your advice. yes you right, i should contact Sun or Oracle, why i did put the question here is because maybe someone here encoountered the same problem as mine and know how to solve it. And also, i am not sure it would be jvm problem so i wonder if i can tune JbossAS to reduce memory usage. Sofar, my webservice and Oracle Timesten db which takes more then 10G memory runs on the same productive server(16G+Solaris64bit) and i can not deploy undeploy app / shutdown start jboss for test. (unfortunately i do not have a sever with same equipment for test.) if i run my webservice (remote connect Timesten with client driver) on a 32bitSolaris with 4G memory, i didnot see any unormal memory usage. Today, i wonder if solaris really take my -Xss def and will install dtrace script on server to see how many memory each thread used. Yes, surely will ask Sun about this also . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166235#4166235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss PC 2.0 Simple Portal
I am working on Jboss Portlet Container 2.0 bundle with Tomcat and am exploring the Simple Portal that comes out of box with it. Business requirement is to create a portal page and render a few porlets on this 2.0 container using a servlet. I am currently able to create a portal page & render portlets using jsps and portal.tld taglibs. However instead of a jsp, if I want to use a servlet, any idea how should I go about with it. Any body has any sample servlet example tat can help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166229#4166229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Porting a simple RMI client-server app to JBoss
did anyone figure this out? I have a similar issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166227#4166227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JMS Benchmark
In case someone missed it : http://www.c2b2.co.uk/iPoint/ipoint?SelectedPage=69&110ArticleID=17 JBM is the best choice of the selected. Can't wait for 2.0 :D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166228#4166228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Cast problem
Hi. I have a strange problem. When iterating over the leaving transitions of a task a cast of the "to" property is done. Something like this: | transitions=task.getTaskNode().getLeavingTransitions(); | if(transitions!=null) | for(Transition transition:transitions){ | to=transition.getTo(); | log.info("to:'{0}'-'{1}'",to,to.getClass()); | } | Which prints: | 'Decision(Evaluate)'-'class org.jbpm.graph.def.Node_$$_javassist_3726' | And when I want to do | (Decision)to | I get a ClassCastException. Any ideas? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166223#4166223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache performance looks pretty poor :(
Really would like to have that fun but I'm evaluating it for production use in the next 3-4 months. I downloaded 2.2 CR6 and changed the: StateRetrievalTimeout=60 (5 minutes) pbcast.GMS join_timeout="6" I haven't changed my code to spread objects further down the tree. BTW, this seems odd or I may have missed something, but shouldn't the cache system do this spreading behind the scene? Depends on the key of the objects to cache, it could be difficult to balance the tree. And to know the "path" before I can do a "get". It's much simpler to do straight "key" lookup. (just my 2cents) Back to performance and memory. It's stable now with 2 nodes. The rate of my insert is increased from 2000/s to 4000/s. This is one at a time and SYNC that is 0.25ms/operation which is very good and multithreaded should increase this by a lot (I hope). But the memory consumption is still very high (maybe b/c I put everything right under "root"). 4GB for my 1M objects | num #instances #bytes class name | -- |1: 16000897 768043056 java.util.concurrent.locks.ReentrantLock$NonfairSync |2: 16000820 768039360 java.util.concurrent.ConcurrentHashMap$Segment |3: 16000820 528806520 [Ljava.util.concurrent.ConcurrentHashMap$HashEntry; |4: 43792 323829848 [I |5: 2021461 153453344 [C |6: 1002432 152294120 [Ljava.util.HashMap$Entry; |7: 152 152007808 [Ljava.util.concurrent.ConcurrentHashMap$Segment; |8: 102 88000176 org.jboss.cache.UnversionedNode |9: 2016545 80661800 java.lang.String | 10: 102 8160 org.jboss.cache.invocation.NodeInvocationDelegate | 11: 152 72003744 java.util.concurrent.ConcurrentHashMap | 12: 102 72000144 org.jboss.cache.lock.NonBlockingWriterLock | 13: 1002113 64135232 java.util.HashMap | 14: 1001773 48085104 java.util.HashMap$Entry | 15: 1000281 48013488 java.util.concurrent.ConcurrentHashMap$HashEntry | 16: 102 4896 org.jboss.cache.lock.IdentityLock | 17: 1008529 40619728 [Ljava.lang.Object; | 18: 1000771 40030840 java.util.ArrayList | 19: 104 4160 org.jboss.cache.Fqn | 20: 102 4080 java.util.RegularEnumSet | 21: 100 4000 com.ssn.jbosscache.Meter (my objects) | | I constantly see: | | 2008-07-23 10:09:47,929 [Incoming,JBossCache-Cluster,10.57.132.54:38174] WARN org.jgroups.protocols.pbcast.NAKACK.handleMessage - 10.57.132.54:38174] discarded message from non-member 10.57.132.53:33187, my view is [10.57.132.54:38174|0] [10.57.132.54:38174] | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166221#4166221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How & Where to put .aar file in JBoss
There are no deployers for .aar files in JBossAS, so the way you did it is the only way. Besides, more recent version of JBossAS no longer using Axis for web services. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166214#4166214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Creating a dynamic datasource
"moshe1234" wrote : Is there any way to do it using jboss API ? (without using the jboss hot deploy) Have a look at this http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129581#4129581 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166213#4166213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Casting to StubExr leads to ClassCastException
I think you should use wsconsume to generate the client stubs, and then use those stubs. It will make your client much simpler - it will not need any of the security-related code you posted. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127824 for a complete example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166212#4166212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: creating data sources on the fly.
Avoid duplicate posts . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166215#4166215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: org.hibernate.HibernateException: Could not find datasou
I am using Jboss-4.2.2.GA. I have setup the datasource and it is visible in the JMX Console. I am using SEAM Hibernate and JPA. The following is the configuration in my persistence.xml | | | 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"> | | | org.hibernate.ejb.HibernatePersistence | java:/OracleDS | | | | | | | | | | | | | | I have set up the entityManagerFactory in the components.xml as | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:persistence="http://jboss.com/products/seam/persistence"; | xmlns:spring="http://jboss.com/products/seam/spring"; | xmlns:transaction="http://jboss.com/products/seam/transaction"; | xmlns:security="http://jboss.com/products/seam/security"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd | http://jboss.com/products/seam/spring http://jboss.com/products/seam/spring-2.0.xsd | http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd";> | | | | | | | | | | When I deploy my war file, I get the following in the jboss logs: | . | | 12:13:11,994 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 12:13:12,141 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OracleDS' to JNDI name 'java:OracleDS' | . | . | | 12:13:26,813 INFO [Contexts] starting up: oradsEntityManagerFactory | 12:13:27,125 INFO [Version] Hibernate Annotations 3.3.0.GA | 12:13:27,159 INFO [Environment] Hibernate 3.2.3 | 12:13:27,177 INFO [Environment] hibernate.properties not found | 12:13:27,183 INFO [Environment] Bytecode provider name : javassist | 12:13:27,193 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 12:13:27,331 INFO [Version] Hibernate EntityManager 3.3.1.GA | 12:13:28,322 INFO [AnnotationBinder] Binding entity from annotated class: org.mypack.core.model.ArticleRating | 12:13:28,433 INFO [EntityBinder] Bind entity org.mypack.core.model.ArticleRating on table ARTICLE_RATING | 12:13:28,547 INFO [AnnotationBinder] Binding entity from annotated class: org.mypack.core.model.Advertisement | 12:13:28,548 INFO [EntityBinder] Bind entity org.mypack.core.model.Advertisement on table ADVERTISEMENT | 12:13:28,583 INFO [Version] Hibernate Validator 3.0.0.GA | 12:13:28,857 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 12:13:28,862 ERROR [[/mypack]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | org.jboss.seam.InstantiationException: Could not instantiate Seam component: oradsEntityManagerFactory | at org.jboss.seam.Component.newInstance(Component.java:1986) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) | at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95) | at org.jboss.seam.init.Initialization.init(Initialization.java:596) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) | at org.apache.catalina.core.ContainerBase.a
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to stop jboss server
What Linux distro? I do not recognize the command you mentioned: "/jboss stop" The typical mechanism to stop the app server (assuming it is running on the same box and is using the default JNDI port)is: ./shutdown.sh -S Also do this. Open the jmx-console, go to the jboss:service=JNDIView mbean and invoke the "list" operation and post the results. It would appear that either JNDI is messed up, or perhaps JNDI is not using the default port (1099). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166209#4166209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss OutOfMemoryError - Help needed regarding Heap Size
What operating system, are you using? I will assume Windows, and that it is 32-bit. In that case, you can only allocate around a 1.5GB heap. Also, what kind of OOME are you getting? See http://wiki.jboss.org/wiki/OutOfMemoryExceptions for suggested fixes. Based on your description, I am guessing that it is not a permgen space problem (those usually happen when you redeploy an app). In which case you probably have a memory leak somewhere in your application. You might want to monitor heap usage. See my presentation at http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html for some suggestions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166207#4166207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Creating a dynamic datasource
Is there any way to do it using jboss API ? (without using the jboss hot deploy) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166208#4166208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Achieving asynchronous communications
Hi I am trying to implement a java webservice client (jboss 4.2 AS as the application server with JBossWS Native installed) for a webservice written in C#. The use case is : My java client has a for loop. In every iteration it sends two strings to the .net webservice. The .net webservice extracts that information and processes it. The process typically takes 5-6 mins to complete and currently the client has to wait. I want my client to be asynchronous i.e. once it sends the data to the webservice it should move on and process the next iteration. This way it can send all the requests (associated to the for loop iteration) to the webservice. Once the webservice is done with a single request (ie. iteration of the for loop) it returns an integer which is a database id for a row. Now the idle sitting client should receive this number and do some further processing. So the client would process every number the webservice returns (equal to the iterations of the for loop) I need to work on deciding which methodology would be suitable. I read an article at http://developers.sun.com/appserver/reference/techart/async_paper.html which makes sense to me. Also I went through http://jbws.dyndns.org/mediawiki/index.php?title=Asynchronous_invocations_sample article but am not sure how applicable is it to the platform interoperability requirement. Please share your experience and thoughts. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166205#4166205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Only one user at each connection
Please define "connection". Also, what do you mean by "only one authentification with the same user and password"? I ask this because once I log into the portal, I cannot log in as another user, or even as the same user, until I log out. Even if I open another browser tab or window, and navigate to the portal, I am still logged in as that user. Perhaps you should describe a use case that you wish to prevent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166204#4166204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sub process question
you have to probably configure and build your own subprocessresolver. The default one uses a database, hence the error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166202#4166202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss (web service app) huge memory usage
If I understand you correctly, you are using the -d64 option, and the reason you are using this option is because of a library, named Timesten, that you are using in your application. So let me ask you this. If you run without -d64 and without Timesten, does JBossAS show reasonable memory usage? (I realize that to do this you will not be able to deploy your application.) If the answer to that question is "yes," then why are you asking this question in the JBoss forums and not directing this question to the Timesten developers, or to Sun (it's their JVM that implements the -d64 option). Also, the -Xss governs the stack size for each thread. Thus you are using 157*8K or memory just for the stacks. Your heap setting is 1GB. The JVM will use at most that much memory for Java objects. The rest of the memory is used by the JVM. Wait a minute, that is not correct. The Timesten library is a shared object, correct? Well, it also uses memory. Try this: run JBossAS without your app (and thus without Timesten) but keep the -d64 option on the command line. Look at the memory usage. Compare that to the 5.5GB you mentioned. The difference is what is being used by Timesten. If that is excessive, talk to the developers of Timesten. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166201#4166201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet rendering through servlet
Hi, just bringing the topic up in the queue. Please help! At least let me know if its possible to render a portlet through Servlet using PC2.0. Thanks so much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166198#4166198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need urgent help in solving this error in running a JBPM
Hey, Are the database tables created in your oracle db ? If not run the oracle jbpm init script to create those tables and try again. Regards, leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166196#4166196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Difference pooled-actors and swimlanes
anonymous wrote : Now I understand it very well. Cool. I've a book about jbpm and the docu but none of them describes this part of jbpm this way, like you. Perfect! I think the jBPM docs themselves do But this should probably also contain the last alinea of the 3.1 docs /taskmanagement.html you have to write your own assignment handler for the 'and' stuff and pass the groupnames to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166194#4166194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - sub process question
Hi ... I'm new to jbpm, and I have a question about subprocess... I have two process defined in diferent files (call them A and B). I want to use A as subprocess of B. I dont want to use persistence ... so I write a code to put both process in a context. For each processDefinition file I do: ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(Thread .currentThread().getContextClassLoader().getResourceAsStream(processFile)); context.deployProcessDefinition(processDefinition); When the VM executes the context.deploy line, I get the following error: No connection properties specified - the user must supply JDBC connections please, tell me if i'm doing something wrong. Thanks in advance, (and sorry by my basic english) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166191#4166191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: something about Token
anonymous wrote : When Fork generates the new ChildToken ,then kill the ParentToken? And create a new 'parent' token when the join has to be left? Don't you have synchronization issues then if multiple child tokens signal the (non existing?) token to continue? and what if the parent token was no root token then you have to keep track of that parents parent token with probably some identical issues If it was that simple, I guess the core developers would already have thought about that. but that's just my idea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166190#4166190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Session is being expired when one of the cluster is set
Praveenas, I have the same problem http://www.jboss.com/index.html?module=bb&op=viewtopic&t=139599 tried all kind of configurations but nothing solved the issue. If you find any solution give me a shout. Matteo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166188#4166188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - creating data sources on the fly.
I usually configure the jboss datasources in the data source XML file . I want to know whether there is a way to create data sources on the fly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166186#4166186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Session is being expired when one of the cluster is set
Hi all, Please find the following stack trace in the command console Very thanks for your patience. 20:07:13,538 ERROR [[CCCServlet]] Servlet.service() for servlet CCCServlet threw exception javax.servlet.ServletException: Service id "12fca35_11b505d417a_1" not registered. at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:253) at nextapp.echo2.webrender.WebRenderServlet.doGet(WebRenderServlet.java:179) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87) at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:675) 20:07:13,623 INFO [CacheListener] Possible concurrency problem: Replicated version id 72 matches in-memory version for session D1CA48C2BA26664FC38ACD4B43182D4A 20:07:13,808 ERROR [JBossCacheService] loadSession(): id: D1CA48C2BA26664FC38ACD4B43182D4A exception occurred during deserialization java.lang.ClassNotFoundException: No ClassLoaders found for: nextapp.echo2.app.FillImage at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415) at java.lang.ClassLoader.loadClass(ClassLoader.java:269) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:265) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:622) at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1642) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1685) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at java.util.HashMap.readObject(HashMap.java:1048) at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
[jboss-user] [Clustering/JBoss] - Session is being expired when one of the cluster is set down
Hi, I am once again back to the clustering issue. I am trying to cluster 2 jboss instances (jboss - 4.2.2.GA) over an apache(httpd 2.0.61) load balancer. When I one of the instance set down, then the other node is unable store the session, with the following stack trace. Please let me know where exactly the problem might be. I ve checked the options of load balancing. Please go through the stack trace recorded by the server.log 2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for [EMAIL PROTECTED], handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:199, [EMAIL PROTECTED])] 2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for [EMAIL PROTECTED], handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:199, [EMAIL PROTECTED])] 2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase. One phase? true 2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:199 2008-07-23 20:07:14,129 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase 2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session D1CA48C2BA26664FC38ACD4B43182D4A not found in distributed cache 2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node1 jvmRoute: node2 2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] handleJvmRoute(): We have detected a failover with different jvmRoute. old one: node1 new one: node2. Will reset the session id. 2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] resetSessionId(): changed catalina session to= [D1CA48C2BA26664FC38ACD4B43182D4A.node2] old one= [D1CA48C2BA26664FC38ACD4B43182D4A.node1] 2008-07-23 20:07:14,129 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Setting cookie with session id:D1CA48C2BA26664FC38ACD4B43182D4A.node2 & name:JSESSIONID 2008-07-23 20:07:14,158 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession 2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-3,5,jboss] 2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler [EMAIL PROTECTED], handlers=[] 2008-07-23 20:07:14,158 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for [EMAIL PROTECTED], handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:200, [EMAIL PROTECTED])] 2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for [EMAIL PROTECTED], handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:200, [EMAIL PROTECTED])] 2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase. One phase? true 2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<10.20.220.135:33181>:200 2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase 2008-07-23 20:07:14,159 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): session 7838D198F34E9FF8BF4BE849986D3B18 not found in distributed cache 2008-07-23 20:07:14,159 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: D1CA48C2BA26664FC38ACD4B43182D4A.node2 jvmRoute: node2 2008-07-23 20:07:14,159 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty ClusteredSession 2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local transaction exists - registering global tx if not present for Thread[ajp-10.20.220.135-8009-2,5,jboss] 2008-07-23 20:07:14,159 DEBUG [org.jboss.cache.transaction.DummyTransaction] registering synchronization handler [EMAIL PROTECTED], handlers=[] 2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing beforeCompletion for [EMAIL PROTECTED], handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:201, [EMAIL PROTECTED])] 2008-07-23 20:07:14,160 DEBUG [org.jboss.cache.transaction.DummyTransaction] processing afterCompletion for [EMAIL PROTECTED], handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.20.220.135:33181>:201, [EM
[jboss-user] [JBoss jBPM] - Re: Jboss - Drools
wrong forum.. this is the jBPM forum... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166183#4166183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Casting to StubExr leads to ClassCastException
Hello, I've just observed that Netbeans generated JAX-WS 2.1 compliant client classes. In the news paper sample it was JAX-WS 2.0. Is that a problem? The classes look very similar to me. Best wishes Werner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166182#4166182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
It will work. If you want to muck around with something else, then be my guest. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166180#4166180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - treecache in hibernate takes too much cpu
We are running jboss 4.2GA and treecache that comes with it as a hibernate cache provider. The hibernate also comes with the default jboss 4.2GA. The following is the cache config (deployed as jboss mbean: LOCAL | REPEATABLE_READ | org.jboss.cache.JBossTransactionManagerLookup | org.jboss.cache.eviction.LRUPolicy | | | 60 | | | | 0 | 1800 | 1800 | The cpu keeps running on 95% level after we deploy our application. The load is actually not very high. And we keep getting the following messages: eviction node event queue size at 98% threadhold value of capacity: 20. You will need... I don't understand why there are so many event triggered. I know our wakeUpIntervalSeconds is set as 1 minute which is a bit too long, but we never expected that hibernate or treecache would generate so many event. What can we do to solve this problem. Most of cache data are for read and we do not often update data. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166178#4166178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: could not find datasource
Do you mean that i have to configure my jndi.properties? I'm just trying to deploy the registration example and i have this error.i haven't touched the source code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166177#4166177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Need urgent help in solving this error in running a JBPM app
Hi, When running a JBPM application on JBPM Starter Kit 3.1.2 upon hibernate.cfg.xml I am getting this error. It has been deployed without any error.: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Could not find datasource org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) root cause org.hibernate.HibernateException: Could not find datasource org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56) org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366) org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60) org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1823) org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1143) org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90) org.jbpm.persistence.db.DbPersistenceServiceFactory.createSchema(DbPersistenceServiceFactory.java:108) org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:415) org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:407) com.sample.action.CallProcess.testCallProcess(CallProcess.java:24) org.apache.jsp.JSP.CallMethod_jsp._jspService(org.apache.jsp.JSP.CallMethod_jsp:58) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs. Apache Tomcat/5.5 The server log is as follows: === . JBoss Bootstrap Environment . JBOSS_HOME: D:\jbpm-starters-kit-3.1.2\jbpm-server\bin\\.. . JAVA: C:\Program Files\Java\jdk1.5.0_03\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;D:\jbpm-starters-ki t-3.1.2\jbpm-server\bin\\run.jar . === . 19:56:29,692 INFO [Server] Starting JBoss (MX MicroKernel)... 19:56:29,692 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo ss_4_0_3_SP1 date=200510231054) 19:56:29,692 INFO [Server] Home Dir: D:\jbpm-starters-kit-3.1.2\jbpm-server 19:56:29,692 INFO [Server] Home URL: file:/D:/jbpm-starters-kit-3.1.2/jbpm-serv er/ 19:56:29,692 INFO [Server] Patch URL: null 19:56:29,692 INFO [Server] Server Name: jbpm 19:56:29,692 INFO [Server] Server Home Dir: D:\jbpm-starters-kit-3.1.2\jbpm-ser ver\server\jbpm 19:56:29,692 INFO [Server] Server Home URL: file:/D:/jbpm-starters-kit-3.1.2/jb pm-server/server/jbpm/ 19:56:29,692 INFO [Server] Server Temp Dir: D:\jbpm-starters-kit-3.1.2\jbpm-ser ver\server\jbpm\tmp 19:56:29,708 INFO [Server] Root Deployment Filename: jboss-service.xml 19:56:29,895 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc. 19:56:29,895 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_03-b07 ,Sun Microsystems Inc. 19:56:29,895 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 19:56:30,177 INFO [Server] Core system initialized 19:56:31,536 INFO [WebService] Using RMI server codebase: http://susis401:8083/ 19:56:31,552 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:log4j.xml log4j:ERROR Parsing error on line 45 and column 23 log4j:ERROR The content of element type "log4j:configuration" must match "(rende rer*,appender*,(category|logger)*,root?,categoryFactory?)". 19:56:31,755 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort= 1098, backlo
[jboss-user] [JBoss Tools (users)] - Re: Add +1 to improve the JBoss Tools/JBDS Documentation
Now you can discover more features of JBDS/JBoss Tools using a set of demos which are available here: http://docs.jboss.org/tools/movies/ You are also welcome to share your opinion on what should be improved in the demos or propose what functional details of JBDS/JBoss Tools you think should be demonstrated. Please feel free to leave your vote at http://wiki.jboss.org/wiki/JBossToolsDocsFuture Thank you. Technical Writers Team View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166169#4166169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss as a JavaService fails to boot
-current %JBOSS_HOME%\bin is false. Correct: -current %JBOSS_HOME% View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166144#4166144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problems with the Visual Page Editor with Tools 2.1.0 GA
Right, I couldn't find what I needed in terms of RHDS or JBDS update instructions to go up to 2.1.2 GA of the JBoss Tools. Probably because RedHat have a different test release cycle, and who is responsible for getting the tools into RHDS is in a different part of the organisation, and its not ready yet. No worries, I understand this, and at some point RHDS or JBDS will be updated. I'll just avoid using it till I do know the upgrade path. Anyway, to confirm the fix for vanilla Europa: I used the winter release of Eclipse Europa as my start, added checkstyle, and then put the new 2.1.2 GA release of JBoss Tools. On opening a standard JSP page now in the Visual Page Editor (VPE) the panel displays a JSP as they should be displayed (nice job by the way) bar one thing. There is only one minor difference from previous versions, now the placeholders for iconography (images, whatever) that use an "img" tag are zero width on the preview panel, which is different from the original, and makes it difficult to visually review your page or page fragment of its full content and layout. Whatever, its not a major bug. But if you want to make the VPE properly user friendly, I'd use a notional width on the preview panel for iconography applying the "img" tag, so developers can see the notional "layout" including imagery both in the vertical and the horizontal. Thanks to you all for fixing the JSP display problem, I'll live with the chocolate teapot JBDS (just not bother using it), and the zero width img placeholders, by cross-referencing with Firefox. Most appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166171#4166171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
Ragav, Can you please expand on Socket API ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166166#4166166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - ClassCastException on remote Mbean invocation
Hello there! Our app is running inside JBoss portal and we have scoped deployment (we use a more up-to-date version of hibernate) So we set our loader-repository on the jboss-app.xml Well, in a certain moment we need to use the portal sessionfactory and we gain access to it through: MBeanServer server = MBeanServerLocator.locateJBoss(); ObjectName name = new ObjectName("portal:service=Hibernate"); Object o = server.invoke(name, "getSessionFactory", new Object[]{}, new String[]{}); When casting "o" we are getting a classcastexception. We have CallByValue set to true. So I can't figure out what else should we do. Any ideas? Best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166165#4166165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - How & Where to put .aar file in JBoss
I have some .aar files which use to run as webservices on Tomcat. Now I need to deploy these .aar files on JBoss but I dont know how to do it. One way I did was to deploy axis2.war and then theough axis2 admin console I can deploy these aar files as services. Any other way of directly placing aar file somewhere in Jboss to deploy it. Any help will be appreciated. Regards, Sean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166143#4166143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
But the problem with having an interceptor pair is that there is no guarantee that the client will be using the interceptor to call the EJB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166164#4166164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: What are you using Remoting for?
I'm developing a SwingClient Application. Migration of a very old system developed in MUMPS, it's a old SGBD's without a TABLES and COLUMS, plus this structure is very familiar a OO like a graf, very pratice e ease to concern but is DEPRECATED in business world. In the moment i have a 2nd task, CREATE a friend programmer interface to MORTAL programmers , simplification in SWING LISTENERS and INJECTING REMOTE ENTITYS in UI. Scuse-me for my very poor English View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166162#4166162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Use the correct MBeanServer if multiple MBeanServers are pre
The prior bug did not fix the issue of running the cache under jboss when the following options are present: set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote | The code is presently as follows (which is incorrect, by the way): | 158if(servers == null || servers.size() == 0) | 159throw new Exception("TreeCacheView.init(): no MBeanServers found"); | 160srv=(MBeanServer)servers.get(0); | 161log.info("init(): found MBeanServer " + srv); | 162cache=(TreeCacheMBean)MBeanProxyExt.create( | TreeCacheMBean.class, cache_service, srv); TreeCacheView fails to deploy because it is using the wrong MBeanServer. Rather than doing the above, you should either do something like: |import org.jboss.mx.util.MBeanServerLocator; |... |// find the local MBeanServer |MBeanServer server = MBeanServerLocator.locateJBoss(); | , or you should do something like this: public static MBeanServer getDefaultMBeanServer() { | return findMBeanServer("jboss"); | } | | private static MBeanServer findMBeanServer(String agentId) { | List servers = MBeanServerFactory.findMBeanServer(null); | if (servers != null && servers.size() > 0) { | for (Object object : servers) { | MBeanServer server = (MBeanServer) object; | if (server.getDefaultDomain().equals(agentId)) { | return server; | } | } | } | return null; | } The reason is because with Java 5, when the "-Dcom.sun.management.jmxremote" switch is turned on, the default platform MBeanServer is the zeroth instance rather than "jboss". See: http://fisheye.jboss.com/browse/JBossCache/core/support-branches/1.4.1.SP8_JBCACHE-1247/src/org/jboss/cache/TreeCacheView.java?r=4384 To test, deploy the tree cache view, and start JBoss with the JAVA_OPTS mentioned above. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166141#4166141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: deployment problem
Hi Rob/Max, thanks for the hints, I updated the WTP plugin with the patch, used the jboss tools Server View to deploy and there it goes :-) Thanks again, Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166152#4166152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: could not find datasource
anonymous wrote : org.apache.naming.NamingContext You should be using the JBoss specific initial context properties, through jndi.properties file. See this for details http://www.jboss.com/index.html?module=bb&op=viewtopic&t=135363 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166157#4166157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule
What is needed is a interceptor pair (one on the client side to pick up the IP and one on the server side to place it in a static context for pick up by the login module). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166156#4166156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Stress Tests
Ok I have been doing a bit of stress testing on my side. I have a scenario where my client has asked me to see if it is possible. Scenario is as follows, they current have at peak time 1500 pushes/writes a second going on in there DB. This 1500 writes a occurs on a data size of about 300,000 records. Due to re-design in their architecture they want to move this feed out of their DB. Ive been asked to see if it is feasible to push it into there cache. So following is used in the simulation Tomcat 6.0.13,JDK 1.6.0_06 and Jboss Cache 2.1.0 I created a local cache with 300,000 records. Code looks like so | public void handleRequest(HashMap params, OutputStream out) { | // TODO Auto-generated method stub | //Create the cache on the first call and load it with records | if(cache == null){ | cache = CacheManager.createCache("RealTime", "realtime-cache.xml"); | for(int i = 0; i < noOfRecords;i++){ | Map record = createQuoteMap(); | String path = "/"+ i+ "/" + i +"/" +i ; | Fqn nodePath = Fqn.fromString(path); | cache.put(nodePath, "item", record); | if(i%500 == 0){ | log.debug("Currently at Index"+i); | } | } | log.debug("Set up cache with "+noOfRecords +" records in the cache"); | | } | | requestCounter++; | | String action= RequestUtil.getString("action", params); | int index = generator.nextInt(noOfRecords); | String path = "/"+ index+ "/" + index +"/" + index ; | Fqn nodePath = Fqn.fromString(path); | | try { | if(action == null || action.compareTo("add") == 0){ | Map record = createQuoteMap(); | cache.put(path, "item", record); | writeCounter++; | }else{ | //read operation | Map record = (Map)cache.get(nodePath, "item"); | path = path +"\n"; | out.write(path.getBytes()); | DebugUtil.dumpMap(record, new PrintStream(out)); | out.close(); | readCounter++; | } | | if(requestCounter%1000 == 0){ | log.debug("Read = "+readCounter + " Write = "+writeCounter); | } | } catch (IOException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | } | JMeter was set up to generate requests. Tests carried out on my local machine, Xp professional,2g ram, VM given 1G. VM is warmed up before recording begins. Results are like so Test Case Duration No of Read Clients No of Write/Update Threads No of Reads No of Updates/Writes Throughput Reads (sec) Throughput Updates/Writes(sec) Isolation Level Comments Reading and Writing 1 Hour 10 10 1,889,946 1,754,769 525/sec 487.4/sec NONE 39% error recorded in JMeter for updates and 36% error recorded as well for reads.Heap size between 100-175MB Reading and Writing 1 Hour 10 10 5,741,899 5,974,218 1,594/sec 1,659/sec READ_UNCOMMITTED Heap size in between 300MB and 400MB range during processing. 0% error on both reading and writing. Reading and Writing 30 Mins 10 10 2,940,466 3,046,956 1633.56/sec 1692.70/sec READ_UNCOMMITTED Heap size in between 300MB and 450MB range during processing. 0% error on both reading and writing. Reading and Writing 30 Mins 10 10 728,026 743353 404.45/sec 412.95/sec NONE Heap size in between 100MB and 175MB range during processing. 44% error on reads and 43% on the writes. - Writing 30 mins - 10 - 1,151,919 - 640/sec NONE 56% error reported during run Writing 30 mins - 20 - 1,047,963 - 582.2/sec NONE 63% error reported during run Writing 30 mins - 10 - 1,928,110 - 1071/sec READ_UNCOMMITTED 21% error reported during run. Heap size between 300-400MB during run. - Reading 30 mins 10 - 5,670,148 - 3150.1/sec - NONE 0% error reported during run Reading 30 mins 10 - 5,443,498 - 3018/sec/sec - READ_UNCOMMITTED 0% error reported during run. Heap size ranges from 280-400MB Reading 30 mins 20 - 5,313,351 - 2951.8/sec - NONE 0% error reported during run Ok figures are taken from JMeters Summary report http://jakarta.apache.org/jmeter/usermanual/component_reference.html
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Apache2 + JBoss 4.2.2 + mod_jk
I'm trying to setup Apache2 forwarding to Jboss using the wiki page: http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss But it fails, during restarting apache I'm getting: | Syntax error on line 5 of /etc/apache2/conf.d/uriworkermap.properties: | Invalid command '/jmx-console=worker1', perhaps misspelled or defined by a module not included in the server configuration | I'm on Ubuntu Servwer 8.04 my workers.properties: | worker.list=worker1 | worker.worker1.type=ajp13 | worker.worker1.host=localhost | worker.worker1.port=8009 | and the uriworkermap.properties: | /jmx-console=worker1 | /jmx-console/*=worker1 | /web-console=worker1 | /web-console/*=worker1 | any ideas how to solve this problem ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166140#4166140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Very slow authorization CertRolesLoginModule
Try adding System.nanoTime() between statements to see if there are blocks of code in your module that are taking a long time. http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#nanoTime() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166154#4166154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying Event Listener (JBoss5 B4)
Solved - there was a typo in the ra.xml. Thanks anyway! Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166138#4166138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss classloading problem
See the wiki for classloading related information: http://wiki.jboss.org/wiki/JBossClassLoadingUseCases http://wiki.jboss.org/wiki/ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166150#4166150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - could not find datasource
sorry my last post didn't show up here is my problem i'm trying to install seam on tomcat,and i have a problem wich is blocking me,the server can't find the datasource,here is a part from the stacktrace | GRAVE: Could not find datasource: java:/mysqlds | javax.naming.NameNotFoundException: Le Nom mysqlds n'est pas lié àce Contexte | at org.apache.naming.NamingContext.lookup(NamingContext.java:770) | at org.apache.naming.NamingContext.lookup(NamingContext.java:153) | at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) | at javax.naming.InitialContext.lookup(Unknown Source) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)| | i have created a file mysql-ds.xml in seam\bootstrap\deploy ,and deleted hsql-ds.xml since i'm working with mysql here is the file | | | MySqlDS | jdbc:mysql://mysql-hostname:3306/jbossdb | com.mysql.jdbc.Driver | x | y | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | | | | | | |mySQL | | | | | could you please help me to figure out where is the problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166149#4166149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user