[jboss-user] [JBoss Tools (users)] - Re: deployment problem

2008-07-23 Thread [EMAIL PROTECTED]
You are clearly using MyEclipse and not JBoss Tools. 
Also, you are using the Generic JBoss Server Adapter provided by webtools, 
which no one at JBoss has contributed to. It is not our plugin. 

None of the tools you've mentioned are provided by us, and so it is extremely 
unlikely anyone here will be able to meaningfully assist you. You might want to 
try the eclipse usergroup or the MyEclipse forums. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166066#4166066

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166066
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Where do I post to get help on Jboss rules help?

2008-07-23 Thread jaikiran
You can post in their user mailing list http://www.jboss.org/drools/lists.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166071#4166071

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166071
___
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

2008-07-23 Thread [EMAIL PROTECTED]
not so quick Rob - I don't know of any other tools that create those project 
names.

freakwave, it looks like you are missing the patch needed for WTP to deploy 
ejb3 jars properly. See the release notes for JBoss Tools at 
http://in.relation.to

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166073#4166073

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Order of -object.xml is not guaranteed

2008-07-23 Thread go4nishu
i have got a solution for this issue 
check out the jira 
https://jira.jboss.org/jira/browse/JBPORTAL-1832

thanks 
narinder

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166074#4166074

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166074
___
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

2008-07-23 Thread [EMAIL PROTECTED]
but if Rob is right and you are purely using MyEclipse we can't do much else...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166075#4166075

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166075
___
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

2008-07-23 Thread jaikiran
Which version of JBoss? When do you see this exception? Please post the entire 
logs that you see on the console.

While posting the logs or xml content or code, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166076#4166076

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166076
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Order of -object.xml is not guaranteed

2008-07-23 Thread syllant
Hi narinder,

It's a simple but limited solution, I've posted a note in JIRAabout ;-)

However, if you are satisfied with it, others surely will be, that's the main 
point :-)

Sylvain

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166081#4166081

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166081
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - EntityManager is singleton?

2008-07-23 Thread agori
I know that an injected EntityManager (@PersistenceContext EntityManager em) in 
not a singleton. But this is what I am experiencing in my application!

I have a @Stateless bean with @PersistenceContext entity manager. It seems that 
during the whole application the entitymanager is *always the same object*. 

Why?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166084#4166084

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166084
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Can I use any character other than '/' for namespace separat

2008-07-23 Thread surendragadde
Hi All,


  Can I use other than '/' character  for name space separtor in TreeCache?


Thanks
Surendra kumar

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166087#4166087

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166087
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Order of -object.xml is not guaranteed

2008-07-23 Thread syllant
Hello Antoine,

I find this idea relevant for some cases but it has a major impact on project 
architecture (several web.xml declarations, several HTTP sessions, class 
dependencies between webapps, multiple deliveries, ...).

We had splitted our -object.xml files according to our web pages tree : each 
branch was declared in its own -object.xml file. It wouldn't have been relevant 
to make a webapp for each branch.

So I think this kind of architecture must not be driven by -object.xml 
separation but by real architecture needs. However it's interesting since some 
users will see that through -object.xml files :-)

Sylvain

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166094#4166094

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166094
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deploying Event Listener (JBoss5 B4)

2008-07-23 Thread richiethom
Hi

I have an EventListener that receives its events from a Resource Adapter which 
is connected to an external application. This all works fine, but as we move 
towards a clustered solution, the EventListener needs to be deployed as an 
HASingleton.

In order to achieve this, I have split out the Resource Adapter and the 
EventListener into two ear files separate from the main application. Because 
both the Resource Adapter ear and the Event Listener ear make references to 
EJBs within the main application ear file, the appropriate interfaces have been 
split out into a separate serviceinterfaces.jar module.

Therefore, I have the following files to work with:
resourceadapter-ds.xml
resourceadapter.ear
eventlistener.ear
mainapplication.ear

The three ear files all contain the serviceinterfaces.jar file, as well as 
other pertinent jars.

I couldn't get the eventlistener.ear file to deploy inside the 
deploy-hasingleton folder, so decided to try hot deploying everything in the 
standard deploy folder. This gives me error messages, whereas deploying in the 
hasingleton folder didn't even cause the eventlistener.ear file to be mentioned 
in the logs.

The order that I deploy is as follows:
resourceadapter.ear
resourceadapter-ds.xml
eventlistener.ear

At this stage, I receive the following in the log (my stuff is in the com.abc 
package):
09:27:36,725 INFO  [AppClientScanningDeployer] mainClass = class 
com.abc.eis.impl.EISImpl
09:27:36,813 INFO  [AppClientScanningDeployer] mainClass = class 
com.abc.eis.impl.EISImpl
09:27:38,802 INFO  [EISAdapter] EISAdapter started.
09:27:38,806 INFO  [EISAdapter] EISAdapter started.
09:27:38,809 INFO  [EISAdapter] EISAdapter started.
09:27:53,905 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=ConnectionFactoryBinding,name=eis/EIS' to JNDI name 
'java:eis/EIS'
09:28:09,125 INFO  [AppClientScanningDeployer] mainClass = class 
com.abc.eis.impl.EISImpl
09:28:09,470 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=eventlistener.ear,jar=eventlistener.jar,name=EventListener,service=EJB3
 with dependencies:
