[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss is not starting

2008-12-01 Thread nareshvatsal39
I have unzipped jboss-4.2.2.GA and installed in 2 systems.
In one system Jboss is starting properly.
But in other whenever i am clicking Run.bat , only command  prompt will flash  
for few second and close.
I am not able to recognize this problem.
Can anyone guide me.


Regards
Naresh Vatsal

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193657#4193657

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0sp3 cp04 bisocket parameters does not effect

2008-12-01 Thread lanceliao1
I think there are some subtle mechanism.
JMSRemotingConnection public void start()

  |   Map config = new HashMap();
  |   
  |   config.put(Client.ENABLE_LEASE, String.valueOf(clientPing));
  |   
  |   if 
(serverLocator.getParameters().containsKey(MicroSocketClientInvoker.MAX_POOL_SIZE_FLAG))
  |   {
  |  throw new IllegalArgumentException("Invalid remoting configuration 
- do not specify clientMaxPoolSize" +
  | " use " + JBM_MAX_POOL_SIZE_KEY 
+" instead");
  |   } 
  |   
  |   if (!serverLocator.getProtocol().equals("http") & 
!serverLocator.getProtocol().equals("https"))
  |   {
  |  String val = 
(String)serverLocator.getParameters().get(JBM_MAX_POOL_SIZE_KEY);
  |  
  |  if (val == null)
  |  {
  | log.warn(JBM_MAX_POOL_SIZE_KEY + " not specified - defaulting 
to 200");
  | 
  | val = "200";
  |  }
  |  
  |  config.put(MicroSocketClientInvoker.MAX_POOL_SIZE_FLAG, val);
  |   }
  | 
  |   client = new Client(serverLocator, config);
  | 
  |   client.setSubsystem("JMS");
  | 
The method only set a few parameters of remoting,the Map config used as 
configuration of Client.
The ConnectionValidator only use this map to set parameters,so it does not work.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193655#4193655

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: jbosscache/jgroups memory leak

2008-12-01 Thread [EMAIL PROTECTED]
Thanks for the heads up !
Were you using FC in your stack ? FC, together with STABLE (and max_bytes set) 
would prevent an OOME, too.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193653#4193653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Performance parameters for JBOSS

2008-12-01 Thread ran_sushmi
I wanted to know that what all parameters can we check for the performance for 
JBOSS. And also, the ideal values for these parameters.

I hope, my question is clear. 

Please, help in solving the doubt. 

regards 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193652#4193652

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss version

2008-12-01 Thread sachin1506
Hello Sir,
As i am new to this JBOSS application server so i just want to know that 
how to find out version number of running jboss on linux(Red Hat)
and as it was mentioned earlier in your post that Look at the Version attribute 
of the jboss.system:type=Server MBean 
so where can i find this attribute ..i mean can you tell me whole way to get to 
this information about version number 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193649#4193649

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Port for JBOSS

2008-12-01 Thread ran_sushmi
I, had a query on what is the port for JBOSS. And, in which file to check for 
the port of JBOSS.

I hope, my question is clear. 

Please, help in solving the doubt. 

regards 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193648#4193648

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: How to set ping timeout of ConnectionValidator?

2008-12-01 Thread [EMAIL PROTECTED]
Thanks, Mark.  I responded in the other forum.  

I don't think that problem, described in 
https://jira.jboss.org/jira/browse/JBREM-1069, woud affect any parameter except 
"validatorPingPeriod", but maybe I'm missing something.

-Ron

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193647#4193647

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0sp3 cp04 bisocket parameters does not effect

2008-12-01 Thread [EMAIL PROTECTED]
Yes, I noticed that recently; see 
https://jira.jboss.org/jira/browse/JBREM-1069.  It will get fixed in the next 
Remoting releases.

However, as far as I can see, it should affect only "validatorPingPeriod", 
which gets set in the metadata map, overriding the org.jboss.remoting.Client's 
configuration map.  But "validatorPingTimeout" should get its value from the 
Client's configuration map, which includes the parameters set in 
remoting-bisocket-service.xml.

However, maybe I'm missing something.

-Ron

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193646#4193646

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - JBoss AS 4.2.3.GA + Seam 2.1.0.GA - 1 hit = 100% CPU

2008-12-01 Thread rhills
We're trying to work out why a single page hit on our application pushes the 
CPU to 100%.

Our setup is JBoss AS 4.2.3.GA + Seam 2.1.0.GA.  We're using the APR and 
serving over HTTPS.

The 100% CPU hit happens with any page that does any "work" (DB lookup + 
rendering results).  It occurs after multiple hits on the same page.  It occurs 
on two dev machines and a staging server.

The web application feels very slow for a single user, even running off the 
staging server.  I've got to do performance testing at some stage, but there 
seems little point while it's so sluggish for a single user.

WRT memory, my dev machine has 2GB of RAM.  The JVM config is: -Xms300m 
-Xmx300m -XX:NewSize=100m -XX:MaxNewSize=100m and profiling IAW 
http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html
 suggests that the GC process is running smoothly.  On this machine, there is 
about 800MB RAM free before JBoss startup and our app doesn't seem to consume 
the 300MB heap (not in short runs anyway).

I've been through the server optimisation/slimming process detailed at 
http://www.jboss.org/community/docs/DOC-10217, with minimal impact on this 
issue.  Not that I was surprised as most of the recommendations in that doc 
appear to be targeted at scaling performance and our problem is with a single 
user.

When I profile the classes to try and establish what is causing the CPU hit, 
95% of the CPU time vanishes in two APR methods: 
org.apache.tomcat.jni.Poll.poll and org.apache.tomcat.jni.Socket.accept.

Almost no CPU time is consumed by our own classes.

The profiling is done with JProfiler and AFAICT, the CPU time recording is only 
for the JBoss server, not other apps on this machine (browser etc.).  For the 
record, the DB accessed by this app is on a separate server and all tables are 
quite small (the largest is 12K rows, most are < a few hundred records).

I'm not sure what this is telling me.  Is this normal behaviour for JBoss 
serving HTTPS or have we got our server configuration all wrong?  Does anyone 
have any thoughts on where I should look next?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193645#4193645

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193645
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Number of topic subscribers

2008-12-01 Thread noelo
Hi Clebert,
Thanks for the info, however I forgot to mention that each subscriber will have 
a selector to only pull down messages that its interested in.
I know that selectors have a more substantial performance impact than subs with 
no selectors. Thanks for the tip on the openFiles.

I understand that all of this is based on app design and server tuning I was 
just concerned that the designers are treating the JMS subscribers as a kind of 
lightweight thread (for lack of a better description). 
I'd rather move them into using a lot less JMS resources and having more 
application threads to process the messages.

thanks for your help
Noel

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193643#4193643

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM deadlock cause by socket write

2008-12-01 Thread lanceliao1
The problem has been resolved.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193644#4193644

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: How to set ping timeout of ConnectionValidator?

2008-12-01 Thread swany
Ron,

Looks like someone else ran across the exact same bug (but thinks it will fix 
the situation for all client parameters, not just the ping timeout. This was 
posted to the JBM forums today.

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193633#4193633

I may make this code change and test myself if I have time. I'm not 100% sure 
my parameters are making it across the socket connection to the client invoker 
locator, but I am curious to try this if I have time.

Mark

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193641#4193641

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: JBoss Community DOC-10217 - advice on tomcat connector t

2008-12-01 Thread rhills
"rhills" wrote : Hmmm, for some silly reason, I'd thought JBoss was using 5.5
  | 

Just to confirm what Peter said earlier, according to the release notes for 
JBoss 4.2.3.GA, Tomcat 5.5 was replaced by Tomcat 6 in JBoss 4.2.0.GA.

See here: 
http://sourceforge.net/project/shownotes.php?release_id=614346&group_id=22866
under the heading "JBossAS 4.2.0.GA"


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193639#4193639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: JBoss Community DOC-10217 - advice on tomcat connector t

2008-12-01 Thread rhills
Hi Peter,

"PeterJ" wrote : The problem with using recommendations is that often they are 
specific to the environment of the user. And sometimes the recommendations are 
not necessarily the best especially if the recommendation is based on a 
performance test. For example, one of the recommendations is for setting 
sun.rmi.dgc.client.gcInterval to 60 minutes. Why 60 minutes? Because the 
specjappserver performance test runs in under 60 minutes so the "recommended" 
setting prevents stray full GCs from being called during the test run.  But in 
a real life production environment, I would set it to once a day or once a week.

That's an excellent example.  It's just a shame that the docs don't include 
that kind of qualification as well.  I agree with you that it's almost 
impossible to provide recommendations that suit everybody.  However I think 
that a set of recommendations for a specific set of circumstances with some 
explanation of why each value has been chosen would be a very useful document 
that most of us could then extrapolate to our own circumstances.

"PeterJ" wrote : Having said that, the Tomcat documents, since they describe 
the settings in general terms, are better references on how the settings work.
  | 
  | (Examples below use the default values)
  | 
  | MinSpareThreads is the minimum number of unused threads that will be kept 
available to handle new incoming requests. Example: if 20 threads are actively 
in use, there will be at least 24 threads (20 in use + 4 spare).
  | 
  | A side effect is that this setting also dictates the initial number of 
threads created. Example: 0 threads in use, thus 4 threads. (I believe this is 
where the 'peak load' recommendation comes from - in a test such as 
specjappserver you can easily calculate the peak load and thus set 
minsparethreads to create that number of threads as part of system startup.)
  | 
  | At some point the system might get busy and you end up with, say. 200 
threads. Then everyone goes to lunch and only 20 threads are busy. When the 
idle thread timeout is reached, the thread count will be reduced to 70 (20 
active plus 50 spare).

I agree, the Tomcat docs are better in this area, but I find your descriptions 
above even better still.  It's a shame they're not in the Tomcat docs.

"PeterJ" wrote : Having said all of this, my testing has shown that Tomcat 6, 
and thus the versions of JBoss Web Server based on it, while it still accepts 
and stores these values no longer uses they to manage the threads. The min and 
max idle thread values are no longer checked in the source code (at least, it 
is no longer where it used to be checked and I haven't found any alternate 
locations where they are checked), and the observed behavior appears to 
validate the claim that they are no longer used.

Hmmm, for some silly reason, I'd thought JBoss was using 5.5 - I probably saw 
the number "5.5" somewhere and made the assumption without checking.  Looking 
then at the http://tomcat.apache.org/tomcat-6.0-doc/config/http.html, no 
mention is made of the maxSpareThreads and minSpareThreads attributes, so that 
adds further evidence to your observations.  Thanks for pointing that out.

Presumably, Tomcat now tunes itself for these parameters?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193636#4193636

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193636
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Re: Local ejb access vs remote access

2008-12-01 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=59823 Posted on behalf of 
a User

I have the same problem, trying to find whats wrong. Now I think the problem is 
with XDoclet.

In Response To: 

I'm trying to figure out why remote access to my EJB works but local access 
doesn't seem to.  If I create a test remote test client using the following 
code, everything seems to work fine.


  | Hashtable env = new Hashtable();
  | env.put(Context.INITIAL_CONTEXT_FACTORY, 
  | "org.jnp.interfaces.NamingContextFactory");
  | env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  | 
  | try {
  | LeagueFacade leagueFacade = 
LeagueFacadeUtil.getHome(env).create();
  | League league = leagueFacade.findLeague(1);
  | 

If I use the following code in a jsp or servlet deployed as part of the same 
EAR into the Jboss container, I get an exception (failing on the call to 
LeagueFacadeUtil.getHome() ).

  | LeagueFacadeHome h = LeagueFacadeUtil.getHome();
  | LeagueFacade l = h.create();
  | League league = l.findLeague(1);
  | Iterator schedules = league.getSchedules()
  | .iterator();
  | 


  | java.lang.ClassCastException
  | com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(Unknown 
Source)
  | javax.rmi.PortableRemoteObject.narrow(Unknown Source)
  | 
com.leagueplanet.ejb.LeagueFacadeUtil.lookupHome(LeagueFacadeUtil.java:25)
  | com.leagueplanet.ejb.LeagueFacadeUtil.getHome(LeagueFacadeUtil.java:42)
  | org.apache.jsp.schedule_jsp._jspService(schedule_jsp.java:78)
  | 

If I try to add an initial context environment as I did for the remote client, 
I get a different exception and it fails on the call to 
LeagueFacadeHome.create()

  | root cause 
  | 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: Invalid invocation, check your deployment 
packaging, method=public abstract com.leagueplanet.ejb.LeagueFacade 
com.leagueplanet.ejb.LeagueFacadeHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
  | 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365)
  | org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
  | org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer
  | 

I'm obviously missing something but can't quite figure out what it is.  BTW, 
this is the basic code from the WTP book, which was aimed at a JBoss 4.0 
deployment.

Thanks,

mark


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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7.0 compatibility with Internet Explorer

2008-12-01 Thread wesleyhales
This is fixed and on 2_7 trunk

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193635#4193635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: 3.2.3 GA installation issues

2008-12-01 Thread jameswallace
ok.thx.
by ur answer, it seems i have to stick to 3.2.3 suite. 
at least, 3.2.3 has relatively thorough reference docuemnts.

i am writing a chinese version tutorial. if i have to stick to 3.2.3, i am 
willing that the final changes aren't too significant.

thx a again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193634#4193634

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBM 1.4.0sp3 cp04 bisocket parameters does not effect

2008-12-01 Thread lanceliao1
HI:
JBM Group.The para in remoting-bisocket-service.xml

  |  1
  |  5000
does not effect client-side.So we got lots of disconnection.
The file of org.jboss.jms.client.remoting.JMSRemotingConnection.java
line 502

  |  /**
  | * @return true if the listener was correctly installed, or false if the 
add attepmt was ignored
  | * because there is already another listener installed.
  | */
  |public synchronized boolean 
addConnectionListener(ConsolidatedRemotingConnectionListener listener)
  |{
  |   if (remotingConnectionListener != null)
  |   {
  |  return false;
  |   }
  | 
  |   client.addConnectionListener(listener);
  |   remotingConnectionListener = listener;
  | 
  |   return true;
  |}
should use method:

  | public void addConnectionListener(ConnectionListener listener, Map metadata)
  | 
otherwise the connectionValidator use default parameters to monitor connection.
validatorPingPeriod = 2000;
validatorPingTimeout = 1000;


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193633#4193633

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - NoSuchMethodError: org.jboss.aop.ClassAdvisor$1

2008-12-01 Thread svr.vin
Hi All

   I am using JBoss-4.2.3.GA, JBoss-Messaging-1.4.0.GA And JDK1.6.0_07.

  I am integrated the Jboss-messaging with JBAS  and deployed my Application, 
the server started without any problem.

Added the following jar file in the client classpath

   jboss-messaging.jar
   jnpserver.jar
   jbossall-client.jar
   javassist.jar
   jboss-aop.jar
   trove.jar

  Whenever   i am calling my client application the following error is throwing.

 
  
  Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 
org.jboss.ao
  | 
p.ClassAdvisor$1.(Lorg/jboss/aop/ClassAdvisor;Lorg/jboss/aop/AspectManager
  | ;Lorg/jboss/aop/ClassAdvisor;Ljava/lang/Class;)V
  | at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
  | at 
org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java
  | :591)
  | at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:579)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.(ClientConnectionFactoryDelegate.java)
  | at sun.misc.Unsafe.ensureClassInitialized(Native Method)
  | at 
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAc
  | cessorFactory.java:25)
  | at 
sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java
  | :122)
  | at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
  | at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
  | at java.lang.reflect.Field.getLong(Field.java:528)
  | at 
java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1614
  | )
  | at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
  | at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:425)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.io.ObjectStreamClass.(ObjectStreamClass.java:413)
  | at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
  | at 
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:158
  | 3)
  | at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
  | 732)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
  | 47)
  | at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
  | 
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
  | 753)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
  | at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:7
  | 2)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at com.bcsis.his.mq.HISConsumer.(HISConsumer.java:33)
  | at com.bcsis.his.socket.HISSender.init(HISSender.java:52)
  | at com.bcsis.his.socket.HISSender.(HISSender.java:44)
  | at 
com.bcsis.his.socket.HISSdrManager.openConnection(HISSdrManager.java:
  | 88)
  | at HISLayout.createSTPConn(HISLayout.java:626)
  | at HISLayout$1.actionPerformed(HISLayout.java:528)
  | at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
  | 95)
  | at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
  | a:2318)
  | at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
  | .java:387)
  | at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
  | )
  | at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
  | at 
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
  | 220)
  | at 
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
  | uItemUI.java:1261)
  | at java.awt.Component.processMouseEvent(Component.java:6041)
  | at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
  | at java.awt.Component.processEvent(Component.java:5806)
  | at java.awt.Container.processEvent(Container.java:2058)
  | at java.awt.Component.dispatchEventImpl(Component.java:4413)
  | at java.awt.Container.dispatchEventImpl(Container.java:2116)
  | at java.awt.Component.dispatchEvent(Component.java:4243)
  | at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
  | )
  | at 
