[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a

2009-03-31 Thread jaikiran
Thanks for posting this - it will atleast give someone an idea to where/what to 
look for while debugging similar issues.


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

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


[jboss-user] [EJB/JBoss] - Re: Help: how to look up ejb3 deployed in ear using jndi

2009-03-31 Thread jaikiran
When deployed in an ear, the default jndi name will be of the form:

EARName/BeanName/local

or 

EARName/BeanName/remote

So in this case, you should use taas/ServiceProviderDaoImpl/local

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JBossXacml

2009-03-31 Thread karink
Hi Anil,
thanks for this quick fix, I'll test it
Regards
Karin

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: True Structure of Cache Node?

2009-03-31 Thread atifoxon
Can anyone comment on [A] and other strategies. Is [A] a recommended approach 
and is not wastage of node maps?

Anyone from JBoss Cache developer can comment on it? As it is primary concern 
when building cache



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

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


[jboss-user] [JBossWS] - Re: WS-Addressing in native stack

2009-03-31 Thread mobaxkrs
I downloaded src distribution of jbossws 3.1.0 
and is working on sample from native-tests. 
org.jboss.test.ws.jaxws.samples.ws=addressing package. 

It is written as test case, which files are at server side and which files are 
to be at client end. 

the Clienthandler.java is reference to statefulendpointImpl.IQDN variable and 
should it be at server side?


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

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


[jboss-user] [Beginners Corner] - Slimming JBoss...

2009-03-31 Thread crispwind
Hi All,

I was trying to remove unnecessary services from jboss by refering to the 
following article.
 http://www.jboss.org/community/docs/DOC-10177

Every step in this article have a linked document on how to do it.
But from Step 13, it is mentioned that what you should remove but it is not 
linked to any document explaining what all files to remove/edit so as to 
disable a service.

Can anyone help me on this?

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

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


[jboss-user] [JBoss Cache: Core Edition] - how to run the program in multiple instance way

2009-03-31 Thread chandankumar50
I hav developed a simple program which is updating the node value to whatever 
user gives the input.
I want to run the multiple instance of the same program so that if one instance 
modifies the value the other instance of the same program should get the 
updated value.
What needs to be done extra apart from writing the code? Will I have to use app 
server?
Currently I am running many instance of the program from eclipse but other 
instance are not getting the updated value.
Thanks in advance.
Looking forward for yours input.

chandan

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JPA/Hibernate JBC usage

2009-03-31 Thread zeravlai
Thanks Brian,

I'm testing with these two properties in the persistence.xml file.
Even if use_query_cache is set to true, you need to set @QueryHint to see query 
results in the cache, though, yes, entities are cached.

Anyway, the key point I was missing is the PK. Entities are cached and will 
also be retrieved from the cache when searched by PK.

However, still confusing the behaviour of the statistics, since cache hits is 
always zero and so it is Hit/Miss ratio. Cache misses seems to be working fine.


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

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


[jboss-user] [EJB/JBoss] - Help: how to look up ejb3 deployed in ear using jndi

2009-03-31 Thread zzuli
Hi,everyone:
I'm trying to use jndi to look up ejb3 depoyed in ear-file. The structure 
of ear file is like: taas.ear\app.jar , the "app.jar" is where the ejbs are 
deployed.
If i write code:
jndiContext.lookup("ServiceProviderDaoImpl/local");

There will be exception:
javax.naming.NameNotFoundException: ServiceProviderDaoImpl not bound

However, if i deploy the ejbs directly in a app.jar which is not in a 
ear-file, then same same code will work fine.

   I cannot figure out how to write the correct code to look up the ejbs.
   I use jboss 5.0.1GA.
   Could anyone help me? Thanks a lot. 

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

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


[jboss-user] [JBoss Messaging] - Re: JMS Topic Creation in JBoss 5 AS

2009-03-31 Thread gaohoward
Can you please also post the question to the AS forum? I think this is more 
like a AS question.


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

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


[jboss-user] [Clustering/JBoss] - Re: Node's joining the wrong partition

2009-03-31 Thread bstansbe...@jboss.com
Please post the contents of your 
server/all/deploy/messaging/xxx-persistence-service.xml file (where xxx depends 
on the database you are using).

Also, when you start the two nodes you should pass different multicast 
addresses to each via the -u switch.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JBossXacml

2009-03-31 Thread anil.saldh...@jboss.com
http://anil-identity.blogspot.com/2009/03/jbossxacml-203cr5-released.html

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

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


[jboss-user] [Clustering/JBoss] - Re: Node's joining the wrong partition

2009-03-31 Thread meetoblivion
and now that i'm thinking about it a bit more, it seems like it's more of a 
jgroups problem - even though the servers are on different partitions (just 
realized the cluster was showing 1 on each), the jms is showing 2 nodes.

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

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


[jboss-user] [Clustering/JBoss] - Node's joining the wrong partition

2009-03-31 Thread meetoblivion
So I'm trying to get a hand on this cool new technology called "clustering."  
ON my local machine I have 2 installs of jboss as 5.0.1 running.  I can get 
them to work together on the same partition, but when I put them in different 
partitions they're still working together.  I have the load balancer still 
pointing to both of them, are these results because of that?  Here's node 2..

anonymous wrote : 
  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /opt/jboss/jboss-5.0.1.GA-2
  | 
  |   JAVA: java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m 
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true
  | 
  |   CLASSPATH: /opt/jboss/jboss-5.0.1.GA-2/bin/run.jar
  | 
  | =
  | 
  | 20:04:40,667 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 20:04:40,668 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA 
(build: SVNTag=JBoss_5_0_1_GA date=200902232048)
  | 20:04:40,668 INFO  [ServerImpl] Bootstrap URL: null
  | 20:04:40,668 INFO  [ServerImpl] Home Dir: /opt/jboss/jboss-5.0.1.GA-2
  | 20:04:40,669 INFO  [ServerImpl] Home URL: file:/opt/jboss/jboss-5.0.1.GA-2/
  | 20:04:40,669 INFO  [ServerImpl] Library URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/lib/
  | 20:04:40,669 INFO  [ServerImpl] Patch URL: null
  | 20:04:40,669 INFO  [ServerImpl] Common Base URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/common/
  | 20:04:40,670 INFO  [ServerImpl] Common Library URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/common/lib/
  | 20:04:40,670 INFO  [ServerImpl] Server Name: all
  | 20:04:40,670 INFO  [ServerImpl] Server Base Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server
  | 20:04:40,670 INFO  [ServerImpl] Server Base URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/server/
  | 20:04:40,670 INFO  [ServerImpl] Server Config URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/server/all/conf/
  | 20:04:40,670 INFO  [ServerImpl] Server Home Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all
  | 20:04:40,670 INFO  [ServerImpl] Server Home URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/server/all/
  | 20:04:40,670 INFO  [ServerImpl] Server Data Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all/data
  | 20:04:40,671 INFO  [ServerImpl] Server Library URL: 
file:/opt/jboss/jboss-5.0.1.GA-2/server/all/lib/
  | 20:04:40,671 INFO  [ServerImpl] Server Log Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all/log
  | 20:04:40,671 INFO  [ServerImpl] Server Native Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all/tmp/native
  | 20:04:40,671 INFO  [ServerImpl] Server Temp Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all/tmp
  | 20:04:40,671 INFO  [ServerImpl] Server Temp Deploy Dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all/tmp/deploy
  | 20:04:41,258 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/opt/jboss/jboss-5.0.1.GA-2/server/all/conf/bootstrap.xml
  | 20:04:41,779 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.CombinedVFSCache]
  | 20:04:41,782 INFO  [VFSCacheFactory] Using VFSCache 
[CombinedVFSCache[real-cache: null]]
  | 20:04:42,095 INFO  [CopyMechanism] VFS temp dir: 
/opt/jboss/jboss-5.0.1.GA-2/server/all/tmp
  | 20:04:42,096 INFO  [ZipEntryContext] VFS force nested jars copy-mode is 