09:28:09,470 INFO  [MCKernelAbstraction]   and demands:
09:28:09,471 INFO  [MCKernelAbstraction]
jboss.jca:name='resourceadapter.ear#eisresourceadapter.rar',service=RARDeployment
09:28:09,471 INFO  [MCKernelAbstraction]
jboss.ejb:service=EJBTimerService
09:28:09,471 INFO  [MCKernelAbstraction]   and supplies:
09:28:09,471 INFO  [MCKernelAbstraction]
Class:com.abc.def.eventlistener.IEventListener
09:28:10,571 INFO  [EJBContainer] STARTED EJB: 
com.abc.def.eventlistener.EventListener ejbName: EventListener
09:28:10,654 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.j2ee:ear=eventlistener.ear,jar=eventlistener.jar,name=EventListener,service=EJB3
 state=Create
org.jboss.deployment.DeploymentException: MessagingType 
'com.abc.def.eventlistener.IEventListener' not found in resource deployment 
jboss.jca:service=RARDeployment,name='resourceadapter.ear#resourceadapter.rar'
at 
org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:310)
at 
org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:276)
at 
org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
at 
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:294)
at 
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:192)
at 
org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:187)
at 
org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:151)
at org.jboss.ejb3.mdb.MDB.start(MDB.java:123)
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.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)
at 
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Migration from Jboss5 Beta4 to CR1 - DeploymentException

2008-07-23 Thread jaikiran
Is this all that you see in the server.log? How is your application packaged 
and what is it consisting?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166088#4166088

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166088
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Resident Nodes evicted in heavy load conditions

2008-07-23 Thread mahendragoyal
jbosscache-core-2.1.1.GA
--

Hi All,

We recently implemented Jboss Cache for our application to reduce the memory 
footprint and we are now caching some common data in cache intead of being 
copied accross all users sessions

We have 2 regions below the root node and we have marked the root node as well 
as the region nodes as resident using the setResident(true) everything was 
working fine in unit tests and system integration tests but we had a problem in 
perfromance tests.

I have a static Hashtable into which I am storing these 2 region nodes maked as 
resident, for putting/getting in cache client passes the key with which the 
region node is stored in the Hashtable. The put/get function in turn pulls the 
region node from Hashtable and adds or gets the node and its data is passed 
back to the client.

But in Performance/Load Testing we encontered an issue when the system ran fine 
for about 1.30 hours but after that suddenly the region nodes were found to be 
null as if evicted. Although the eviction config was not correct in the sense 
all the values for LRUPolicy like the maxNodes, timeToLiveSeconds and 
wakeUpIntervalSeconds for both the regions were very low considering the Load 
Tests.

But still we feel that the nodes still should not have been evicted, and at the 
most the performance shuould have gone down.

Has any one faced such an issue or is aware of any such limitations ?

Thanks,
Mahendra

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166098#4166098

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166098
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Delivery Failure

2008-07-23 Thread Postmaster

-
The message you sent to mitolocks.com/headoffice was rejected because it would 
exceed the quota for the mailbox.

The subject of the message follows: 
Subject: =?windows-1251?B?1e7w7vjo6SDv7uTg8O7qIOTr/yDA6vbo7u3l8OA=?=


-

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: consume WS error after update to JBossWS 2.0

2008-07-23 Thread halylam
Hi Fantagir!

I have the same problem of you and I also don't have the jaxws-rt and 
jaxws-tools in classpath.

Did you solve your problem?

I'm looking foreward for your replies. Thanks in advance.

halylam

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166101#4166101

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166101
___
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

2008-07-23 Thread xinhua
hi, peter

thank you for your reply.

I think -d64 caused too much unnecessary memory, but  I can not simplely get 
-d64 away, because i use Timesten and jboss need to load 64bit timesten lib by 
starting.

and also , i start to suspect that Solaris didnot take my -Xss opt at all, 
there are 157 threads runing in system and my System stack size is 8M , plus 
the stupid -d64 , is that 5.5 memory usage resonable?

it is realy wired

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166102#4166102

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Order of -object.xml is not guaranteed

2008-07-23 Thread Antoine_h
Hello,

I did a Wiki about a way to do that.
see : http://wiki.jboss.org/auth/wiki/PortletandPageDeploymentOrder

the way I do it is to package the parts of the portal (main default portal, 
portal x, portal y, ...) in different Sar (or War) with all their code things 
related to it.
This is a convenient architecture to both develop and deploy parts of the whole 
portal(s) independently.

you can look at the way Sar are used for the portal itself, to organise your 
code and portal artifacts.

by the way : I thaught of including files... but that is not really nice, is it 
?
using the packaging of JBoss, and architecture of the developed code looks  
better to me.
This also allow to have your own JXM services, EJB, etc... being deployed in 
the proper order. 
If a portlet needs a JXM service (configuration ?) in it's initialization 
phase... it must be deployed before the portlet... etc...
It is also more clean for production side of the portal management.

Antoine 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166091#4166091

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166091
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jbpm3.2.1 switcihnd database Mysql