java.awt.LightweightDispatcher.pro

[jboss-user] [JBoss Messaging] - Re: Number of topic subscribers

2008-12-01 Thread clebert.suco...@jboss.com
You shouldn't have any problems with that on JBoss Messaging 1.4.

I just ran a quick test where I had thousand subscribers and it ran without any 
problems.

When i say you shouldn't have any problems, I'm assuming you are designing your 
application well and you have considered resource usage on the server (max 
Openfiles set for the number of clients you will have, enough I/O and enough 
memory on the server and JVM).

If your consumers are local to the server, you should probably avoid 
ObjectMessage as Serialization will aways be something expensive (but that 
should be ok if your consumers are distributed. On the server side an 
ObjectMessage is just a ByteArray, but on the client that is using 
ObjectINputStream and if you have all the clients on the same server that will 
use more CPU power.

(Those recommendations will apply to any system you choose.. not just JBM)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193627#4193627

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193627
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: How to auto-wire using BeanMetaDataBuilder?

2008-12-01 Thread david.ll...@jboss.com
Found it - BeanMetaDataBuilder.setAutowire*().

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193625#4193625

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193625
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Number of topic subscribers

2008-12-01 Thread noelo
Hi,
I'm working on a hight load web project where the design dictates that there is 
a JMS consumer consuming of a single topic for each logged in user. When the 
user logs out the consumer is discarded. Each consumer is not durable.

Considering that there could be 100's if not 1000's of users I think that this 
approach could have performance issues. Does JBM scale to this level or is the 
whole approach misguided ?

thanks
Noel 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193623#4193623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - How to auto-wire using BeanMetaDataBuilder?

2008-12-01 Thread [EMAIL PROTECTED]
I want to do auto-wiring as per ch. 11.5 of the MC user manual, but I want to 
do it programmatically from BeanMetaDataBuilder.  The needed methods appear to 
be missing though.  Am I just not seeing it?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193622#4193622

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime (APR) on Jboss 4.2.3 GA

2008-12-01 Thread PeterJ
The run script, when it finds bin/native, adds bin/native to PATH and to 
java.library.path. So it should just work with the files located in bin/native. 
Or are you not using run.bat to start the app server?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193620#4193620

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 CR2 and PostgreSQL

2008-12-01 Thread PeterJ
The book JBoss In Action (http://www.manning.com/jamae), chapter 15 contains 
various configuration settings used for production. One of those is replacing 
HSQLDB with either MySDQL or PostgreSQL. Also, chapter 8 on messaging shows how 
to configure messaging to use another database.

And it looks like the source is on the book's web site! Target 03 will create a 
configuration that uses MySQL or PostgreSQL.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193617#4193617

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 CR2 and PostgreSQL

2008-12-01 Thread ilangocal
"PeterJ" wrote : You must also configure messaging and quartz to use the 
postgresql database. For messaging, copy the 
docs/examples/jms/postgresql-persistence-service.xml file to 
server/xxx/deploy/messaging and remove the hsqldb-persistence-service.xml file. 
Also, you must edit the file if you are not using clustering - see the comments 
in the file for details.  For Quartz, see 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141835
  | 
  | I have complete, detailed, instructions for replacing Hypersonic, but it is 
not free. I can provide the URL if you are interested.

Peter
I was wondering if you could provide the URL that supposedly talks about 
replacing the Hypersonic DB database. 

thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193586#4193586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Page restricted to unauthenticated users ?

2008-12-01 Thread psevestre
I had a similar problem, but I've used a different approach.

In my case, I want to keep the page (it's the default page) but some elements 
should not appear to logged users.

To achieve this, I've used some logic in my layout pages, rendering a given 
region  - or not - based on the return value of request.getRemoteUser().

Something like this:


  | <% if ( request.getRemoteUser() == null ) { %>
  | 
  | <% } %>
  | 







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193587#4193587

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193587
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can we save the jBPM process state in the database e

2008-12-01 Thread mitabhushan
It is the default setting for all the Jboss Seam Examples that use jBPM

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193591#4193591

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193591
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Unauthenticated /sec Access with CAS enabled

2008-12-01 Thread iliap
Hello All,

I'm having some trouble configuring what url patterns Portal deems worthy of 
CAS authentication.  Specifically, I have a registration section of the portal 
that is SSL encrypted under a "/sec" URL, but does not require the user to be 
authenticated.  This works fine with CAS disabled by commenting out the CAS 
Valve snippet in jboss-portal.sar/portal-server.war/WEB-INF/context.xml:


  | 
  |https://MYHOST:8443/cas/login";
  | casLogout="https://MYHOST:8443/cas/logout";
  | casValidate="https://MYHOST:8443/cas/serviceValidate";
  | casServerName="MYHOST:8443"
  | authType="FORM"
  |/>
  | 

If I enable CAS, the user is redirected to the CAS login page once they hit a 
URL with "/sec" in it.  In the logs, there is the following debug message:


  | 2008-12-01 22:29:25,140 DEBUG 
[org.jboss.portal.identity.sso.cas.CASAuthenticationValve] Checking if 
requested uri '/portal/sec/portal/default/registration/Registration+Request' 
matches secured url patterns: [/sec/, /authsec/, /auth/]
  | 

Why would it try to authenticate on "/sec" with CAS enabled, but not when it is 
disabled?

Thanks,
Ilia

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193599#4193599

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime (APR) on Jboss 4.2.3 GA

2008-12-01 Thread dejanmr
Thanks for the help, this was quick!

This solved the issue. I need APR for some SSL stuff.

However, I could not make it work before I copied all the files from 
jboss_home/bin/native folder to jboss_home/bin. Is this me doing something 
wrong? Is there any path or similar to set to make it work with .dlls in 
jboss_home/bin/native folder

According both to this answer and article on the page I have mentioned in 
initial post (tested on Windows) it should just work, without further movement 
of files.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193603#4193603

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193603
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: errors on JBoss startup - replacing Hypersonic DB with O

2008-12-01 Thread PeterJ
JBoss AS 5.0 uses JBOss Messaging, not JBossMQ, hence the reason you could not 
find deploy/jms/hsqldb-jdbc2-service.xml. Instead, replace 
deploy/messaging/hsqldb-persistence-service.xml with the appropriate file from 
docs/examples/jms.

And to modify Quartz, which provides the timing service, you need to download 
Quartz and do a bunch of configuration changes. See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142826

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193615#4193615

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193615
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring JBoss 4.0.x to connect to Oracle database using

2008-12-01 Thread clboucher
I have a client who has purchased an ATG stack, which will be running on JBoss 
4.0.5 AS.

The client's database connection requirement is via OS authentication. I have 
been informed by Oracle Professional Services that the only JDBC driver that 
supports OS authentication is the Oracle OCI driver.

How is JBoss configured with the OCI drive to use OS authentication?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193598#4193598

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193598
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Injecting a field value

2008-12-01 Thread [EMAIL PROTECTED]
I'd like to inject the value of a static constant field as a bean property 
value.  Is this possible to do?  Am I just not seeing the right tag/

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193608#4193608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to package process definition with jbpm application

2008-12-01 Thread aapthorp
I think I found the problem, I was using the JBPM classloader and not the 
default one.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193597#4193597

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Uncluster JBoss 4.0.5.GA

2008-12-01 Thread [EMAIL PROTECTED]
See bottom section of https://www.jboss.org/community/docs/DOC-10217 .

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193607#4193607

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Injecting a field value

2008-12-01 Thread [EMAIL PROTECTED]
...and, I also would need to know the programmatic equivalent as well.  Though 
I am starting to suspect that there is no support for this currently.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193614#4193614

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - jboss 4.2.3 is 200% slower than jboss 4.2.2

2008-12-01 Thread peiguo
Hi,

I have some EJB code exposed as web service. The sole functionality of that 
piece of EJB code is to act as a middle layer, between our c# client and 
outside (ECCNET) web services: in other words, my client calls my EJB web 
service, which subsequently calls ECCNET web service.

I was hoping that I might get some performance gain, simply by migrating my EJB 
code from 4.2.2 to 4.2.3, but I got the opposite. 4.2.3 took double the time to 
respond.

The testing was done with SoapUI as client, three runs against 4.2.2, and three 
runs against 4.2.3. Each run lasts 20 minutes, with SoapUI simulates 5 clients. 
Here is the result:

JBoss 4.2.2 avegare response time in ms: 7062, 7609, 7478
JBoss 4.2.3 average response time in ms: 18823, 16356, 14573

What's the issue? Anybody had similar issues?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193613#4193613

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can we save the jBPM process state in the database e

2008-12-01 Thread kukeltje
ok,  so it is a seam issue ;-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193602#4193602

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193602
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can we save the jBPM process state in the database e

2008-12-01 Thread kukeltje
just out of curiosity who put the drop-create there? Not something that 
came with jBPM out of the box did it?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193583#4193583

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193583
___
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: Perplexing error - meta-aware object error

2008-12-01 Thread mohitanchlia
I enabled hibernate trace and see the following, it looks like some state is 
not getting clear and it thinks that the connection thread is already in 
running state. Could someone help?

Here is the additional info in addition to the stack trace that I earlier posted

  | Caused by: org.jboss.util.NestedSQLException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(java.lang.IllegalStateException: Trying to change transaction TransactionImple 
< ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > 
in enlist!); - nested throwable: (org.jboss.resource.JBossResourceException: 
Could not enlist in transaction on entering meta-aware object!; - nested 
throwable: (java.lang.IllegalStateException: Trying to change transaction 
TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: 
ActionStatus.RUNNING > in enlist!))
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
  | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  | ... 49 more
  | Caused by: org.jboss.resource.JBossResourceException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(java.lang.IllegalStateException: Trying to change transaction TransactionImple 
< ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > 
in enlist!)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | ... 51 more
  | Caused by: java.lang.IllegalStateException: Trying to change transaction 
TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: 
ActionStatus.RUNNING > in enlist!
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:525)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
  | ... 55 more

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193576#4193576

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193576
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: errors on JBoss startup - replacing Hypersonic DB with O

2008-12-01 Thread ilangocal
"braca" wrote : Hi,
  | 
  | I removed hsqldb-ds.xml and replaced it with oracle-ds.xml. For this 
reason, I changed the following files by replacing DefaultDS to OracleDS (your 
Datasource name).
  | 
  | conf/login-config.xml
  | deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
  | deploy/ejb-deployer.xml
  | deploy/jms/hsqldb-jdbc-state-service.xml
  | deploy/jms/hsqldb-jdbc2-service.xml --> replace with 
oracle-jdbc2-service.xml from $JBOSS_HOME/examples/jms and use your Datasource 
name
  | 
  | braca
  | 

I still get the following errors:
12:10:27,641 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS F
  | 
  | OR DETAILS):
  | 
  |  
  | 
  | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual 
State}
  | 
  |  
  | 
  | jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.connectionfactory:service=ConnectionFactory
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.destination:name=DLQ,service=Queue
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.destination:name=DexCenterSubmitQueue,service=Queue
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.destination:name=DexPostProcessQueue,service=Queue
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.destination:name=DexSubmitQueueStation,service=Queue
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging.destination:name=ExpiryQueue,service=Queue
  | 
  |  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |  
  | 
  | jboss.messaging:service=PostOffice
  | 
  |  -> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 