enabled.
  | 20:04:43,407 INFO  [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc.
  | 20:04:43,407 INFO  [ServerInfo] Java Runtime: IcedTea6 1.4 
(suse-24.3.1-x86_64) Runtime Environment (build 1.6.0_0-b14)
  | 20:04:43,407 INFO  [ServerInfo] Java VM: OpenJDK 64-Bit Server VM 
14.0-b08,Sun Microsystems Inc.
  | 20:04:43,408 INFO  [ServerInfo] OS-System: Linux 2.6.27.19-3.2-default,amd64
  | 20:04:43,450 INFO  [JMXKernel] Legacy JMX core initialized
  | 20:04:46,034 INFO  [ProfileServiceImpl] Loading profile: all from: 
org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@b83d59c(root=/opt/jboss/jboss-5.0.1.GA-2/server,
 
key=org.jboss.profileservice.spi.profile...@b8292623[domain=default,server=default,name=all])
  | 20:04:46,036 INFO  [ProfileImpl] Using 
repository:org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@b83d59c(root=/opt/jboss/jboss-5.0.1.GA-2/server,
 
key=org.jboss.profileservice.spi.profile...@b8292623[domain=default,server=default,name=all])
  | 20:04:46,036 INFO  [ProfileServiceImpl] Loaded profile: 
profilei...@763861e6{key=org.jboss.profileservice.spi.profilekey@b8292623[domain=default,server=default,name=all]}
  | 20:04:48,078 INFO  [WebService] Using RMI server codebase: 
http://ja-laptop-lnx.ja:8083/
  | 20:04:54,194 INFO  [NativeServerConfig] JBoss Web Services - Stack Native 
Core
  | 20:04:54,194 INFO  [NativeServerConfig] 3.0.5.GA
  | 20:05:03,402 INFO  [CorbaNamingService] CORBA Naming Started
  | 20:05:07,028 INFO  [JMXConnectorServerService] JMX Connector server: 
service:jmx:rmi://

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS EAP Install

2009-03-31 Thread leeb821
I'm not at work right now, but it's very close to the zip you list (except that 
it is a SRC distribution).

Here's the problem - After I build in the BUILD and TESTSUITE directories, the 
directory structure is as you say with the run.sh where you say. The contents 
of the run.sh contains references to other files in:

"downloaded-src-dir/jboss-as/bin" Which Does NOT Exist.

Also "downloaded-src-dir/jboss-as/" is one half of the source distribution 
while: "downloaded-src-dir/seam" is the other half.

What is and how do I build Seam?

Thanks for your help in advance..

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

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


[jboss-user] [JBoss jBPM] - Re: Error handling in CommandServiceBean.execute

2009-03-31 Thread boercher
If this was not clear: The bug in my program caused a exception on 
command.execute(jbpmContext) which I only could see by debugging the 
CommandServiceBean since the exception from jbpmContext.close() hid the 
original one.

Corrrecting my proposal I'ld like to suggest that the exception from the 
finally block should only be ignored (i.e. only lead to an error message) if an 
exception has occured before.

Volker

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JBossXACML Latest Release

2009-03-31 Thread anil.saldh...@jboss.com
http://anil-identity.blogspot.com/2009/03/jbossxacml-203cr5-released.html

Version: 2.0.3.CR5

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

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


[jboss-user] [JCA/JBoss] - Reauthenticated Connection

2009-03-31 Thread eartromick
Is there a way to configure a oracle data source to be a reauthenticated 
connection.  What I need to be able to do is have various hibernate session 
factories each mapping to a separate username/password and schema use a common 
data source which has a fixed number of pooled connections from which it draws 
from.  The session factories are created on the fly from property files read in 
at start up time. 

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

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


[jboss-user] [JCA/JBoss] - Reauthenticated Connection

2009-03-31 Thread eartromick
Is there a way to configure a oracle data source to be a reauthenticated 
connection.  What I need to be able to do is have various hibernate session 
factories each mapping to a separate username/password and schema use a common 
data source which has a fixed number of pooled connections from which it draws 
from.  The session factories are created on the fly from property files read in 
at start up time. 

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Security context null when logging out from Jboss

2009-03-31 Thread kj_newbie

I think we kind of fixed it. Got the clue from the security FAQ # 3 
(http://www.jboss.org/community/docs/DOC-12198)

Our code creates its own login-config.xml and that one was missing the 
following from the ClientLoginModule

  true

After adding this to the file, the exception is not thrown anymore.

Can anyone explain what exactly this option does or where can I find more info 
on it.
I will also be reading a little more on JBoss 5.0.0 security.

Something that's interesting is that the custom login-config.xml file created 
by our tool, works fine wirh JBoss 4.2.3 (without adding the above lines). Only 
throws exception with JBoss 5.0.0.

Thanks


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: IllegalStateException(s) on logout

2009-03-31 Thread kj_newbie
Wolfgang, 

Thanks for your responses.
I think we kind of fixed it. Got the clue from the security FAQ # 3 
(http://www.jboss.org/community/docs/DOC-12198)

Our code creates its own login-config.xml and that one was missing the 
following from the ClientLoginModule

  true

After adding this to the file, the exception is not thrown anymore.

Would you be able to explain what exactly this option does or where can I find 
more info on it.
I will also be reading a little more on JBoss 5.0.0 security.

Something that's interesting is that the custom login-config.xml file created 
by our tool, works fine wirh JBoss 4.2.3 (without adding the above lines). Only 
throws exception with JBoss 5.0.0.

Thanks


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

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


[jboss-user] [JBoss Tools (users)] - JBoss Tools 3 / Eclipse 3.4.2 installation error

2009-03-31 Thread zurchman
Hi

You might want to clean up the 3.0.0 GA installation pages.

There seems to be some ambiguity concerning the location of the stable and 
development builds on this page:

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

I was not able to download 3.0.0.GA in Eclipse 3.2.4 using the Update Manager.

It might have been due to copying a tailing slash / on the stable download link 
on this page:

http://www.jboss.org/tools/download

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

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


[jboss-user] [Beginners Corner] - Re: Ports JBoss Portal uses

2009-03-31 Thread thegman
Just to add, I did a grep of all xml files for '4851' under the JBOSS_HOME and 
it found nada.

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

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


[jboss-user] [Beginners Corner] - Re: Ports JBoss Portal uses

2009-03-31 Thread thegman
Hello,

Thank you for your reply.

I did read that article but I wasn't sure it applied to me because I cannot see 
any reference to port 4851 in there. I'm having difficulty noticing any 
"ranges" in there either.

If I was able to identify what this port is even used for then perhaps I can 
identify why portal is trying to connect to it, but it seems to be in the 
"unassigned" range from what I see online.

Any ideas?



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

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


[jboss-user] [JBoss jBPM] - Error handling in CommandServiceBean.execute

2009-03-31 Thread boercher
Hi,

a little bug in my test program in which I tried remote command execution took 
me quite a while to analyse. The problem was that instead of an error message 
indicating the real error I got this one:

anonymous wrote :   ERROR [org.jboss.ejb.plugins.LogInterceptor] 
(WorkerThread#0[127.0.0.1:1264])
  | RuntimeException in method: public abstract java.lang.Object
  | org.jbpm.ejb.RemoteCommandService.execute(org.jbpm.command.Command)
  |  throws java.rmi.RemoteException:
  |   org.hibernate.exception.GenericJDBCException: Cannot open connection
  | ...
  | at org.jbpm.JbpmContext.close(JbpmContext.java:129)
  | at 
org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:124)

The reason for the misleading error message was a missing try-catch block in 
CommandServiceBean.execute (in jbpm-3.2.6.SP1):

public Object execute(Command command) {
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | try {
  | log.debug("executing " + command);
  | return command.execute(jbpmContext);
  | }
  | catch (RuntimeException e) {
  | sessionContext.setRollbackOnly();
  | throw e;
  | }
  | catch (Exception e) {
  | sessionContext.setRollbackOnly();
  | throw new JbpmException("failed to execute " + command, e);
  | }
  | finally {
  | jbpmContext.close();
  | }
  | }
  | 
The finally block performs some non-trivial cleanup-operations that easily may 
throw exceptions in case of a preceding error. Errors in command execution 
would be much easier to spot if the finally block would be coded like that:

finally {
  | try {
  | jbpmContext.close();
  | }
  | catch (Throwable t) {
  | log.error("error on context close", t);
  | }
  | }
  | 

but development on 3.2 has been stopped, right?

Regards,
Volker

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: True Structure of Cache Node?

2009-03-31 Thread genman

Although it may seem strange to store a single value in a Node, fortunately, 
JBoss Cache is designed to be somewhat efficient at storing a single name-value 
pair in a Node instance. So try and stick with [1].

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS EAP Install

2009-03-31 Thread PeterJ
What is the exact name of the EAP file you downloaded? It should have been 
something like this: jboss-eap-4.3.0.GA-1.ep1.8.zip (wow, mine's a year old, 
I'll should download another)

This is a binary download, no need to compile anything.

If you downloaded and built the source, then JBOSS_HOME is at 
downloaded-src-dir/jboss-as/build/output/jboss-xxx, (where xxx is the evrsion 
number), and the bin directory under there contains run.sh.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBOSS EAP Install

2009-03-31 Thread leeb821
I downloaded what I thought was the correct JBOSS 4.x EAP Platform for a Redhat 
linux machine.

After unzipping the distribution and reading the README File, I did two builds 
against a Java 1.5 SDK (In the build directory and in the testsuite directory). 

Everything built successful.

I could only find 2 run.sh's in the directory structure. These scripts assume 
that there is a 'bin' directory underneath the JBOSS_HOME directory - but there 
isn't...Not from Unzipping the distribution or from the Build process.

Anyone know what I'm missing?

Thanks.

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

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


[jboss-user] [Beginners Corner] - Re: Ports JBoss Portal uses

2009-03-31 Thread PeterJ
Does this help: http://www.jboss.org/community/docs/DOC-9376

The sample-bindings.xml file mentioned lists all of the ports.

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

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


[jboss-user] [Beginners Corner] - Ports JBoss Portal uses

2009-03-31 Thread thegman
Hi all,

I'm trying to find JBoss Portal v2.7.1 GA (with updated WS v3.0.4 GA WS stack) 
which connects to an Oracle database. I also have Oracle Application Server 10g 
R3 running on this too.

There seems to be a conflict between these for port 127.0.0.1:4851. Whenever 
JBoss Portal is running, OAS starts to have issues with restarting at least the 
HTTP Server.

When I start JBoss Portal I bind it to an actual IP and not localhost.

1. Can I get a list of ports and port ranges that JBoss Portal uses?
2. Are there any references that guide us on how to reconfigure the ports it 
uses?

I've found nothing in any of the guides for any of this.


Thanks in advance.



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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Want to do performance test on POJO Cache

2009-03-31 Thread srij2ee
Hi

Can you help letting me know how you configured POJO cache with 
glassfish.Thanks in advance

srinivas

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

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


[jboss-user] [JBoss jBPM] - Re: How to reassign from group to actor using CommandService

2009-03-31 Thread gfargone
Oh, I am using jBPM 3.2.4.GA

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

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


[jboss-user] [JBoss jBPM] - Dynamic Group / PooledActors

2009-03-31 Thread ClayM
Is it possible to assign a task to a group that's determined at query / runtime?

Let's take this example:

I create a new task, and assign it to actors A and B

Before A or B step up to claim it, I add a new Actor (C) to the system, who 
needs to have retroactive ability to claim that task.

Can anyone point me in the direction of how I could implement this?

As far as I can tell, the pooled actors / groups (are those terms 
interchangeable) are a static list set up when the task is created.

Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with Roles JBPM

2009-03-31 Thread konstt2000
How a user with role "X" could see:
- tasks for his  role.
- tasks that have been begun by users by the same role.

???

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

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


[jboss-user] [JBoss Messaging] - JMS Topic Creation in JBoss 5 AS

2009-03-31 Thread markphilpot
In Jboss 4, when I deployed an ear with an MDB for a topic that had not been 
specified in the deployment descriptors, the server would automatically create 
the topic (after posting a warning saying that topic didn't exist).

In Jboss 5, it doesn't seem to automatically create the topics anymore (errors 
out instead).  Is there a configuration option somewhere that would allow 
automatic topic creation?

Thanks!

Mark

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

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


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

2009-03-31 Thread nickboldt
The next step would then be to do something like ...

for j in $(find /where/you/have/stuff/installed -name "*.jar"); do echo $j; 
unzip -l $j | grep ServiceLocatorException; done

... to find the jar w/ that class in it.

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

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


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

2009-03-31 Thread nickboldt
According to 
http://lists.jboss.org/pipermail/jboss-cvs-commits/2007-September/042676.html, 
it's in 

projects/ejb3/trunk/locator/src/main/org/jboss/ejb3/locator/client/ServiceLocatorException.java

Does that help?

(BTW, I found that via google with "site:jboss.org ServiceLocatorException": 
http://www.google.com/search?hl=en&q=site%3Ajboss.org+servicelocatorexception)

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBDS opens selected .java file over current .java file

2009-03-31 Thread nickboldt
Yes, it's got CVS/SVN integration, Bugzilla/JIRA/Trac integration, and JDT/PDE 
workspace integration. Highly recommended.

http://download.eclipse.org/tools/mylyn/update/e3.4 (core update site)
http://download.eclipse.org/tools/mylyn/update/extras (update site for Trac and 
JIRA)

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

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


[jboss-user] [JBoss Tools (users)] - Re: HOW TO SOLVE JBOSS TOOLS ECLIPSE ERROR

2009-03-31 Thread nickboldt
Couple problems spring to mind immediately:

a) There's a 2.1.2 available, you should use that instead if you're using 
Eclipse 3.3.2 (Europa).

b) If you're on 3.4.2 (Ganymede), then you should be using JBoss Tools 3.0.0; 
2.1.2 won't run on 3.4.2.

http://www.jboss.org/tools/download/

Note also that the dropins dir is only supported in Eclipse 3.4.2 and beyond, 
so if you're using that dir for Eclipse 3.3.2, it won't work. Unpack into 
eclipse root folder instead.

http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins

Because of the way that p2 works when discovering/installing plugins, you're 
actually better off to use the Update feature in Eclipse to install JBoss Tools 
than to download the zip(s) and unpack them into dropins. You'll get better 
performance from Eclipse on startup too.

http://www.jboss.org/tools/download/update.html

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

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


[jboss-user] [JBoss jBPM] - Re: How to reassign from group to actor using CommandService

2009-03-31 Thread gfargone
Here is some code I was trying:

// Get context.
InitialContext ic = new InitialContext();

// Find the command service bean.
rcs = (RemoteCommandServiceHome) 
ic.lookup("ejb/CommandServiceBean");

// Create a new process instance.
StartProcessInstanceCommand newProcessInstance 
= new StartProcessInstanceCommand();

newProcessInstance.setProcessName("CreateDevice");

newProcessInstance.setStartTransitionName("start"); 
newProcessInstance.setActorId("ffvnqb");

// Set process variables.
newProcessInstance.setVariables(varMap);
ProcessInstance procInst = (ProcessInstance) 
rcs.create().execute(newProcessInstance);
Long processId = procInst.getId();
System.out.println("Process Id: " + processId);

long taskInstanceId = 0;

// Get task list. Include task variables.
GetTaskListCommand taskListCommand = new 
GetTaskListCommand("admin",true);
List taskInstanceList = (List) 
rcs.create().execute(taskListCommand);
for (TaskInstance task : taskInstanceList) {

System.out.println("Task Name: " + 
task.getName());
System.out.println("Task Instance Id: " 
+ task.getId());
System.out.println("Original Task 
Assignment: " + task.getActorId());
taskInstanceId = task.getId();
}

// 
StartWorkOnTaskCommand startTaskCommand = new 
StartWorkOnTaskCommand(taskInstanceId, true);
rcs.create().execute(startTaskCommand);

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

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


[jboss-user] [JBoss jBPM] - Re: How to reassign from group to actor using CommandService

2009-03-31 Thread gfargone
I forgot to mention that trying to set the actor Id on a TaskInstance fails 
with the LazyInitializationException. Is the session closing immediately after 
the GetTaskListCommand  normal? 

11:10:25,977 ERROR [LazyInitializationException] failed to lazily initialize a 
collection of role: org.jbpm.taskmgmt.def.Task.events, no session or session 
was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a 
collection of role: org.jbpm.taskmgmt.def.Task.events, no session or session 
was closed

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

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


[jboss-user] [JBoss jBPM] - How to reassign from group to actor using CommandService?

2009-03-31 Thread gfargone
Hello,

I am a new user of jBPM. Currently, I am creating ZK pages and accessing the 
jBPM engine through the CommandService interface in JNDI.

So far I have been able to create process instances, start tasks and generally 
navigate workflows with success.
However, I cannot find a way to reassign a task from the pool to an individual 
actor. I am missing the boat somehow probably.

Thanks,
Tamas



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Hot deployment of jar which isn't an EJB

2009-03-31 Thread mikemil
I am encountering a problem trying to get a new copy of jar deployed.  

Background: we have an administrative server that updates some encryption 
information, puts the data in a jar and delivers the jar thru JMS to our other 
servers.The recipient server receives the JMS msg and writes the file with 
a temporary name to our exploded ear folder.   The problem occurs with our next 
step: we attempt to delete the existing jar and then rename the temporary named 
jar to the correct name.   Both the delete and the rename fail - presumably 
because JBoss has those files loaded

I tried just copying the new jar to the deploy/ folder like the documentation 
say (we are using 4.0.5 and 4.2.3) but nothing happens.   The jar does not 
contain an EJB, just a flat file containing encryption keys.   I am guessing 
that JBoss'd deployment scanner may see the file but doesn't really know where 
to deploy the jar to?   We originally deploy the jar to the top level of our 
exploded ear folder structure but it is not references in the application.xml 
or anywhere.

This all works in Weblogic,  maybe because we use the Staged approach.

Am I doing something wrong or is there a better approach to get a jar deployed 
to the correct folder???

Thanks,
Mike

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

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


[jboss-user] [JBoss Portal] - Re: Problem creating users with no roles.

2009-03-31 Thread johnboy
1st) Sorry for pasting the whole stack trace!


Tried this with default 2.72 GA using all of the defaults and came up with the 
same exact error. I suspect it is trying to enable a user with no role and 
cant. 





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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JPA/Hibernate JBC usage

2009-03-31 Thread bstansbe...@jboss.com
Geez, after 1 million posts I forget the "code" button:



enables query result set caching.



enables entity and collection caching.

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

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


[jboss-user] [JBoss jBPM] - Re: jms notbound exception when accessing jbpm context from

2009-03-31 Thread boxwala
My problem was caused by incorrectly using the JBPM EJBs. I was making calls to 
the embedded classes rather than the EJB classes. Once my application invoked 
the EJBs, the timer issue went away.

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

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


[jboss-user] [JNDI/Naming/Network] - Starting/Stopping JNDI server does not exit cleanly the JVM

2009-03-31 Thread jmesnil
Hi, 

when starting JBoss Messaging in standalone mode, I found out that the JVM is 
not exited cleanly when we shutdown the server.
After some investigation, I narrow the problem down to the JNDI server: 


  |   public static void main(String[] args) throws Exception
  |{
  | 
  |   System.setProperty("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
  |   System.setProperty("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces, value");
  | 
  |   NamingBeanImpl namingInfo = new NamingBeanImpl();
  |   namingInfo.start();
  |   org.jnp.server.Main jndiServer = new org.jnp.server.Main();
  |   jndiServer.setNamingInfo(namingInfo);
  |   jndiServer.setPort(1099);
  |   jndiServer.setBindAddress("localhost");
  |   jndiServer.setRmiPort(1098);
  |   jndiServer.setRmiBindAddress("localhost");
  |   jndiServer.start();
  | 
  |   System.out.println("STARTED");
  | 
  |   jndiServer.stop();
  |   namingInfo.stop();
  |   }
  | 

When I run the code (using both  jnpserver 5.0.0.Beta3 and 5.0.0.Beta4), the VM 
hangs and I get the thread dump:


  | Full thread dump Java HotSpot(TM) Client VM (1.5.0_16-133 mixed mode, 
sharing):
  | 
  | "DestroyJavaVM" prio=5 tid=0x010014b0 nid=0xb0801000 waiting on condition 
[0x..0xb0800060]
  | 
  | "NamingBootstrap Pool(1)-1" daemon prio=5 tid=0x01013480 nid=0x82be00 
waiting on condition [0xb0e8e000..0xb0e8ed90]
  | at sun.misc.Unsafe.park(Native Method)
  | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1841)
  | at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
  | at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
  | at java.lang.Thread.run(Thread.java:613)
  | 
  | "GC Daemon" daemon prio=2 tid=0x010128e0 nid=0x914a00 in Object.wait() 
[0xb0e0d000..0xb0e0dd90]
  | at java.lang.Object.wait(Native Method)
  | - waiting on <0x25b02af8> (a sun.misc.GC$LatencyLock)
  | at sun.misc.GC$Daemon.run(GC.java:100)
  | - locked <0x25b02af8> (a sun.misc.GC$LatencyLock)
  | 
  | "RMI Reaper" prio=5 tid=0x010124c0 nid=0x913c00 in Object.wait() 
[0xb0d8c000..0xb0d8cd90]
  | at java.lang.Object.wait(Native Method)
  | - waiting on <0x25b01b00> (a java.lang.ref.ReferenceQueue$Lock)
  | at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
  | - locked <0x25b01b00> (a java.lang.ref.ReferenceQueue$Lock)
  | at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
  | at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:336)
  | at java.lang.Thread.run(Thread.java:613)
  | 
  | "Timer-0" daemon prio=5 tid=0x010120c0 nid=0x84d200 in Object.wait() 
[0xb0d0b000..0xb0d0bd90]
  | at java.lang.Object.wait(Native Method)
  | - waiting on <0x25b01fa0> (a java.util.TaskQueue)
  | at java.lang.Object.wait(Object.java:474)
  | at java.util.TimerThread.mainLoop(Timer.java:483)
  | - locked <0x25b01fa0> (a java.util.TaskQueue)
  | at java.util.TimerThread.run(Timer.java:462)
  | 
  | "RMI TCP Accept-1098" daemon prio=5 tid=0x01011d30 nid=0x84c400 runnable 
[0xb0c8a000..0xb0c8ad90]
  | at java.net.PlainSocketImpl.socketAccept(Native Method)
  | at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
  | - locked <0x25b01b58> (a java.net.SocksSocketImpl)
  | at java.net.ServerSocket.implAccept(ServerSocket.java:450)
  | at java.net.ServerSocket.accept(ServerSocket.java:421)
  | at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:340)
  | at java.lang.Thread.run(Thread.java:613)
  | 
  | "Low Memory Detector" daemon prio=5 tid=0x01009110 nid=0x81ba00 runnable 
[0x..0x]
  | 
  | "CompilerThread0" daemon prio=9 tid=0x01008660 nid=0x81ac00 waiting on 
condition [0x..0xb0b077d8]
  | 
  | "Signal Dispatcher" daemon prio=9 tid=0x01008130 nid=0x819e00 waiting on 
condition [0x..0x]
  | 
  | "Finalizer" daemon prio=8 tid=0x01007a70 nid=0x818200 in Object.wait() 
[0xb0a05000..0xb0a05d90]
  | at java.lang.Object.wait(Native Method)
  | - waiting on <0x25a82180> (a java.lang.ref.ReferenceQueue$Lock)
  | at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
  | - locked <0x25a82180> (a java.lang.ref.ReferenceQueue$Lock)
  | at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
  | at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
  | 
  | "Reference Handler" daemon prio=10 tid=0x010076b0 nid=0x816a00 in 
Object.wait() [0xb0984000..0xb0984d90]
  | at java.lang.Object.wait(Native Method)
  | - waiting on <0x25a82208> (a java.lang.ref.Reference$Lock)
  | at java

[jboss-user] [JBoss Portal] - Re: instance not found error on JBoss portal server - URGENT

2009-03-31 Thread PeterJ
Let's continue this discussion in your other post at 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153289

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

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


[jboss-user] [JBoss Portal] - Re: instance not found error on JBoss portal server - URGENT

2009-03-31 Thread PeterJ
Which version of JBoss Portal are you using?

Try logging is as admin and go to the admain protal/page and look up first your 
portlet, then your portlet instance, and then finally the portlet 
object/window. That might give you a better clue as to where the issue is.


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

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


[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal

2009-03-31 Thread aj_jboss
Hi, 

The files are already deployed in the WEB-INF (uppercase) folder of the war 
file.

I think i am missing something, may be very small issue but not able to figure 
out. :(

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

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


[jboss-user] [JBoss Portal] - Re: instance not found error on JBoss portal server - URGENT

2009-03-31 Thread aj_jboss
Hi

'PortletDefinitiion' is the class file in my 'com' folder.
So i dont think that is the problem.
I think i am missing something, may be very small issue but not able to figure 
out. :(

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Web Console 4.2.1 on Gentoo Linux OS

2009-03-31 Thread PeterJ
Now I am wondering how this worked for me. There are no such properties files - 
they would have to be in the server/all/conf directory, not in 
server/all/conf/props directory. (Maybe admin/admin is acceptable id when no 
file is found...)

Try copying the server/all/conf/props/jmx-console-*.properties files as 
server/all/conf/web-console-*.properties and see if that works. Or change the 
login-config.xml file to reference the files on props.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss System Reources Usage

2009-03-31 Thread girishdoss
Thanks for the quick response Peter.

Regards,
Girish Doss

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss System Reources Usage

2009-03-31 Thread PeterJ
Nothing special due to Vista. For firewalls, that depends on the firewall you 
are using and how it is configured. If, when you start the app server, you get 
a popup from your firewall saying that java.exe wants to act as a server, let 
it.

Approx system usage? Depends on your apps. Typically, around 200-400MB.

Also, I hope that this is for development/testing and not production.

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

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


[jboss-user] [JBoss Cache: Core Edition] - which XA Cxn Pool?

2009-03-31 Thread dukehoops
I apologize for the side question but I am looking to find out which JTA TM 
impl and accompanying XA-capable connection pool folks are using. The reason I 
am asking this question here is that we had to add JTA TM because it is a 
prereq for using JBC3 as Hibernate 2nd level cache. (That, in itself, is a 
little puzzling since afaik, JBC3 acts as a Synchronization, and, as far as I 
can tell, Hibernate Transcation API has a synchronization-like interface 
already)

I've tested BTM but found it non-performing at scale. Our current stack is:

Tomcat 6 NIO
JBC 3.0.3.GA
Hibernate 3.3.1.GA (using TRANSACTIONAL cache strategy)
Spring 2.5.6
Mysql 5.1 INNODB

Used to use C3P0

Since we only have 1 Resource (DB), I'd love to make things even simpler and 
use LRCO. I am assuming many folks here use JBossTM, but it doesn't seem to 
come with a Connection Pool.

thanks!
-nikita



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

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


[jboss-user] [Management, JMX/JBoss] - Re: Problem with jmx-console

2009-03-31 Thread PeterJ
It suspect that you have two web apps that both use the /jmx-console context. 
Change the context for one of them. You should be able to tell from the console 
log which apps are using this context.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBDS opens selected .java file over current .java file

2009-03-31 Thread asookazian
"nickboldt" wrote : Window > Preferences > General > Editors
  | 
  | Uncheck the box for Close editors automatically.
  | 
  | You might also want to try installing Mylyn to manage related files in a 
task context (eg., to have all the files relevant to a bug or work item grouped 
such that when you enable/disable the task, files will be automatically 
reopened/closed. Mylyn also lets you filter your Project or Package Explorer so 
you only see the files you care about at the moment.

it's already unchecked.  so that's not the root cause.

I read about mylyn in java power tools i believe but i haven't had time to 
install yet.  it had IDE/mylyn/SVN integration which was pretty cool IIRC.

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

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


[jboss-user] [Beginners Corner] - Re: Remote Web Client - which client jars?

2009-03-31 Thread PeterJ
Another possibility if to use Tattletale (http://www.jboss.org/tattletale). 
Give it a directory containing your app's jar and the jboss_home/client 
directory. One of the reports it provides is a transitive list of dependencies 
- this report should tell you all of the JARs you need for your app.

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

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


[jboss-user] [JBoss Portal] - Re: Hyper Links in CMS Window

2009-03-31 Thread PeterJ
Yes, that is the way it works. If you want to display an HTML page from CMS, 
then the page is shown in the CMS portlet window, which is on the home page.

As far as I know, the only way to get an HTML page to display in another 
portlet window is to make a copy of the CMS portlet window class and modify it 
such that any HTML pages requested from that window get sent back to that 
window.

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

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


[jboss-user] [JBoss Portal] - Re: Role-based authorization for portlet modes

2009-03-31 Thread sohil.s...@jboss.com
Guys-

just fyi. As part of our roadmap we are designing a completely new Security 
engine with much more robust authorization component. This will be used to 
support much more complex yet practical rule based access control for Portal 
resources.

To follow developments on this component here is a starting point.

[link]http://blog.jboss-portal.org/2009/02/jboss-authorization-server-public.html[/link]

As things progress, we will keep the communication channel open so we can get 
valuable feedback and contribution. Especially various usecases that this 
component should support by design.

Stay tuned!!

Sohil

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Spring in Jboss

2009-03-31 Thread marius.bogoevici
A few hints:

1) If you're running a web application using Spring in JBoss, you won't need 
the Spring Deployer. So, just go ahead and deploy your application as a regular 
web-app.

2) The fact that the taglibs are not recognized won't be solved by using the 
Spring deployer. The jars in /server/default/lib won't be scanned for tag 
definitions automatically (the classes, however, will be found). You can either 
place the jars in your WEB-INF/lib directory of your Jar, or set them 
correspondingly in jboss-web.deployer.

3) for org.springframework.web.context.ContextLoaderListener you will also need 
to have spring-web.jar on your classpath.

Hope that helps,
Marius

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

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


[jboss-user] [JBoss Cache: Core Edition] - True Structure of Cache Node?

2009-03-31 Thread atifoxon
I need some explanation of the structure of the Node interface. Below are some 
excerpt from documentation

>From Interface Node Documentation
A Node is a named logical grouping of data in the JBoss Cache. A node should be 
used to contain data for a single data record, for example information about a 
particular person or account.

>From Interface Interface Cache Documentation
 // creates with default settings and starts the cache
  | 
  | Cache cache = DefaultCacheFactory.getInstance().createCache();
  | Fqn personRecords = Fqn.fromString("/org/mycompany/personRecords");
  |  
  | 
  | Node rootNode = cache.getRoot();
  | Node personRecordsNode = rootNode.addChild(personRecords);
  | 
  | // now add some person records. Fqn peterGriffin = 
Fqn.fromString("/peterGriffin"); 
  | 
  | // the addChild() API uses relative Fqns 
  | Node peter = personRecordsNode.addChild(peterGriffin);
  | 
  | peter.put("name", "Peter Griffin");
  | peter.put("ageGroup", "MidLifeCrisis"); peter.put("homicidal", 
Boolean.FALSE);
  | 

Correct me if I have misunderstood it

[1] According to above two a node should contain data related to one record of 
database
[2] If 1 is correct then each node should store data in from of colName, 
colValue pair

Is above scheme recommended one or I can use it other way around ? e.g.

[A] I am storing a record in individual nodes as a object against PK of that 
record and not in colName, colValue fashion. so my cache contains one node per 
record and each node's map contains only one value which is the record VO 
(value object). I think I am wasting the maps associated with nodes by doing 
this. What is your opinion?

[B] If I store set of records at node rather than one record (not correct 
according to API docs), so my cache contains one node per table. I think this 
way I am utilizing the node's map. What is your opinion?

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

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


[jboss-user] [Management, JMX/JBoss] - Re: How to get web service performance statistic information

2009-03-31 Thread PeterJ
PeterJ wrote : If this doesn't help, use the jmx console to locate mbeans that 
contain the name of your app or web service, one of them should have the info 
you are looking for.

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

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


[jboss-user] [EJB 3.0] - Re: Configuring external jms datasource with MQSeries

2009-03-31 Thread castorilo
anyone?

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

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


[jboss-user] [JBoss AOP] - Re: Library Conflict jboss-aop.jar <> jbossall-client.jar (A

2009-03-31 Thread DerMas
Are there any updates on this topic?

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

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


[jboss-user] [JBoss Portal] - Re: no communication with inter portlet communication

2009-03-31 Thread prabhat....@jboss.com
Since you are using Portal 2.7.2, you should use coordination features that 
were introduced in JRS-286 and implemented in JBoss Portal since 2.7.0. See 
reference guide for more details.

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

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


[jboss-user] [JBoss Messaging] - Re: Persistenceprovider hotplug

2009-03-31 Thread infodavid
I just change the oracle schema to describe an invalid one to check 
reconnection.

I have found a solution to restart the MDB when the persistence provider is 
restarted, just add a 'depends' in jboss.xml but unfortunately, a jboss issue 
(JBAS-5332) does not allow restarting.

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

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


[jboss-user] [JBoss Messaging] - Re: Persistenceprovider hotplug

2009-03-31 Thread gaohoward
Hi,

I'm sorry I thought you changed the data source config file. But what you 
changed is jms-ds.xml, can you give the contents you have changed here?

Anyway, i don't think JBM 1.4 can support this kind of changes without 
restarting.

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

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


[jboss-user] [JBoss Messaging] - Re: Messaging blocked by long time-out again

2009-03-31 Thread gaohoward
I'll investigate, thanks.


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

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


[jboss-user] Problem with remote JMX in Jboss5

2009-03-31 Thread linux.il
I recently  upgraded my Jboss from 4.2.1 to 5.0.1.
In Jboss 4 I used the following options for enabling remote JMX

JAVA_OPTS="${JAVA_OPTS}  -Dcom.sun.management.jmxremote.port=12345"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
JAVA_OPTS="${JAVA_OPTS} -Djboss.platform.mbeanserver"
JAVA_OPTS="${JAVA_OPTS}
Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"

Starting Jboss 5 with the same options produces this error:

javax.management.JMRuntimeException: Failed to load MBeanServerBuilder
class org.jboss.system.server.jmx.MBeanServerBuilderImpl:
java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:480)
at 
javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
at 
sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at 
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at 
sun.management.jmxremote.ConnectorBootstrap.initialize(ConnectorBootstrap.java:392)
at sun.management.Agent.startAgent(Agent.java:127)
at sun.management.Agent.startAgent(Agent.java:239)
Caused by: java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at 
javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
... 9 more
Exception thrown by the agent : javax.management.JMRuntimeException:
Failed to load MBeanServerBuilder class
org.jboss.system.server.jmx.MBeanServerBuilderImpl:
java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl

I found a few threads about similar topics
(http://www.jboss.org/?module=bb&op=viewtopic&p=4026239 ,
http://www.jboss.org/community/docs/DOC-10521), but these don't help.

Any ideas?

Thank in advance,
Vitaly
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problem with Roles JBPM

2009-03-31 Thread konstt2000
Hi,

I've two users: - Admin1 with role "ADMIN" and actorid "Admin1" and Admin2 with 
role "ADMIN" and actorid "Admin2"

I've the next definition process:


  |   
  | 
  |
  | 
  | 
  |  
  | 
  | 
  | 
  | 

When I call to @CreateProcess it appears in the pooledTaskInstanceList of both 
users. But when it is called to @StartTask the ACTORID it is fixed and only it 
appears in the list taskInstanceList of the user who has begun the task. 

If both users belong to the same role, there is no way of which they could see 
that each of the users are executing tasks?


Thanks and sorry for my english.



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

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


[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences

2009-03-31 Thread gaohoward
Hi mclu,

I'll take a look on the sslbisoeket configure. Thanks for the info.

Howard


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

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


[jboss-user] [JBoss jBPM] - Re: jms notbound exception when accessing jbpm context from

2009-03-31 Thread gchanteb
I have the same problem. Have you find it guys ? Thx.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a

2009-03-31 Thread alberto.silveirajunior
Just to give you all a feedback.

Finally I found why JBOSS stops to respond HTTP requests. 

I found an error in my application where the application code was leaving DB 
connections starving. 

When the maximum number of busy connections is equals to the max number of 
connections, JBOSS/tomcat stops to respond HTTP requests. 

This application uses hibernate 3x and C3PO.

I hope it can help you some day...

Thanks,

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Web Console 4.2.1 on Gentoo Linux OS

2009-03-31 Thread kaushalshriyan
Hi Peter


  | 
  |
  |   
  |  web-console-users.properties
  |  web-console-roles.properties
  |   
  |
  | 
  | 

Thanks and Regards

Kaushal

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

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


[jboss-user] [EJB 3.0] - Service bean and concurrency access

2009-03-31 Thread xmedeko
Hi,
how is concurrent access to the JBoss @Service bean? 

I have found that OpenEJB has similar @Singleton bean, which can specify the 
concurrency access, see http://openejb.apache.org/3.0/singleton-beans.html

The container managed concurrency access: all invocations of the business 
methods are serialized.

Bean managed concurrency access: the bean has to manage critical parts by 
itself.

Does anybody know, how is the (default) @Service bean concurrency management in 
JBoss?

Thanks
Andy


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss System Reources Usage

2009-03-31 Thread girishdoss
Hello,
I am trying to get JBoss installed on my Vista OS. Any precautions to be taken? 
Firewall, etc
Also, what is the approx usage of System resources when JBoss is running?

Thanks.
Girish

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

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


[jboss-user] [JBoss Messaging] - Re: Test org.jboss.test.jbossmessaging.test.JBossJMSUnitTest

2009-03-31 Thread burdeasa
Thanks for the responses everyone.

I think I have found a solution.

I added debug code to testcase RequestReplyQueue and noticed that the test was 
receiving the following message text on the queue: High Priority Persistent 
message.

This message text is placed on the queue by the previous testcase 
(QueueMessageOrder).  The messages from the previous testcase were still on the 
queue, which appears to have lead to problems with the testcase 
RequestReplyQueue.  Testcase RequestReplyQueue calls the method drainQueue to 
remove any leftover messages.  However, from the test.log file I could tell 
that drainQueue was not removing any messages in the failing scenario.  The 
code in drainQueue has a timeout of 50 milliseconds to receive a message.  I 
guessed that maybe this was too short sometimes, so I increased the timeout 
from 50 to 500.  After making this change, I have run the test 10 times in a 
row without a failure, so this appears to be the solution.



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

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


[jboss-user] [EJB 3.0] - Re: Deploying an EJB3 MDB as stopped?

2009-03-31 Thread jaikiran
"chtimi2" wrote : I mean using the standard start/stop methods on the MDB 
works, but the DeliveryActive attribute doesn't.

I answered this in your other post 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222339#4222339, a few 
minutes back.


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

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


[jboss-user] [EJB 3.0] - Re: Can't get @Service to work

2009-03-31 Thread jaikiran
"chtimi2" wrote : 
  | I tried using DeliveryActive but it says the property doesn't exist? 

Sorry, i forgot you were using 4.2.x AS. Its available in the recent versions 
of JBossAS-5.x. https://jira.jboss.org/jira/browse/EJBTHREE-1740

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

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


[jboss-user] [EJB 3.0] - Re: Using JBoss Embedded EJB 3 container with Oracle

2009-03-31 Thread jaikiran
This is a 2 year old post :) What problem are you running into? What are you 
system configurations? Please provide more details about your application and 
setup.


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

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


[jboss-user] [JBoss Portal] - Re: instance not found error on JBoss portal server - URGENT

2009-03-31 Thread piergiorgiolucidi
Maybe you have wrote an error for the class of your portlet.
Check com.PortletDefinitiion in portlet.xml:

  | 
  |  dummy-HeaderPortlet
  | com.PortletDefinitiion
  | 
  | text/html
  | VIEW
  | 
  | 
  | Header Portlet
  | 
  | 
  | 

It seems an error.

Hope this helps.

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

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


[jboss-user] [JBoss Portal] - no communication with inter portlet communication

2009-03-31 Thread Fuchs
hello, iam using the jboss portal 2.7.2 bundle on window vista.
i used to write a interportlet communication like the sample in the jboss 
reference guide. i got the two portlets deployed, but the communication between 
them doesnt work.

i get an error at the start of the server:


  | WARN  [ServiceController] Problem starting service 
portal:service=ListenerService,type=
  | test_listener
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
main.PortletB$Listener
  | 


Here the mbean from the jboss-servcice.xml:


  |
  | 
  | portal:service=ListenerRegistry
  | test_listener
  | main.PortletB$Listener
  | 
  | 

i added the listener in my -object.xml in the window tag of the portletB


  |  
  | PortletBWindow
  | PortletBInstance
  | test_listener
  | 

i dont know what could be wrong! Maybe someone can help me?

(1) how can i solve the porblem in the start phase?
(2) why doesnt run the communication between A and B?

If i forgot something important, please inform me.
Thanks for reading my post.

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

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


[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal

2009-03-31 Thread jssteux

Hello,

these files must be deployed in the WEB-INF (uppercase) folder of the war file 
which contains the portlet


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: customized error page question

2009-03-31 Thread ndrw_cheung
"PeterJ" wrote : 
  | Instead of having the portlet fault (throw an exception), you can have the 
portlet code catch the exception and redirect the portlet's output to a JSP 
that will show an error message within the portlet's window. Note that in this 
case the portal assumes that the protlet completed successfully.
  | 

I tried this and it works. Thanks a lot.

  -Andrew

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

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


[jboss-user] [EJB 3.0] - Re: Using JBoss Embedded EJB 3 container with Oracle

2009-03-31 Thread mvpc
Hello!
I have have the same problem. So please if you find the solution,
post it here :) .


Thanks! 

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

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


[jboss-user] [JBoss Messaging] - Re: Persistenceprovider hotplug

2009-03-31 Thread infodavid
There is no error about MDB. Messages are just not consumed.

Here are the logs from the server, when changing ds.xml:

2009-03-31 14:24:43,140 INFO  [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] 
Started in 34s:94ms
2009-03-31 14:24:57,734 INFO  
[com.pdf.common.service.messaging.test.mdb.MessagingTestBean] Message recieved 
at Tue Mar 31 14:24:57 CEST 2009
2009-03-31 14:24:57,734 INFO  
[com.pdf.common.service.messaging.test.mdb.MessagingTestBean] Type of message 
object is: ObjectMessage
2009-03-31 14:24:57,734 INFO  
[com.pdf.common.service.messaging.test.mdb.MessagingTestBean] Message recieved 
from 3kf6z1j (10.10.101.205)
2009-03-31 14:24:57,734 INFO  
[com.pdf.common.service.messaging.test.mdb.MessagingTestBean] Message 
acknowledged
2009-03-31 14:24:57,875 INFO  
[com.pdf.common.service.messaging.test.mdb.MessagingTestBean] Waiting 15s 
before sending response...
2009-03-31 14:25:03,203 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] 
org.jboss.jms.server.connectionfactory.connectionfact...@1013985 undeployed
2009-03-31 14:25:03,203 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] 
org.jboss.jms.server.connectionfactory.connectionfact...@3dcf03 undeployed
2009-03-31 14:25:03,203 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] 
org.jboss.jms.server.connectionfactory.connectionfact...@f007ad undeployed
2009-03-31 14:25:03,203 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/DLQ] stopped
2009-03-31 14:25:03,203 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/ExpiryQueue] stopped
2009-03-31 14:25:03,203 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/MessagingTestBean1] stopped
2009-03-31 14:25:03,203 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/MessagingTestBean2] stopped
2009-03-31 14:25:03,421 INFO  [org.jboss.jms.server.ServerPeer] JMS 
ServerPeer[0] stopped
2009-03-31 14:25:03,421 INFO  
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JMSDS' from JNDI 
name 'java:JMSDS'
2009-03-31 14:25:03,625 INFO  
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JMSDS' to JNDI name 
'java:JMSDS'
2009-03-31 14:25:04,531 WARN  
[org.jboss.jms.server.security.SecurityMetadataStore] WARNING! POTENTIAL 
SECURITY RISK. It has been detected that the MessageSucker component which 
sucks messages from one node to another has not had its password changed from 
the installation default. Please see the JBoss Messaging user guide for 
instructions on how to do this.
2009-03-31 14:25:04,562 INFO  [org.jboss.jms.server.ServerPeer] JBoss Messaging 
1.4.2.GA server [0] started
2009-03-31 14:25:04,593 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector 
bisocket://3kf6z1j:4457 has leasing enabled, lease period 1 milliseconds
2009-03-31 14:25:04,593 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] 
org.jboss.jms.server.connectionfactory.connectionfact...@1013985 started
2009-03-31 14:25:04,593 WARN  
[org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] 
supportsFailover attribute is true on connection factory: 
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post 
office is non clustered. So connection factory will *not* support failover
2009-03-31 14:25:04,593 WARN  
[org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] 
supportsLoadBalancing attribute is true on connection factory: 
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post 
office is non clustered. So connection factory will *not* support load balancing
2009-03-31 14:25:04,593 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector 
bisocket://3kf6z1j:4457 has leasing enabled, lease period 1 milliseconds
2009-03-31 14:25:04,593 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] 
org.jboss.jms.server.connectionfactory.connectionfact...@3dcf03 started
2009-03-31 14:25:04,609 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector 
bisocket://3kf6z1j:4457 has leasing enabled, lease period 1 milliseconds
2009-03-31 14:25:04,609 INFO  
[org.jboss.jms.server.connectionfactory.ConnectionFactory] 
org.jboss.jms.server.connectionfactory.connectionfact...@f007ad started
2009-03-31 14:25:04,656 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/DLQ] started, fullSize=20, pageSize=2000, downCacheSize=2000
2009-03-31 14:25:04,859 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/ExpiryQueue] started, fullSize=20, pageSize=2000, 
downCacheSize=2000
2009-03-31 14:25:04,953 INFO  [org.jboss.jms.server.destination.QueueService] 
Queue[/queue/MessagingTestBean1] started, fullS

[jboss-user] [Security & JAAS/JBoss] - Re: Basic app client to app server authentication in J2EE

2009-03-31 Thread Wolfgang Knauf
Hi,

there are two steps required to configure security:

a) on the server (through "login-config.xml" and security domains).

b) on the client (as the client security layer has to know how to perform login 
against the server).

The client basically sends user and password to the server, and the server 
grants access or denies it. The client knows whether he has to send 
user/password or a certificate (this is configured by code and through 
"auth.conf"). But the client does NOT know how the user/password login is 
handled on the server side.

Unfortunately, the term "LoginContext" appears on both sides, but these are 
different things.

You might take a look at the EJB3 tutorial for a very simple sample (chapter 
27): 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.4/html/Security_and_Transactions_in_EJB3.html

Best regards

Wolfgang

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

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


[jboss-user] [JBoss Tools (users)] - Re: HOW TO SOLVE JBOSS TOOLS ECLIPSE ERROR

2009-03-31 Thread t_shaguy
"nickboldt" wrote : More details please:
  | 
  | OS X version (10.5.?)
  | Java version (5.0.? 6.0.?)
  | Eclipse version (3.3.2/Europa? 3.4.2/Ganymede? 3.5.0/Galileo?)
  | JBoss Tools version (2.x? 3.x?)
  | 
  | Also, how did you install? unpacking zips into eclipse dir? unpacking zips 
into dropins dir? installed via update site (recommended method)?

OS X 10.5.6
Java 5
Eclipse 3.3.2 (3.4.2/Ganymede)
JBoss Tools version (2.1.1.GA)
unpacking zips into dropins dir

Thank you 



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

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


[jboss-user] [Beginners Corner] - Re: Remote Web Client - which client jars?

2009-03-31 Thread jaikiran
anonymous wrote : So can somebody point me on a piece of docu where I can find 
out which jars from the client directory I really need? 

This might help http://www.jboss.org/index.html?module=bb&op=viewtopic&t=152474

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

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


[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences

2009-03-31 Thread mclu
Just found the related Bug for that ping time:

https://jira.jboss.org/jira/browse/JBMESSAGING-1487

But as I said only the non ssl file were updated.




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

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


[jboss-user] [JBoss Messaging] - Re: Bridge error because of network problems also influences

2009-03-31 Thread mclu
PROBLEMS SOLVED:

1. Message stuck issue
I solved it with my workaround with this force remote setting!
But I think it is related to this error:
https://jira.jboss.org/jira/browse/JBMESSAGING-1456
which is fixed now.

2. Connection error!
I am using the SSLBisocketInvoker and used the example configuration. This 
example configuration has not changed over the last versions!
As I saw now is that the standard remoting bisocket invoker has changed a lot. 
For example there are new configurations like:

  |1
  |5000

If you miss them the defaults are 2 seconds periode and 1 second timeout.
This one second is too short on utilized systems and slower remote networks!! 

Howard, Tim
there are more parameters in the default NON-SSL configuration that have 
changed. 
Can you please validate which one are also applicable on the ssl invoker and 
then update the ssl configuration example at remoting-sslbisocket-service.xml??



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

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


[jboss-user] [EJB/JBoss] - @EndointConfig missing

2009-03-31 Thread syvan
hello everone, 

I have a small problem with following: 
I would like to define an EndpointConfig in my EJB-Webservice like this :

@Stateless
@WebService
@WebContext
@EndpointConfig
public class SearchService implements SearchServiceInterface {
}

but i have to import the org.jboss.ws.annotation.EndpointConfig and I cannot 
find this JAR-API anywhere in my JBoss. 

could you say me where I can find this jar in JBoss or how I can annotate an 
EndpointConfig ??

thank yery match


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

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


[jboss-user] [Management, JMX/JBoss] - Problem with jmx-console

2009-03-31 Thread imonike
Good day every one,
I have this jboss-3.2.1 appserver. Each time I try to start it up the 
deployment fails with this message.

org.jboss.deployment.DeploymentException: Error during deploy; - nested 
throwable: (java.lang.IllegalArgumentException: addChild:  Child name 
'/jmx-console' )
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:369)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
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:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:392)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
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:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalArgumentException: addChild:  Child name 
'/jmx-console' is not unique
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:815)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:417)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:266)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)




Please I really do not know what I am doing wrong. Any ideas as to how to go 
about solving the problem would be highly appreciated

View the original po

[jboss-user] [JBoss Portal] - instance not found error on JBoss portal server - URGENT

2009-03-31 Thread aj_jboss
Hi, 
I am using boss 4.0.5 server. 
i have created 3 xml files. 

dummy-object.xml 


  | 
  | 
  | 
  |   
  |  overwrite
  |  main
  | 
  |dummy-Home
  | 
  |
  |dummy-HeaderPortletWindow
  | dummy-HeaderPortletInstance
  | header
  | 0
  | 
  | 
  | theme.windowRendererId
  | emptyRenderer
  | 
  | 
  |theme.decorationRendererId
  |emptyRenderer
  |  
  | 
  | theme.portletRendererId
  | emptyRenderer
  |  
  | 
  |   
  |   
  |   
  | 
  |  
  | 

portlet-instances.xml 


  | 
  | 
  | 
  | 
  | 
  | 
  |
  | dummy-HeaderPortletInstance
  |dummy-HeaderPortlet
  |
  |   
  |   JSPPage
  |/includes/header.jsp
  |   
  |
  | 
  | 
  |   
  | 
  |  
  | 

portlet.xml 


  | 
  | 
  | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | 
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-ap
  | p_1_0.xsd"
  | version="1.0">
  | 
  | 
  | 
  |  dummy-HeaderPortlet
  | com.PortletDefinitiion
  | 
  | text/html
  | VIEW
  | 
  | 
  | Header Portlet
  | 
  | 
  | 
  | 
  |  
  | 

jboss-app.xml, jboss-portlet.xml, jboss-web.xml files are also available in 
web-inf folder. 

After starting the server when i try to run the 
app'http://localhost/portal/portal/main/dummy-Home', it says 'Object not found 
dummy-HeaderPortletInstance' 

Please help me to solve this problem. 


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

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


[jboss-user] [Security & JAAS/JBoss] - jaas configuration in jboss-web.xml?

2009-03-31 Thread BjPenn
Hey everybody, i am migrating an application from glassfish V2 to jboss5.0.1, 
eveything is working fine, but i have a little doubt: in sun-web.xml i had this 
piece of xml code:



  | mensajes
  | admine
  | grabadorm
  | grabadort
  |   
  |   
  | categorias
  | admine
  |   
  |   
  | envio_directo
  | admine
  | grabadorm
  | grabadort
  |   
  |   
  | perfiles
  | admine
  |   
  |   
  | promotores
  | admine
  |   
  |   
  | suscriptores
  | grabadors
  | admine
  | grabadort
  |   
  |   
  | adming
  | adming
  |   
  |   
  | smsact
  | smsact
  |   
  |   
  |   
  | 
  |   Keep a copy of the generated servlet class' java 
code.
  | 
  |   

should i define the same thing in jboss-web.xml, or in an other file??
thank you in advance

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Basic app client to app server authentication in J2EE

2009-03-31 Thread bugoff
hold on, why do I need "auth.conf" and LoginContext on a client?

You said:
anonymous wrote : So the client does not need to know how the server performs 
login

Thank you.

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

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


[jboss-user] [Beginners Corner] - Remote Web Client - which client jars?

2009-03-31 Thread -christian-
Hi there,

after moving my webclient from JBoss (5.0.1.GA) to separate servlet container 
(tomcat), I got 
java.lang.ClassCastException
  | 
com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
when accessing my EJBs via the web-client (in PortableRemoteObject.narrow). 
After hours of frustrating trial&error, I copied the whole content of 
[jboss-installation-dir]/client to the WEB-INF/lib directory of my web 
application and everything worked fine.

But having the hole bunch of jars from jboss's client directory in my web 
application's WEB-INF/lib directory is definitely not what I want.

So can somebody point me on a piece of docu where I can find out which jars 
from the client directory I really need?

Chrisitan

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Basic app client to app server authentication in J2EE

2009-03-31 Thread Wolfgang Knauf
Hi,

might be a misunderstanding: you still need the LoginContext on the client 
side. User/password are provided through the CallbackHandler interface:

AppCallbackHandler callbackHandler = new AppCallbackHandler(user, 
password.toCharArray() );
  | LoginContext loginContext = new LoginContext ("logincontextname", 
callbackHandler);
  | loginContext.login();
The "AppCallbackHandler" is a JBoss specific class, which contains user and 
password. There might be other implementations, which read user/password e.g. 
from user input.

The "logincontextname" must be declared in "auth.conf" and point to the client 
login module.

Best regards

Wolfgang

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error in WARDeployer while starting JBoss AS 4.2.3

2009-03-31 Thread Wolfgang Knauf
Hi,

I think best would be not to include Xerces.jar at all and rely on the one 
which is included in JBoss.

Hope this helps

Wolfgang

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

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


  1   2   >