2008-07-23 Thread btl_ayd
Hi I use jbpm 3.2.1.I want to change database as Mysql.I created jbpm database 
in Mysql and configurated jboss 4.0.2 jbpm_ds.xml for Mysql database but when I 
fire the jboss server this error has been occured
anonymous wrote : 
  | 2008-07-23 11:30:23,255 ERROR [org.jbpm.job.executor.JobExecutorThread] 
exception in job executor thread. waiting 32 milliseconds
  | org.hibernate.HibernateException: Could not find datasource
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:354)
  | at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:563)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | Caused by: 
  | javax.naming.NameNotFoundException: JbpmDS not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:363)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | ... 13 more
  | 2008-07-23 11:33:03,479 ERROR [STDERR] 23.Tem.2008 11:33:03 
com.sun.faces.config.ConfigureListener contextInitialized
  | BÄ°LGÄ°: Initializing Sun's JavaServer Faces implementation 
(1.2_03-b09-FCS) for context 'null'
  | 2008-07-23 11:33:03,853 ERROR [STDERR] 23.Tem.2008 11:33:03 
com.sun.faces.spi.InjectionProviderFactory createInstance
  | UYARI: JSF1033: Resource injection is DISABLED.
  | 2008-07-23 11:33:12,441 ERROR [org.hibernate.util.JDBCExceptionReporter] 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '1 job0_.ID_ as ID1_26_, 
job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT' at line 1
  | 2008-07-23 11:33:12,441 ERROR [org.jbpm.db.JobSession] 
org.hibernate.exception.SQLGrammarException: could not execute query
  | 2008-07-23 11:33:12,456 ERROR [org.jbpm.job.executor.JobExecutorThread] 
exception in job executor thread. waiting 5000 milliseconds
  | org.jbpm.JbpmException: couldn't get acquirable jobs
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:111)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | Caused by: 
  | org.hibernate.exception.SQLGrammarException: could not execute query
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at org.hibernate.loader.Loader.doList(Loader.java:2148)
  | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
  | at org.hibernate.loader.Loader.list(Loader.java:2024)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
  | ... 2 more
  | Caused by: 
  | java.sql.SQLException: You have an error in your SQL syntax; check the 
manual that corresponds to your MySQL server version for 

[jboss-user] [JBoss Portal] - Re: Order of -object.xml is not guaranteed

2008-07-23 Thread Antoine_h
Hello,

Yes ! exactly !
it is the real question : the architecture of the whole portal and inner 
application aggregated by the portal.

Here some few things, that may be usefull.

for what you say, about technical thing (multiple web.xml, sessions, class 
depencies)... this is main questions.
there are solutions : 
 - several HTTP sessions : yes... but you don't use them... and would have them 
anyway without a portal... so... that the cost of aggregating things.
 - several : web.xml : you can put the common thing in the model of web.xml of 
jboss... and the specific thing in each package. more clean, no ?
 - class dependencies : use libs... organise thing with SAR,... this is more 
clean architecture...
 - multiple delivery : if you want independant delivery and deployement, you 
have multiple delivery. If you don't need it, you can put every thing in the 
same package, ... and in the same -object.xml

but this requiere some study... and defining things for each portal project.

mainly, as you conclued it, I am saying that doing the architecture based on 
the web page tree may not be enough for agregating inner applications.

It is better (and may be requiered) to organize the architecture of a portal, 
with a focus on the aggregation of inner application.
This is important, as defining the page is only one part of it : there are 
always some more, as java, JSP, JSF, ... JMX services involved in the 
aggregated applications.

for what I see in several companies (as a consultant), many of them wants to 
take a portal plateform, ... just to have a tool to build web pages.

one of them took the portal just to give to a webmaster a tool to build it's 
pages.
and that is not the best tool for that...
and they end with developper headhache... or when the developer reach to 
deliver something, ... they have with some big big production troubles.
That is not the portal plateform responsability. It is what they have done with 
it.

So... yes, some user will see that through -object.xml and admin GUI cool 
prototyping feature... but I want to warn : think of architecture of the whole 
packages also... for a successfull development and portal in production...
(whatever JSR-168 portal plateform you work with...)

hope it helps...
Antoine


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166106#4166106

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166106
___
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

2008-07-23 Thread [EMAIL PROTECTED]
I am guessing that what you are referring is to the crlFile setting on the 
JSSE Connector in tomcat server.xml.  Is that correct?

The current implementation of the tomcat socket factory does a load of the crl 
file when tomcat starts. 
http://svn.apache.org/repos/asf/tomcat/connectors/trunk/util/java/org/apache/tomcat/util/net/jsse/JSSE15SocketFactory.java

This is the classic problem that exists in the tomcat infrastructure that any 
changes to server.xml including any files that may be related to the tomcat 
server configuration, requires a restart.

For JBoss, we have had a feature request for a long time now.
https://jira.jboss.org/jira/browse/JBAS-3019
Vote on this JIRA issue if you want to raise the priority.

What is really needed is a JBoss version of the JDK TrustManager implementation 
that can lazily load CRL Files, that can be plugged in at the JVM level, such 
that not only the https layer but also RMI/SSL etc can make use of CRL 
validation. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166108#4166108

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166108
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Resident Nodes evicted in heavy load conditions

2008-07-23 Thread mircea.markus
this is weird indeed.
Would it be possible for you to write a UT to try to simulate this? As this 
issue only hits after 90 mins and the scenario isn't that straight forward, 
it's really hard to reproduce it otherwise. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166109#4166109

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166109
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Can I use any character other than '/' for namespace sep

2008-07-23 Thread mircea.markus
I'm afraid not.
What is the use case requiring this?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166111#4166111

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166111
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Dirty Metadata - stucked

2008-07-23 Thread spezam
Hello,
I'm configuring a Jboss (4.2.3.GA - jdk 6.0_04) cluster on Centos Linux 5.2 
following this document

http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html
section:
16.5. HTTP Services

Everything is working fine, the two Jboss instances see each other and 
according to jboss.cache:service=TomcatClusteringCache MBean/printDetails you 
can see the same web session details on the two nodes.

The application sets an Anonymous session as soon as the user hits the first 
page. The same session is updated with more attributes when the user login.

When I test the session replication with the application I do the following:
- access the application on one node (depends on where the loadbalancer is 
sending me)
- login
- move around the application
- take down the node where I'm logged in and refresh the page so the request is 
directed on the second node.

As soon as I refresh I got the following exception:
08:53:39,633 ERROR [JBossCacheService] loadSession(): id: 
rBj5KyYzuQuqHC0lK4BSWA** exception occurred during deserialization
java.lang.ArrayStoreException: org.springframework.security.GrantedAuthorityImpl


Debugging the application on both the nodes I can notice differences between 
the session attributes on the replicated node.
ex.
sessionMetadataDirty = true 
version = 0
...


Anyone has an idea why this is happening?
Is there a way to check the reason why the session attributes aren't replicated 
correctly? Any debugging option?

Thanks in advance for your answer.

Matteo
Linux System Manager - Fi



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166112#4166112

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166112
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - reuse same transaction hit error in JBoss

2008-07-23 Thread gan.gary
I 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 
local-tx-datasource to xa-datasource. )?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166113#4166113

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166113
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Resident Nodes evicted in heavy load conditions

2008-07-23 Thread mahendragoyal
That would be difficult, but after 90 minutes in this case means in more  
loaded conditions. Since in our load tests the load is gradually increased 
continously to reach 200% (expected peak user load for current year x 2) but in 
this case the application failed due to caching even before it reached 100% 
(about 2000 concurrent users)

The issue has not come up since we increased all the values of eviction as per 
load env. But the concern is still there since it has occured once, it 
shouldn't happen in production

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166114#4166114

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166114
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Only one user at each connection

2008-07-23 Thread cedseat
Hi,

Is it possible to authorize with jbossportal only one authentification with the 
same user and password?

Cédric.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166115#4166115

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166115

___
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: reuse same transaction hit error in JBoss

2008-07-23 Thread gan.gary
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?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166117#4166117

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166117
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Can I use any character other than '/' for namespace sep

2008-07-23 Thread surendragadde
my node name itself contains '/'  how can i store this(web application urls )


Thanks
Surendra kumar

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166120#4166120

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166120
___
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: reuse same transaction hit error in JBoss

2008-07-23 Thread gan.gary
some similar issues are:
1) connection time out http://www.jboss.com/?module=bbop=viewtopict=87750 
(but it only happend on re-used txn)
2) JBoss is obsolete http://www.jboss.com/?module=bbop=viewtopict=111919(but 
my is 4.2.2)
anyone?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166116#4166116

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166116
___
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

2008-07-23 Thread jimball
I'm going to guess its not too hard to do, but I'd like to patch the JBoss 
Developer Studio version I bought for $99 with the latest JBoss Tools.

Are there any gotcha's as I've not seen ANY guidlines for patching your local 
developer studio with an updated JBoss Tools.

I really don't want to have to setup a completely new development environment 
to validate this bug.

Please confirm the basic steps to patch upgrade Developer Studio with the 
release of JBoss Tools 2.1.2 GA.

Once done, I'll confirm the fix no problem in my patched dev studio.  Much 
obliged.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166125#4166125

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166125
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Deployment failure

2008-07-23 Thread robert.raksi
Hi!

I get the same error. If I change the List to ArrayList the error is gone but 
the types generated in the wsdl are empty.

One has to write an adaptor and marshall/unmarshall the array list somehow? 
Shouldn't this be done automaticaly for Lists?

I hope someone can clarify things for me in this matter, thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166129#4166129

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166129
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Unable to stop jboss server

2008-07-23 Thread jamesbilla
Hello, 

I have JBOSS 4.0.5 installed on Linux. I am able to start the server. But when 
I try to stop the server using /jboss stop it is throwing an exception shown 
below. Any idea what could the problem?

Stopping JBoss .Exception in thread main javax.naming.NameNotFoundException: 
jmx not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.Shutdown.main(Shutdown.java:214)



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166136#4166136

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166136
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss OutOfMemoryError - Help needed regarding Heap Size!

2008-07-23 Thread JKV
I am using Jboss 4.2.2. I am using EJBs and hibernate for the project. I got 
OOME after running a load test and checked the wikis and increased my heap size 
to -Xms512m -Xmx1024m.

This still didnot help me a I just added the tag

-XX:MaxPermSize=512m to the above Option. I still didnot fix my problem and I 
guessed of increasing my memory size to 


-Xms1024m -Xmx2048m. But this is giving me a error in my console..

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Press any key to continue . . .

Am I missing something or its a wrong configuration altogether.

Any help is greatly appreciated..

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166130#4166130

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166130
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Casting to StubExr leads to ClassCastException

2008-07-23 Thread gressho
Hello,

I'm trying to add WS-Security to my web services which are running fine
without. I generated the client code with Netbeans 6.1 and built the
following class to use it. I added all jars from wsrunclient to the classpath
of my project and tried to run it. The result was
anonymous wrote : 
  | java.lang.ClassCastException: $Proxy31 cannot be cast to 
org.jboss.ws.core.StubExt
  | at javaapplication1.Main.main(Main.java:33)
  | 

My code:

  | /*
  |  * To change this template, choose Tools | Templates
  |  * and open the template in the editor.
  |  */
  | 
  | package javaapplication1;
  | 
  | import de.wwu.services.mailservice.Charset;
  | import de.wwu.services.mailservice.Recipient;
  | import de.wwu.services.mailservice.RecipientType;
  | import java.io.File;
  | import java.net.URL;
  | import org.jboss.ws.core.StubExt;
  | 
  | /**
  |  *
  |  * @author gressho
  |  */
  | public class Main {
  | 
  | /**
  |  * @param args the command line arguments
  |  */
  | public static void main(String[] args) {
  | 
  | try { // Call Web Service Operation
  | de.wwu.services.mailservice.NotificationService service = new 
de.wwu.services.mailservice.NotificationService();
  | de.wwu.services.mailservice.NotificationEndpoint port = 
service.getNotificationEndpointPort();
  | URL securityURL = new 
File(META-INF/jboss-wsse-client.xml).toURI().toURL();
  | URL securityConfig= new 
File(META-INF/standard-jaxws-client-config.xml).toURI().toURL();
  | 
((StubExt)port).setSecurityConfig(securityConfig.toExternalForm());
  | ((StubExt)port).setConfigName(Standard WSSecurity Client);
  | // TODO initialize WS operation arguments here
  | de.wwu.services.mailservice.Message message = new 
de.wwu.services.mailservice.Message();
  | message.setCharset(Charset.UTF_8);
  | Recipient firstRecipient = new Recipient();
  | firstRecipient.setRecipientType(RecipientType.TO);
  | firstRecipient.setRecipientAddress([EMAIL PROTECTED]);
  | message.getRecipients().add(firstRecipient);
  | message.setSender([EMAIL PROTECTED]);
  | message.setSubject(Clustertest);
  | message.setContent(Diese Mail ist ein Test... Also gleich 
wegschmeißen!);
  | port.NotifyRecipients(message);
  | } catch (Exception ex) {
  | ex.printStackTrace();
  | // TODO handle custom exceptions here
  | }
  | 
  | // TODO code application logic here
  | }
  | 
  | }
  | 

Every help is appreciated

Werner


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166131#4166131

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166131

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Jboss - Drools

2008-07-23 Thread mallraoa2
I am getting the below exception when i try to  Build  the package using the 
JBRMS. Looks like this is a bug. can any one help on this,

I am using TOMCAT-Drools  Windows - Xp and Jdk1.5

Thanks,
Malli

An error occurred executing the action. 
Details 
org.drools.repository.RulesRepositoryException: Unexpected error when parsing 
package.
 at 
org.drools.brms.server.builder.ContentPackageAssembler.addDrl(ContentPackageAssembler.java:216)
 at 
org.drools.brms.server.builder.ContentPackageAssembler.preparePackage(ContentPackageAssembler.java:178)
 at 
org.drools.brms.server.builder.ContentPackageAssembler.(ContentPackageAssembler.java:83)
 at 
org.drools.brms.server.builder.ContentPackageAssembler.(ContentPackageAssembler.java:92)
 at 
org.drools.brms.server.ServiceImplementation.buildPackage(ServiceImplementation.java:781)
 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.seam.util.Reflections.invoke(Reflections.java:21)
 at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
 at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
 at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
 at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
 at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
 at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 at 
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:40)
 at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
 at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
 at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
 at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
 at 
org.drools.brms.server.ServiceImplementation_$$_javassist_3.buildPackage(ServiceImplementation_$$_javassist_3.java)
 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.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(GWTToSeamAdapter.java:74)
 at 
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.processCall(GWTRemoteServiceServlet.java:290)
 at 
org.jboss.seam.remoting.gwt.GWTRemoteServiceServlet.doPost(GWTRemoteServiceServlet.java:172)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
 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.seam.web.ContextFilter$1.process(ContextFilter.java:42)
 at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:46)
 at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
 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:233)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:595)
Caused by: org.drools.compiler.DroolsParserException: Unknown error while 
parsing. This is a bug. Please contact the Development team.
 at org.drools.compiler.DrlParser.compile(DrlParser.java:183)
 at org.drools.compiler.DrlParser.parse(DrlParser.java:61)
 at 
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:165)
 at 

[jboss-user] [Management, JMX/JBoss] - MBeanServer.getDefaultDomain returns null

2008-07-23 Thread vrsn-rbuck
When JBoss is run with these additional options, to expose JBoss MBean's in 
JConsole, application code that looks up the MBeanServer gets an NPE.

When one starts JBoss with the following options:

set JAVA_OPTS=%JAVA_OPTS% 
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
  | set JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver
  | set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote
  | 

which is detailed here on your site:

http://wiki.jboss.org/wiki/JBossMBeansInJConsole

Calls to server.getDefaultDomain() returns null when should not have. Here is 
my applications JMX helper:

public static MBeanServer getDefaultMBeanServer() {
  | // detects if we are running from within jboss...
  | MBeanServer server = findMBeanServer(jboss);
  | 
  | // otherwise falls back to the default platform mbean server...
  | if (server == null) {
  | server = ManagementFactory.getPlatformMBeanServer();
  | }
  | return server;
  | }
  | 
  | 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;
  | }
  | 

There was a related thread that never got an answer back in 2007:

http://lists.jboss.org/pipermail/jboss-user/2007-February/038880.html

This looks like a defect in JBoss. If so, what workaround exists for it?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166145#4166145

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166145
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: Message Driven Bean onMessage not being invoked

2008-07-23 Thread milind111
Check ur  delpoyement discriptor in ejb-jar.xml and the jboss.xml in meta-inf 
folder

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166134#4166134

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166134
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - NPE when web services are shut down

2008-07-23 Thread adinn
Hi guys,

I found a problem in shutdown processing for JBossWS Native 3.0.2 on 5.0.0.CR1. 
I'm getting NullPointerExceptions from BareWSFRuntime.stop() as web services 
are being undeployed. This occurs both for an application web service (the XTS 
demo) and for the web services deployed in the XTS sar as part of the XTS 
implementation.

The stack traces are as follows

  | 13:32:45,437 ERROR [WebServiceDeployerPostJSE] Error during undeploy: 
vfszip:/home/adinn/jboss/jbossas/JBoss_5_0_0_CR1/build/output/jboss-5.0.0.CR1/server/default/deploy/jbossxts.sar/ws-t11.war
  | java.lang.NullPointerException
  | at 
org.jboss.wsf.container.jboss50.BareWSFRuntime.stop(BareWSFRuntime.java:71)
  | at 
org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.undeploy(ArchiveDeployerHook.java:109)
  | at 
org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalUndeploy(AbstractWebServiceDeployer.java:68)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:197)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1189)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1169)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1144)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
  | at 
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1406)
  | at 
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1064)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:677)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:510)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.unload(ProfileServiceBootstrap.java:371)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.unloadProfile(ProfileServiceBootstrap.java:332)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:160)
  | at 
org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:508)
  | at 
org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:827)
  | 


  | 13:32:45,438 ERROR [WebServiceDeployerPostJSE] Error during undeploy: 
vfszip:/home/adinn/jboss/jbossas/JBoss_5_0_0_CR1/build/output/jboss-5.0.0.CR1/server/default/deploy/jbossxts.sar/ws-c11.war
  | java.lang.NullPointerException
  | at 
org.jboss.wsf.container.jboss50.BareWSFRuntime.stop(BareWSFRuntime.java:71)
  | at 
org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.undeploy(ArchiveDeployerHook.java:109)
  | at 
org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalUndeploy(AbstractWebServiceDeployer.java:68)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:197)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1189)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1169)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1144)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
  | at 
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1406)
  | at 
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1064)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:677)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:510)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.unload(ProfileServiceBootstrap.java:371)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.unloadProfile(ProfileServiceBootstrap.java:332)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:160)
  | at 
org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:508)
 

[jboss-user] [Beginners Corner] - JBoss classloading problem

2008-07-23 Thread venuwin
Hi,

We have developed one web application which has to be deployed seperately for 
seperate clients.

say for example : customer X ,customer Y and customer Z are our clients.
we need to deploy three different build for all these 3 customers. Source code 
and package structure will be the same, but some XML files and images will 
differ. We have to have 3 different builds, all running on the same jboss 
server, but with different Context names and URLs.

The problem is here : when we deploy all these 3 war files, the class files 
which are repeated in all the 3 war files are loaded only once for all the 3 
deployments. But our requirement is to load 3 different versions of class files 
, but with different state and data.

How do we force JBoss to load these classes again and again. Say if there are 
10 customer, we need 10 builds, and the same classes should be loaded 10 times.

If we change the package names different in all  the 3 war files, no issues. 
Working fine ..may be because all these classes have different absolute names, 
although the source is exactly the same .

Thanks in advance,

Venu

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166147#4166147

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166147
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Tomcat / JBoss Updates and version Compatability

2008-07-23 Thread jagreenwood
I'm basically in the same situation relative to having to update Tomcat.
What I'm curious about is whether I can update Tomcat independently of JBoss.  
Is a particular version of JBoss tied to a particular version of Tomcat?  Is is 
possible to copy the updated version of jar files to the server?

Also, I can't find a source that lists what version Tomcat a particular version 
of JBoss includes.  Any ideas where I can find this information?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166137#4166137

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166137
___
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

2008-07-23 Thread 1womps1
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


  | datasources
  |   local-tx-datasource
  | jndi-nameMySqlDS/jndi-name
  | 
connection-urljdbc:mysql://mysql-hostname:3306/jbossdb/connection-url
  | driver-classcom.mysql.jdbc.Driver/driver-class
  | user-namex/user-name
  | passwordy/password
  | 
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name
  | !-- should only be used on drivers after 3.22.1 with ping support
  | 
valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker/valid-connection-checker-class-name
  | --
  | !-- sql to call when connection is created
  | new-connection-sqlsome arbitrary sql/new-connection-sql
  |   --
  | !-- sql to call on an existing pooled connection when it is obtained 
from pool - MySQLValidConnectionChecker is preferred for newer drivers
  | check-valid-connection-sqlsome arbitrary 
sql/check-valid-connection-sql
  |   --
  | 
  | !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml --
  | metadata
  |type-mappingmySQL/type-mapping
  | /metadata
  |   /local-tx-datasource
  | /datasources
  | 
  | 
could you please help me to figure out where is the problem

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166149#4166149

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166149

___
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

2008-07-23 Thread jaikiran
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=bbop=viewtopicp=4166150#4166150

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166150
___
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)

2008-07-23 Thread richiethom
Solved - there was a typo in the ra.xml.

Thanks anyway!

Rich

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166138#4166138

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166138
___
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

2008-07-23 Thread [EMAIL PROTECTED]
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=bbop=viewtopicp=4166154#4166154

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Apache2 + JBoss 4.2.2 + mod_jk

2008-07-23 Thread klapcio
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=bbop=viewtopicp=4166140#4166140

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166140
___
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

2008-07-23 Thread lovelyliatroim
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#Summary_Report.

Things that struck 

[jboss-user] [Security JAAS/JBoss] - Re: Client IP in LoginModule

2008-07-23 Thread [EMAIL PROTECTED]
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=bbop=viewtopicp=4166156#4166156

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166156
___
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

2008-07-23 Thread jaikiran
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=bbop=viewtopict=135363

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166157#4166157

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166157
___
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

2008-07-23 Thread freakwave
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=bbop=viewtopicp=4166152#4166152

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166152
___
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

2008-07-23 Thread vrsn-rbuck
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=bbop=viewtopicp=4166141#4166141

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166141
___
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?

2008-07-23 Thread pinedu
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=bbop=viewtopicp=4166162#4166162

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166162
___
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

2008-07-23 Thread prateek_n
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=bbop=viewtopicp=4166164#4166164

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166164
___
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

2008-07-23 Thread sean_cool02
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=bbop=viewtopicp=4166143#4166143

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166143
___
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

2008-07-23 Thread viniciuscarvalho
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=bbop=viewtopicp=4166165#4166165

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166165
___
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

2008-07-23 Thread prateek_n
Ragav,
Can you please expand on Socket API ? 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166166#4166166

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166166
___
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

2008-07-23 Thread jimball
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=bbop=viewtopicp=4166171#4166171

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166171
___
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

2008-07-23 Thread Hackler
-current %JBOSS_HOME%\bin is false. 
Correct: -current %JBOSS_HOME% 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166144#4166144

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Add +1 to improve the JBoss Tools/JBDS Documentation

2008-07-23 Thread OChikvina
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=bbop=viewtopicp=4166169#4166169

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166169
___
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

2008-07-23 Thread ssidhanta
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, 

[jboss-user] [JNDI/Naming/Network] - Re: could not find datasource

2008-07-23 Thread 1womps1
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=bbop=viewtopicp=4166177#4166177

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166177
___
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

2008-07-23 Thread yangju
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:

 attribute name=CacheModeLOCAL/attribute
  | attribute name=IsolationLevelREPEATABLE_READ/attribute
  |  attribute 
name=TransactionManagerLookupClassorg.jboss.cache.JBossTransactionManagerLookup/attribute
  |  attribute 
name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute
  |  attribute name=EvictionPolicyConfig
  |   config
  | attribute name=wakeUpIntervalSeconds60/attribute
  |   
  | region name=/_default_
  | !--0 means no limit --
  | attribute name=maxNodes0/attribute
  | attribute name=timeToLiveSeconds1800/attribute
  | attribute name=maxAgeSeconds1800/attribute
  | /region

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=bbop=viewtopicp=4166178#4166178

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166178
___
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

2008-07-23 Thread [EMAIL PROTECTED]
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=bbop=viewtopicp=4166180#4166180

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166180
___
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

2008-07-23 Thread gressho
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=bbop=viewtopicp=4166182#4166182

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Jboss - Drools

2008-07-23 Thread kukeltje
wrong forum.. this is the jBPM forum... 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166183#4166183

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Session is being expired when one of the cluster is set down

2008-07-23 Thread praveenas
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,
 [EMAIL PROTECTED])]

[jboss-user] [Clustering/JBoss] - Re: Session is being expired when one of the cluster is set

2008-07-23 Thread praveenas
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 

[jboss-user] [JCA/JBoss] - creating data sources on the fly.

2008-07-23 Thread moshe1234
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=bbop=viewtopicp=4166186#4166186

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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

2008-07-23 Thread spezam
Praveenas,
I have the same problem

http://www.jboss.com/index.html?module=bbop=viewtopict=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=bbop=viewtopicp=4166188#4166188

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166188
___
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

2008-07-23 Thread kukeltje
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=bbop=viewtopicp=4166190#4166190

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166190
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - sub process question

2008-07-23 Thread gfuhr
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=bbop=viewtopicp=4166191#4166191

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166191
___
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

2008-07-23 Thread kukeltje
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=bbop=viewtopicp=4166194#4166194

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166194
___
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

2008-07-23 Thread lblaauw
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=bbop=viewtopicp=4166196#4166196

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166196
___
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

2008-07-23 Thread iamnew2jboss
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=bbop=viewtopicp=4166198#4166198

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166198
___
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

2008-07-23 Thread PeterJ
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=bbop=viewtopicp=4166201#4166201

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166201
___
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

2008-07-23 Thread kukeltje
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=bbop=viewtopicp=4166202#4166202

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166202
___
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

2008-07-23 Thread PeterJ
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=bbop=viewtopicp=4166204#4166204

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166204
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Achieving asynchronous communications

2008-07-23 Thread hbadami
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=bbop=viewtopicp=4166205#4166205

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166205
___
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

2008-07-23 Thread moshe1234
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=bbop=viewtopicp=4166208#4166208

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166208
___
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

2008-07-23 Thread PeterJ
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=bbop=viewtopicp=4166207#4166207

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166207
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unable to stop jboss server

2008-07-23 Thread PeterJ
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=bbop=viewtopicp=4166209#4166209

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166209
___
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

2008-07-23 Thread schander10
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


  | ?xml version=1.0 encoding=UTF-8?
  | !-- Persistence deployment descriptor for dev profile --
  | persistence xmlns=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
  | 
  | persistence-unit name=orads transaction-type=JTA
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | jta-data-sourcejava:/OracleDS/jta-data-source
  | properties
  |property name=hibernate.dialect 
value=org.hibernate.dialect.Oracle9Dialect/
  | property name=hibernate.transaction.manager_lookup_class
  |   
value=org.hibernate.transaction.JBossTransactionManagerLookup/
  | 
  | !-- Logging --
  | property name=hibernate.show_sql value=true/
  | property name=hibernate.use_sql_comments value=true/
  | property name=hibernate.format_sql value=true/
  | 
  | /properties
  | /persistence-unit
  | 
  | /persistence
  | 

I have set up the entityManagerFactory in the components.xml as 


  | components xmlns=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;
  |  
  | core:init debug=false jndi-pattern=orads/#{ejbName}/local/
  | 
  |  
  | persistence:entity-manager-factory installed=true
  |   name=oradsEntityManagerFactory
  |   
persistence-unit-name=orads/
  | 
  | persistence:managed-persistence-context name=entityManager
  |   auto-create=true
  |   
  |   
persistence-unit-jndi-name=java:/oradsEntityManagerFactory
  | /persistence:managed-persistence-context
  | /components
  | 

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 

[jboss-user] [JCA/JBoss] - Re: creating data sources on the fly.

2008-07-23 Thread vickyk
Avoid duplicate posts .

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166215#4166215

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166215
___
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

2008-07-23 Thread PeterJ
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=bbop=viewtopict=127824 for a 
complete example.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166212#4166212

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166212
___
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

2008-07-23 Thread vickyk
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=bbop=viewtopicp=4129581#4129581

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166213#4166213

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166213
___
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

2008-07-23 Thread PeterJ
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=bbop=viewtopicp=4166214#4166214

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166214
___
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 :(

2008-07-23 Thread phpguy99
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=bbop=viewtopicp=4166221#4166221

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166221
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Cast problem

2008-07-23 Thread jcarlos_andia
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=bbop=viewtopicp=4166223#4166223

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166223
___
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

2008-07-23 Thread jagdeep
did anyone figure this out? I have a similar issue

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166227#4166227

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166227
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JMS Benchmark

2008-07-23 Thread viniciuscarvalho
In case someone missed it :


http://www.c2b2.co.uk/iPoint/ipoint?SelectedPage=69110ArticleID=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=bbop=viewtopicp=4166228#4166228

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166228
___
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

2008-07-23 Thread digantshah
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=bbop=viewtopicp=4166229#4166229

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166229
___
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

2008-07-23 Thread xinhua
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=bbop=viewtopicp=4166235#4166235

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166235
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMS Benchmark

2008-07-23 Thread [EMAIL PROTECTED]
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=bbop=viewtopicp=4166237#4166237

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166237
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMS Benchmark

2008-07-23 Thread [EMAIL PROTECTED]
Another reason for steady state is JIT compilations and JRE's optimizations.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166238#4166238

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166238
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - couldn't parse jbpm configuration from resource...

2008-07-23 Thread ashishc
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=bbop=viewtopicp=4166240#4166240

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166240
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Problems with CMS

2008-07-23 Thread viniciuscarvalho
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.init(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 

[jboss-user] [JBoss Cache: Core Edition] - Expiring empty cache regions

2008-07-23 Thread fatefree
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=bbop=viewtopicp=4166242#4166242

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166242
___
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

2008-07-23 Thread shadowfury
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=bbop=viewtopicp=4166243#4166243

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166243
___
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

2008-07-23 Thread mandava_s
Adrian,

I seen your post regarding the fix for the problem posted at 
http://www.jboss.com/index.html?module=bbop=viewtopicp=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=bbop=viewtopicp=4166245#4166245

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166245
___
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

2008-07-23 Thread PeterJ
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=bbop=viewtopicp=4166247#4166247

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166247
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Advanced Documentation] - document / pointers on doing an RMI client server implementa

2008-07-23 Thread maggu
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=bbop=viewtopicp=4166248#4166248

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166248
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >