[JBoss Messaging] - Re: Can't run example (JBoss Messaging 2.1)
by tamaluna
Ok, I started again from scratch. This time I did the web install of JEMS 1.2.0.GA. I selected the "all" option rather than the "default" installation. The next window in the installation shows all the components, with checkboxes next to each one to toggle their installation. Notably, jbossmq-service-ha is deselected, while jbossmq-service is selected (by default). It is noteworthy that the User's Guide does not advise on the proper JBoss setup.
After JEMS install, there are two jar files containing the string "mq":
jbossmq-client.jar in [JBOSS_HOME]\client\
jbossmq.jar in [JBOSS_HOME]\server\default\lib
After the "ant -f release-admin.xml" step (Ch5.1 of the User's Guide), there are now three jar files containing the string "mq":
jbossmq-client.jar in [JBOSS_HOME]\client\
jbossmq.jar in [JBOSS_HOME]\server\default\lib
jbossmq.jar in [JBOSS_HOME]\server\messaging\lib
When I start the "messaging" server (with my MDB present), I get the same errors I was getting before.
You were suggesting, Tim, that I did something unusual in the installation. But I followed the instructions step by step, so I am inclined to think that the installation protocol is faulty.
So, to get around this issue, do I only have to eliminate these "mq" jars? and/or is there some other jar I need instead?
~PT
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044498#4044498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044498
19 years, 1 month
[JBossCache] - Re: Cache startup problems
by jamieqho
I get this exception when using Java 1.6.0. I seem to have better luck with 1.5.0_06 but I am now seeing this new exception intermittently during startup:
java.lang.IllegalAccessError: tried to access class java.util.AbstractMap$SimpleEntry from class org.jboss.cache.util.MapCopy
at org.jboss.cache.util.MapCopy.(MapCopy.java:43)
at org.jboss.cache.UnversionedNode.getDataDirect(UnversionedNode.java:208)
at org.jboss.cache.CacheImpl._put(CacheImpl.java:2197)
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.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:49)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
at org.jboss.cache.interceptors.EvictionInterceptor.invoke(EvictionInterceptor.java:88)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:33)
I am using the example config.
Thanks,
Jamie
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044497#4044497
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044497
19 years, 1 month
[Clustering/JBoss] - Re: Session Replication - Concurrency Problems?
by bstansberry@jboss.com
Thanks. Please clarify a bit:
1) You mention that sticky sessions are working correctly, but your #2 indicates they aren't. Are you finding your #1 problem even when you know sticky sessions are working?
2) In either case, when you see issues with requests failing over and the expected state not being there, do you have any feeling as to the interval between the requests and the load the servers are under?
You can get the "Possible Concurrency" message with this scenario:
1) Request 1 goes to server A and replicates to server B.
2) Request 2 goes to server A but replication to B hasn't completed.
3) Request 3 goes to server B. Replication of Request 2 is not completed, so Request 3 sees out of date session state, which could lead to NPE or might not cause any noticeable problem. When the session replicates back to server B, B will log the "Possible Concurrency" message.
With REPL_ASYNC, there is a higher risk of this, as Request 2 is allowed to complete before replication is completed. The greater the load the system is under, the longer it might take the replication to complete. The shorter the interval between request 2 and 3, the greater the chance the request hasn't completed replication.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044496#4044496
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044496
19 years, 1 month
[JBoss jBPM] - Re: how list processes?
by simonbaker
Where is this so-called "default behavior" documented?
How would someone know what the scope of getTaskList() is from the documentation? Global to what? Processes, contexts, configurations? Where is there a good explanation of the concept of "JbpmContext" for instance?
Also, the docs don't even say what kind of object you get a list of, I mean, that is a minimum requirement of documentation. Start looking at the code and you drill eventually down to a hibernate "query.list()" and you're really deep in the weeds. One layer uses the name "getTaskList(..)", a layer down uses "getTaskInstances(..)". I guess I should believe the name "getTaskInstances" implies I'll get back a list of TaskInstance objects, but it isn't determined by reading a few layers of code.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044495#4044495
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044495
19 years, 1 month
[Installation, Configuration & Deployment] - [PropertyMessageResources] Initializing, config='org.apache.
by venni2007
Hi Friends,
Here i am getting some messages that congif properties not found. I am working on Struts project and i am trying to deploy the EAR on JBoss app server but if i run index.jsp then i am getting page not found.
16:00:01,235 INFO [EjbModule] Deploying SecurityEJB
16:00:03,781 INFO [ProxyFactory] Bound EJB Home 'SecurityEJB' to jndi 'com/msd/security/ejb/SecurityEJB'
16:00:03,797 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp12367PmoEAR.ear-contents/PmoEJB.jar
16:00:03,844 INFO [TomcatDeployer] deploy, ctxPath=/PmoWeb, warUrl=.../tmp/deploy/tmp12367PmoEAR.ear-contents/PmoWeb-exp.war/
16:00:04,063 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
16:00:04,063 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
16:00:05,031 INFO [PropertyMessageResources] Initializing, config='PMOMessageResources', returnNull=true
16:00:05,187 INFO [TilesPlugin] Tiles definition factory loaded for module ''.
16:00:05,203 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator/validator-rules.xml'
16:00:05,515 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator/validation.xml'
16:00:05,734 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.0.5.GA/server/default/deploy/PmoEAR.ear
16:00:05,921 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8081
16:00:06,015 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
16:00:06,031 INFO [JkMain] Jk running ID=0 time=0/47 config=null
16:00:06,046 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 45s:64ms
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044489#4044489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044489
19 years, 1 month
[JBoss Seam] - Re: Security - Define dynamic Role in application
by markfoerstein
Hi Shane / guys,
I really would appreciate any help with this.
I have everything set. The role's permissions are on the database, I defined actions to manipulate this permissions through the UI, etc...
The "authenticate" method is doing his job, putting all permissions into the working memory.
And still I have no idea why the "hasPermission" expressions don't evaluate to true, since the permissions are in the working memory.
Im at that thin line between total bliss and total frustration. If this thing works, I get everything I need for permission creation and checking. If it doesn't, then my effort and time was useless, and I will have to go back to the drl files...
I can't find a working example doing the same thing, so Im stuck.
Please, give me some help. As soon as I get this working, I will be happy to post my code, so it could help others.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044488#4044488
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044488
19 years, 1 month