'jboss.jgroups:service=ChannelFactory' **}
  | 
  |  
  | 
  |  
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  |  
  | 
  | jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 
'jboss.jgroups:service=ChannelFactory' **
  | 
  |  
  | 
  |  
  | 
  | 12:10:27,719 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-192.168.95.126-8080
  | 
  | 12:10:27,750 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on 
ajp-192.168.95.126-8009
  | 
  | 12:10:27,844 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: 
SVNTag=JBoss_5_0_0_CR2 date=200809171046)] Started
  | 
  | in 1m:56s:736ms

And after I put your suggestions to work, this is what I found:

 I am using JBoss 5 CR2. I was unable to find 
deploy/jms/hsqldb-jdbc2-service.xml. I have something called 
hsqlddb-persistence.xml instead.

I had to remove ejb2-timer-service.xml to make some errors go away.

thanks



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193572#4193572

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193572
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jboss-4.2.3 and jbossws-native-3.0.4 - ant tests failing

2008-12-01 Thread azhang1998
Thanks! Download junit-4.X.jar and copy into ${JBOSS_HOME}/lib/endorsed.
got no error for ant tests



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193562#4193562

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193562
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemoryError deploying an JSF 1.2 app (ADF11g) to JB

2008-12-01 Thread PeterJ
Put it back to 256m, and add -XX:+PrintHeapAtGC and post the last two or three 
heap printouts.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193559#4193559

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193559
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can we save the jBPM process state in the database e

2008-12-01 Thread mitabhushan
That was it!

  | I changed drop-create
  | to update
  | and it works!
  | 
  | 
Thanks a lot!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193557#4193557

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread bob.mcwhirter
"emuckenhuber" wrote : 
  | Ah now i finally understand what you mean :)
  | Yes there is a call of deployDir.getChildren before your JEP is getting 
deployed.
  | 

A-ha!

So, it seems that since things initialized from deployers/ can affect VFS 
handling, deployDir.getChildren() should wait until deployers/ is fully 
deployed.

Possible?

Thanks,

-Bob

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193556#4193556

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193556
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread emuckenhuber
"emuckenhuber" wrote : 
  | Yes there is a call of deployDir.getChildren before your JEP is getting 
deployed.
  | 

Actually this happens before anything else is deployed. We should be able to do 
that in a different way.
I'll see if we can put this still in GA.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193555#4193555

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193555
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Uncluster JBoss 4.0.5.GA

2008-12-01 Thread samiralmousawi
I am asked to "uncluster" JBoss installation. I know that I could just give a 
distinct name for the partition in the startup to avoid forming more than 1 
member in the cluster. But I asked actually to remove the cluster feature. We a 
production installation based on 'all' features. We use a copy of 'all'. How 
can I remove just the files (or other stuff) make the startup start JBoss as 
one single instance and turn off all cluster features.

I tried by removing the following files:
deploy/cluster-service.xml
deploy/deploy-hasingleton-service.xml
deploy/deploy.last/farm-service.xml

But that is causing some applications to fail to deploy for some class not 
found reasons

Any ideas?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193553#4193553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread emuckenhuber
"bob.mcwhirter" wrote : 
  | It's handing the child to my deployer at the right time, but it appears 
that the getChildren() against deploy/ is happening before JEP installation, so 
it doesn't know that myapp.rails should be handled as a JAR instead of as a 
normal filesystem file.
  | 
  | At least that's what I'm thinking is happening.  A hot deploy after AS is 
fully running, the getChildren() is smart enough to delegate to a JARHandler 
for myapp.rails.
  | 

Ah now i finally understand what you mean :)
Yes there is a call of deployDir.getChildren before your JEP is getting 
deployed.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193554#4193554

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can we save the jBPM process state in the database e

2008-12-01 Thread salaboy21
take a look at hibernate.cfg.xml file, where you can find the hibernate.hbm2ddl 
and check if is not in drop-create.
This will cause your behaviour...

let me know if this is not your problem.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193549#4193549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193549
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jboss-4.2.3 and jbossws-native-3.0.4 - ant tests failing

2008-12-01 Thread bmatheson
Modify ant.properties file in the jbossws-native-dist directory. If the 
ant.properties file is ant.properties.example you have to rename it to be just 
ant.properties.

for me I set it to

" jboss423.home=C:/Program Files/Jboss/jboss-4.2.3.GA "

then I went to the directory in my console and typed "ant deploy-jboss423"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193548#4193548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193548
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How can we save the jBPM process state in the database each

2008-12-01 Thread mitabhushan
jBPM Process state are deleted from the database each time the ear is 
redeployed or server is restarted.

How can I still keep the jBPM process info in the database while redeploy or 
server restart

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193547#4193547

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jboss-4.2.3 and jbossws-native-3.0.4 - ant tests failing

2008-12-01 Thread azhang1998
Please let me know how you can get the 'ant deploy-jboss42x', I got message 
like target not exist in the build.xml. thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193546#4193546

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193546
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread bob.mcwhirter
It's not so much my structure shows up too late, but rather the JEP portion 
shows up too late for something calling getChildren() on the deploy/ directory, 
it *seems*.

It's handing the child to my deployer at the right time, but it appears that 
the getChildren() against deploy/ is happening before JEP installation, so it 
doesn't know that myapp.rails should be handled as a JAR instead of as a normal 
filesystem file.

At least that's what I'm thinking is happening.  A hot deploy after AS is fully 
running, the getChildren() is smart enough to delegate to a JARHandler for 
myapp.rails.

Anyhow, I have not been able to figure it out yet.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193545#4193545

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193545
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemoryError deploying an JSF 1.2 app (ADF11g) to JB

2008-12-01 Thread nuadaComm
Hi Peter,

Here is what happens when I increase the PermGen to 512M

 
  JBoss Bootstrap Environment

  JBOSS_HOME: D:\aaaJBoss5\jboss-5.0.0.CR2

  JAVA: D:\beaJdev\jdk160_05\bin\java

  JAVA_OPTS: -Dprogram.name=run.bat -server -Xms512m -Xmx1024m -XX:MaxPermSize
512m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360
sun.rmi.dgc.server.gcInterval=360

  CLASSPATH: D:\aaaJBoss5\jboss-5.0.0.CR2\bin\run.jar

==

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 . . .

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193544#4193544

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193544
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread emuckenhuber
"[EMAIL PROTECTED]" wrote : 
  | The profile service that is loaded by default now is the 
conf/bootstrap/profile-repository.xml. It is doing a rebuild of the structure 
metadata when it loads admin edits, so that must be causing this.

It is only rebuilding the structure if you persisted managed object before, as 
i don't think you are doing that - i guess this is not the case.
But to be sure - there should be some debug information in the boot.log like 
this: (well they are there since today :)

  | DEBUG [AbstractAttachmentStore] No persisted attachment found for 
deployment ...
  | 

If i do a simple RailsStructure implements JarExtensionProvider, it is deployed 
before any file in the deploy directory is added to the mainDeployer.


  | DEBUG [DeployersImpl] (main) Fully Deployed 
vfsfile:/home/emuckenh/svn/as/jboss-5.0.0.GA/server/default/deployers/rails-jboss-beans.xml
  | 

So not really sure yet, why your Structure shows up too late.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193543#4193543

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemoryError deploying an JSF 1.2 app (ADF11g) to JB

2008-12-01 Thread PeterJ
Sounds like you are out of permgen. Try increasing MaxPermSize (though, frankly 
I am amazed that 256MB is not enough).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193540#4193540

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193540
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: jbosscache/jgroups memory leak

2008-12-01 Thread hgardner
Here is a follow up to my earlier post... 

After testing and playing with the configuration we found that repl_async w/out 
using the replication queue was causing the memory leak previously reported. 
The issue was resolved simply by changing jboss-cache-service.xml as follows:

< attribute name="CacheMode">REPL_ASYNC< /attribute>
< attribute name="UseReplQueue">true< /attribute>
< attribute name="ReplQueueInterval">100< /attribute>
< attribute name="ReplQueueMaxElements">1000< /attribute>

< attribute name="ClusterConfig">
   
   ...



  ...
  < /config>
< /attribute>

After this change where where able to process 750 events/second per node or 
1500 events/second across 2 nodes for 5+ days before stopping the test. Each 
event either inserts or deletes in 5 separate cache regions. Before making the 
configuration change we where only able to process this load for 15-20 hours 
before running out of memory.

Hopefully this is helpful to someone.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193538#4193538

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193538
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemoryError deploying an JSF 1.2 app (ADF11g) to JB

2008-12-01 Thread nuadaComm
Hi Peter,

I'm using JBoss 5.0 RC 2 (JDK 6) on Windows XP.
I'm deploying a JSF 1.2 compatible app written in Oracle JDeveloper using 
Oracle's ADF framework (JSF 1.2 compatible). I srarted by copying the required 
ADF libs to the JBoss \default\lib directory. I then dropped the exploded 
ear/war file into the \default \deploy directory. The auto-deploy starts ansd 
eventually I get the following -

2008-12-01 15:18:13,753 WARN  
[org.jboss.detailed.classloader.ClassLoaderManager] (main) Unexpected error 
during load of:oracle.security.jps.principals.JpsRole
java.lang.OutOfMemoryError

java.lang.NoClassDefFoundError: oracle/security/jps/principals/JpsRole

This class is contained in jps-api.jar, which I have already copied over to 
\default\lib.

 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193537#4193537

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Problems restarting cluster nodes - start up is interrup

2008-12-01 Thread [EMAIL PROTECTED]
Suggest you use 5.0.0.CR2; there have been improvements in the group formation 
logic since beta4.

If you still have issues, please post a description of exactly what you are 
seeing.

There's no way to prevent joining a group until all other services have 
started; a number of services depend on properly being part of the group.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193535#4193535

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193535
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Loading a external file using getResourceAsStream()

2008-12-01 Thread ad-rocha
Hello all,

I'd like to load a file located outside my RAR using getResourceAsStream(). Is 
it possible?

If not, is there a way to a access the file?

Thanks,

Andre

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193533#4193533

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193533
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Could not enlist in transaction on entering meta-aware o

2008-12-01 Thread vickyk
"alejosc" wrote : 
  | do you (or anybody) know something about?
Read the wiki which is pointed earlier properly, it is already there.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193531#4193531

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193531
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.4 on JBoss 5 HEAD

2008-12-01 Thread benjamin_j_hess
Are you any nearer to getting Portal (any version) to run on JBoss 5?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193530#4193530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: how to add connection properties to XA datasources?

2008-12-01 Thread vickyk
Try this
SetBigStringTryClob=true


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193529#4193529

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193529
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread [EMAIL PROTECTED]
This whole system seems weird to me.  Why does the MC not suspend deploying a 
file until there is a matching deployer for it?  That would seem to be more 
reasonable to me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193526#4193526

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193526
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: ConnectionManager Unbound before the dependant wars unde

2008-12-01 Thread vickyk
Couple of workarounds I can think of
1) Make changes in the DeploymentSorter, you can use the PrefixDeploymentSorter
http://www.jboss.org/community/docs/DOC-11683
2) Package the war+-ds.xml in the EAR and rely on strict deployment mode as 
explained over here
https://jira.jboss.org/jira/browse/JBAS-2904
You can try these options and make sure you discuss this at the deployers 
forums, this is not real jca related issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193525#4193525

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193525
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: JBoss Community DOC-10217 - advice on tomcat connector t

2008-12-01 Thread PeterJ
The problem with using recommendations is that often they are specific to the 
environment of the user. And sometimes the recommendations are not necessarily 
the best especially if the recommendation is based on a performance test. For 
example, one of the recommendations is for setting 
sun.rmi.dgc.client.gcInterval to 60 minutes. Why 60 minutes? Because the 
specjappserver performance test runs in under 60 minutes so the "recommended" 
setting prevents stray full GCs from being called during the test run.  But in 
a real life production environment, I would set it to once a day or once a week.

Having said that, the Tomcat documents, since they describe the settings in 
general terms, are better references on how the settings work.

(Examples below use the default values)

MinSpareThreads is the minimum number of unused threads that will be kept 
available to handle new incoming requests. Example: if 20 threads are actively 
in use, there will be at least 24 threads (20 in use + 4 spare).

A side effect is that this setting also dictates the initial number of threads 
created. Example: 0 threads in use, thus 4 threads. (I believe this is where 
the 'peak load' recommendation comes from - in a test such as specjappserver 
you can easily calculate the peak load and thus set minsparethreads to create 
that number of threads as part of system startup.)

At some point the system might get busy and you end up with, say. 200 threads. 
Then everyone goes to lunch and only 20 threads are busy. When the idle thread 
timeout is reached, the thread count will be reduced to 70 (20 active plus 50 
spare).

Having said all of this, my testing has shown that Tomcat 6, and thus the 
versions of JBoss Web Server based on it, while it still accepts and stores 
these values no longer uses they to manage the threads. The min and max idle 
thread values are no longer checked in the source code (at least, it is no 
longer where it used to be checked and I haven't found any alternate locations 
where they are checked), and the observed behavior appears to validate the 
claim that they are no longer used.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193524#4193524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: How to set HSQLDB datasource in JBoss

2008-12-01 Thread vickyk
"RaviCKota" wrote : java.net.BindException: Address already in use: JVM_Bind
at.

Use netstat command to figure out what is running on port 9001, the port is 
already running and thus you get JVM Bind error.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193522#4193522

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193522
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread bob.mcwhirter
Scott--

Thanks for the response.  Is this something fixable?  By GA?

Or is there some work-around you can think of?

Thanks,

-Bob

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193520#4193520

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193520
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemoryError deploying an JSF 1.2 app (ADF11g) to JB

2008-12-01 Thread PeterJ
There are many possible reasons for getting an out of memory error. 
Unfortunately, without seeing the full error message, I cannot begin to guess 
what memory you are out of. Please post full stack trace for the exception.

Also, what operating system, what version of JBoss AS, what version of JDK, and 
how much RAM do you have (having free disk space is meaningless).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193517#4193517

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193517
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Apache Portable Runtime (APR) on Jboss 4.2.3 GA

2008-12-01 Thread PeterJ
First, the warning "The Apache Tomcat Native library which allows optimal 
performance in production environments was not found" can be ignored - the app 
server will work just fine without it.

Second, if you want to load APR, then get JBoss Native from 
http://www.jboss.org/jbossweb/downloads/jboss-native-archive. Download the 
2.0.3 version*. You can unzip it directly into the jboss_home directory, but I 
recommend instead unzipping it to a temporary location and then copying the 
files over - the zip file contains a 'bin' directory, copy the contents of that 
directory to jboss_home/bin.

*NOTE: The 2.0.3 version is the last version that places files in the location 
expected by the run scripts in 4.2.x. You can probably use a later version of 
JBoss Native, but you would have to modify the run scripts to change the 
library path.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193516#4193516

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193516
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Problems restarting cluster nodes - start up is interrup

2008-12-01 Thread Danives
Thanks for the reply

We are using JBboss 5.0.0. Beta4, and JGroups 2.6.1

Cheers,

Dan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193515#4193515

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193515
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: creating message queues programmatically JMX

2008-12-01 Thread jmesnil
"ncaralicea" wrote : 
  | i want to create the jmx administrative client able to create this queue
  | 

use ServerPeer MBean to create the queue by calling its deployQueue() method.

jeff

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193513#4193513

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193513
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread [EMAIL PROTECTED]
The hotdeployment scanner initialization has been moved to 
deploy/hdscanner-jboss-beans.xml, so it cannot be deploying anything before the 
deployers are initialized. 

The profile service that is loaded by default now is the 
conf/bootstrap/profile-repository.xml. It is doing a rebuild of the structure 
metadata when it loads admin edits, so that must be causing this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193511#4193511

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193511
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: JMX connector client exited without closing connection

2008-12-01 Thread PeterJ
Looks like your code is not closing the connection in this instance. You need 
to fix your code to close the connection. (Sorry, but it is hard to be more 
precise without seeing your code.)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193510#4193510

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193510
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - creating message queues programmatically JMX

2008-12-01 Thread ncaralicea
Hi all,
I tried to fiend a way to create a a MBean queue by using JMX.
Is there someone who has already done it?
So, having given the following:

/queue/mytest
Domain Name:jboss.messaging.destination
service:Queue
name:   mytest
MBean Java Class:   org.jboss.mx.modelmbean.XMBean

i want to create the jmx administrative client able to create this queue

Thanks alot

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193509#4193509

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193509
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - OutOfMemoryError deploying an JSF 1.2 app (ADF11g) to JBoss

2008-12-01 Thread nuadaComm
Salve,

Firstly, I'm new to JBoss so excuse the lack of knowledge!
 
I'm trying to deploy my jsf app to JBoss and hit an OutOfMemoryError.
I changed the default settings in run.bat to 
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:MaxPermSize=256m

I have GBs of free space on my C: and D: disks, but I still hit the out of 
memory error.

Any ideas?
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193504#4193504

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193504
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - jboss-4.2.3 and jbossws-native-3.0.4 - ant tests failing

2008-12-01 Thread bmatheson
I'm looking for a resource of information or some sort of solution to this. 

I run the ant deploy of the web services and it executes successfully. Then I 
run the ant tests, they fail with the message "[junit] [Fatal Error] :-1:-1: 
Premature end of file.". I've tried both native-3.0.2 and 3.0.4. I'm not sure 
if this is a config issue or a dependency issue.

Any help is appreciated.

-Brad

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193503#4193503

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193503
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Apache Portable Runtime (APR) on Jboss 4.2.3 GA

2008-12-01 Thread dejanmr
Hi,

Can someone please recommend related me documentation on similar, as I could 
not find any reference.

More over, I have find either documentation about it working out of box(Jboss 
5.0?)?! Or, not enough detailed description on:
http://talismoon.net/docs/apr.html

Good description I could find on:

http://www.jboss.org/community/docs/DOC-9912 

But I can not apply it directly to Windows installation. 

More over, I am not yet sure which is client target environment. I need to have 
"official" instructions how to enable it.

Any kind of link/resource/advice how to acheave this would be very helpful. 

Btw. Currently, I get: The Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path 
...

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193502#4193502

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193502
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and security role references

2008-12-01 Thread Wolfgang Knauf
It should be no problem to merge annotations and ejb-jar.xml.

Best regards

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193501#4193501

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193501
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Problems restarting cluster nodes - start up is interrup

2008-12-01 Thread [EMAIL PROTECTED]
What AS release and what version of JGroups (if you changed the default)?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193500#4193500

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193500
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: How to set HSQLDB datasource in JBoss

2008-12-01 Thread RaviCKota
Would some one please look into this and correct me, if there is anything I'm 
missing. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193495#4193495

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193495
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Multiple instances of same application in JBOSS

2008-12-01 Thread Kooper
Hi, I have application and want to have 2 instances of it on JBOSS, but when 
working with them JBOSS use classloader pool and works correctly only with the 
application which was started first and when trying to work with another 
instance it takes all settings of the first and throws exceptions. I read that 
JBOSS uses classloader pool and tried to isolate each deployment of 
applications as writen at http://www.jboss.org/community/docs/DOC-9288
But it throws Exception when adding jboss-app.xml file to META-INF directory.
Here is the Exception:

17:06:16,108 ERROR [[/Myapp]] Exception sending context initialized event to 
listener instance of class org.jboss.web.jsf.integration.config.JBos
sJSFConfigureListener
java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory cannot be cast 
to javax.xml.parsers.SAXParserFactory
at 
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:128)
at 
com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFactory(ConfigureListener.java:2048)
at 
com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:2022)
at 
com.sun.faces.config.ConfigureListener$WebXmlProcessor.(ConfigureListener.java:1996)
at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:244)
at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocati

[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread bob.mcwhirter
I may be wrong in that analysis, looking further.  I'd assumed conf/ is 
recursively loaded. 

bootstrap.xml does not directly reference the bootstrap/profile.xml any more.  
There's a bootstrap-minimal.xml and bootstrap-norepo.xml that do reference it 
though.

If the VFSDeploymentScanner isn't actually being used (I'll check in my logs in 
a minute), then I don't know what the problem is.  But I'm still seeing the 
problem.

And something is causing deploy/myapp.rails to go through structure recognition 
before HDScanner does its first run.  Structure recognition is coming after my 
JEP installation.

But I'm still ending up with a FileHandler'd archive if myapp.rails is in 
deploy/ at boot time, but getting a correctly handled vfszip if HDScanner picks 
it up post-boot.

I'll keep digging.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193484#4193484

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193484
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread alesj
"bob.mcwhirter" wrote : 
  | It's still a bootstrap scanner iterating deploy/'s children before 
deployers/ has been fully install, I think.  Having scan() wait at a barrier of 
some sort until the DEPLOYERS phase is complete would seem a possible solution.
  | 
So, if I understand this correctly,
we have another 1-time-only boot scan.
And it's before DEPLOYERS phase?

I need to check this, as it's clearly wrong,
for obvious reasons - for one this suffix case.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193478#4193478

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193478
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Alternative JAR extensions

2008-12-01 Thread bob.mcwhirter
Okay, I gave this morning's nightly build a try, and I'm still seeing a timing 
issue between my JEP and the deployment scan.  But the problem has moved.

But first, congrats on making the nightlies boot up much much faster than CR2 
even.  That's very pleasant.

Now my analysis...

The HDScanner in deploy/ helps, as it doesn't seem to trip over the .rails 
archive before it's recognizable as a vfszip.

But there's still conf/bootstrap/profile.xml setting up and starting a 
VFSDeploymentScanner, which has inherited the scanning-deploy-too-soon issue I 
saw the other day with HDScanner.

This non-hotdeploy, boot-time scan grabs myapp.rails with a FileHandler before 
my deployer has had its JEP triggered.

It's still a bootstrap scanner iterating deploy/'s children before deployers/ 
has been fully install, I think.  Having scan() wait at a barrier of some sort 
until the DEPLOYERS phase is complete would seem a possible solution.

Thoughts?

-Bob

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193469#4193469

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193469
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: how to dynamically override a swimlane at the time of ex

2008-12-01 Thread kukeltje
anonymous wrote : will JBPM allow that? If yes, how? And if not, why? 
- Yes
- By using the api, see the api docs
- N/A

Soon enough? To be honest, normally this would result in me not replying at 
allbut I'm in a very good mood

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193437#4193437

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193437
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Where can I get underlying JBossCache from within JMX

2008-12-01 Thread jorgemoralespou_2
I'll go for the JNDI option, as the JMX Wrapper is documented to disappear in 
future versions.

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193423#4193423

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193423
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: ExceptionHandler / changes since 3.2GA

2008-12-01 Thread [EMAIL PROTECTED]
You are right. It is really funny. I tried exception handler which throws 
exception and this exception was caught by this handler again causing infinite 
loop. I use jBPM 3.2.2.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193420#4193420

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193420
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - how to dynamically override a swimlane at the time of execut

2008-12-01 Thread sumit.jbpm
Elaboration:- Say suppose I am defining a processdefinition.xml which contains 
only one task-node (containg only one task). I have defined a swimlane (using 
actor-id tag like: actor-id="user1").
Now at the time of execution (once the processinstance is getting created) if I 
want to override the swimlane with "user2", will JBPM allow that? If yes, how? 
And if not, why?

What I tried:-
ProcessDefinition.xml -->

  | 
  | 
  |
  |   
  |
  |
  |   
  |
  |
  |   
  | 
  | 
  | 
  |   
  |   
  |   
  |
  |
  | 

code snippet contained in ActorSwimlaneHandler.java -->
.
  | long taskId = executionContext.getTaskInstance().getId();
  | TaskInstance ti = 
executionContext.getJbpmContext().getTaskInstance(taskId);
  | SwimlaneInstance si = 
executionContext.getTaskInstance().getSwimlaneInstance();
  | si.setActorId("user2");
  | ti.setSwimlaneInstance(si);
  | executionContext.getJbpmContext().save(ti);
  | .

code snippet being used to createProcessInstance -->
... 
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | ProcessDefinition processDefinition = 
graphSession.findLatestProcessDefinition(processDefinitionName);
  | ProcessInstance processInstance = new 
ProcessInstance(processDefinition);
  | processInstanceID = processInstance.getId();
  | jbpmContext.save(processInstance);
  | 
  | // Initiate the flow
  | Token token = processInstance.getRootToken();
  | jbpmContext.save(token);
  | token.signal();
  | jbpmContext.close();
  | ...
  | 

Please reply soon. If you have any approximate idea then also share that with 
me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193412#4193412

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193412
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Glassfish interopepability. Invoking ws-security service

2008-12-01 Thread Lauri
I've tried to install JBossWS-metro. But still no luck
By default application fails with 
Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: 
org.jboss.ws.core.jaxws.spi.ProviderImpl

If i add jbossws-client.jar  or  jbossws-metro-client.jar  to .war servlet 
fails with 
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: 
WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory 
implementation.: java.lang.ClassNotFoundException: 
org.jboss.ws.tools.wsdl.JBossWSDLFactoryImpl


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193389#4193389

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193389
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - JndiLoginInitialContextFactory in JBoss 5.0.0.CR2

2008-12-01 Thread bdreher
In JBoss 4.2.x I was using 
org.jboss.security.jndi.JndiLoginInitialContextFactory as initial context 
factory to define in an application client module the name of the login user 
and password. By this the login user id and password were transferred to the 
DatabaseServerLoginModule and could there be verified and the corresponding 
roles could be fetched.
The transfer of security principal and credentials to the 
DatabaseServerLoginModule does no longer work in JBoss 5.0.0.CR2.

Part of the relavent code:

Properties props = new Properties();
  | props.setProperty(Context.SECURITY_PRINCIPAL, "admin");
  | props.setProperty(Context.SECURITY_CREDENTIALS, "admin");
  | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  | props.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
  | props.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
  | props.setProperty("j2ee.clientName", "ReiseshopTestClient");
  | 
  | Context ctx = new InitialContext(props);
  | session = (ReiseSessionRemote) ctx.lookup("ReiseSessionBean");
Is it possible to fix this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193375#4193375

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193375
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Problems restarting cluster nodes - start up is interrup

2008-12-01 Thread Danives
We are still experiencing this issue, and have been unable to find any more 
information regarding it. Is there any advice we coudl take when looking at 
this?

Is there a way we could set maybe a time flag on one of the nodes, so that it 
waits a certain amount of time (on noticing another node) before sending any 
requests to it?

Thank-you

Dan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193358#4193358

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193358
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Default eviction queue not working - any form of 'catch-

2008-12-01 Thread Danives
We have manually defined our regions in this file - of which there were 50 
altogether. We will attempt to optimise this solution by editing our code so 
that we can define multiple entities in different regions - as placing 50 
entries in the file has led to us not being able to start up JBoss every now 
and then - it seems it times out and throws an 'Unsupported Operation' 
exception.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193356#4193356

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!

2008-12-01 Thread nickarls
More specifically, dumping the reponse headers gives


  | null:
  |HTTP/1.1 400 No Host matches server name thehost.thedomain.com
  | Transfer-Encoding:
  |chunked
  | Date:
  |Mon, 01 Dec 2008 12:11:43 GMT
  | Connection:
  |close
  | Server:
  |Apache-Coyote/1.1
  | 

ping thehost.thedomain.com does lead back to the correct host

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193354#4193354

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193354
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Where can I get underlying JBossCache from within JMX

2008-12-01 Thread [EMAIL PROTECTED]
What gets registered in JMX was changed in 2.x.  The cache itself is no longer 
in JMX, since JMX is meant to be for reporting only, not a service repository. 
Register to and lookup from JNDI if an service repo is what you want.

Alternately, there is a legacy JMX wrapper which did give you access to the 
cache service, since 2.x as well - look at the Javadocs of this wrapper for 
details.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193353#4193353

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Glassfish interopepability. Invoking ws-security service dep

2008-12-01 Thread Lauri
Hi.

There is a glassfish server running a webservice protected by Username token.
Somehow it should be invoked from a servlet running in jboss 4.2.3 server. 

After couple of attempts to invoke the service I've ended up with exception
org.jboss.ws.WSException: Policy not supported! 
#ReceptionHelperPortBindingPolicy

You can find policy part of wsdl definition below.

Glassfish community has lots of "simple" examples where one should add file 
"webservices-rt.jar" to classpath in order to run example. This file is bundled 
with glassfish distribution. This option works well for standalone 
applications, but not when runnig application inside jboss or tomcat.

Please share ideas how it can be done or where could I have look for a clue.

Here is code to invoke ws

  | ...
  | // url points to glassfish server
  | URL url = new URL("http://localhost:8080/ws/Helper?wsdl";);
  | QName qn = new QName("http://ws.reception/";, "Helper");
  | Service s = Service.create(url, qn); // this is the line where "Policy not 
supported" exception is thrown
  | 




  | http://schemas.xmlsoap.org/ws/2004/09/policy"; 
wsu:Id="ReceptionHelperPortBindingPolicy">
  | 
  | 
  | http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
  | 
  | 
  | 
  | 

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
  | 
  | 
  | 
  | 

  | 
  | 
  | 
  | 
  | http://www.w3.org/2006/05/addressing/wsdl";>
  | 
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193348#4193348

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193348
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to use urlrewrite in JBoss

2008-12-01 Thread sandy.kanase
Hi,

We are using JBoss 4.2.2 version as a WebServer.We are having two DNS entires 
for our J2EE based application.
Currently we have configured our application for 1st DNS entry.

I want to redirect the second dns to the first working url.
I have added the valve in the server.xml and added rewrite.properties file 
under the conf/jboss.web folder.

example. Our application is having 2 dns entries 
1)abc.com and 2) xyz.com

I want to redirect abc.com to xyz.com

Kindly help me out.

Best Wishes,
Sandy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193334#4193334

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193334
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to package process definition with jbpm application

2008-12-01 Thread kukeltje
if it is in your jar it is on the classpath so it can be deployed

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=419#419

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=419
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: HTTP 400. Bad request! Sit! Stay!

2008-12-01 Thread nickarls
It turns out that telnetting to the DNS name port 80 and doing a "GET /" 
returns the page just fine.

Is it some conspiracy amongst all browsers to consider a response as bad if it 
comes from a hostname it didn't expect? And if so, what is the remedy? Some 
alias or virtual host in JBoss?

Thanks in advance,
  - Nik

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193331#4193331

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193331
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: 3.2.3 GA installation issues

2008-12-01 Thread kukeltje
3.2.3? 3.3 you probably mean... it is officially only tested on those servers 
but 4.2.GA and 4.2.1 might also work without a problem, as might tomcat 5, 6, 
WLS, Oracle, Websphere etc... it is just not tested on those servers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193328#4193328

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >