Re: [jboss-user] JDBC Connection close every 15 ...:( plz

2009-06-12 Thread Fairoz Sharif
i dont know but i feel ur code have some problem , because freeconnection 
method ur invoking or not i am not sure.
try something like this everywhere ur hitting database

DBConnectionManager manager = ...
Connection conn = manager.getConnection();
try{

}catch(.){

}
finally{
try{

}catch(){
conn.close();
}

}

 

if not closed here i dont think it will closed anyway

Regards 
Fairoz Sharif 
9945066287 



May God Bless this Planet , 
Spread Peace And Love every where 
Thank You .





From: Karthik Nanjangude 
To: "jboss-user@lists.jboss.org" 
Sent: Friday, 12 June, 2009 3:55:09 PM
Subject: [jboss-user] JDBC Connection close every 15  ...:( plz

 
Hi
 
 
We are facing Connection used up every 15 minutes on  
We suspect the jboss server is not releasing the JDBC
connection 
on using the close()  method
 
JBOSS 4.2.1 or  4.2.3
JDK1.5.x
O/s Linux Redhat
Jdbc jar : ojdbc14.jar
 
 
Or am I missing any thing ?
Please some body help  me 
 
The code is as shown below
 
//Oracle-ds.xml

jdbc/OrclVOISE5000
jdbc:oracle:thin:@172.16.18.22:1521:GTS22
oracle.jdbc.driver.OracleDriver
tt_VOISE50
tt_VOISE50
20
80
500
1
false

Oracle10g


 
 
// global Declared Variables
DataSource ODS = null;
WrappedConnection WCP = null;
 
//Singleton
Pattern
public
static synchronized public DBConnectionManager getInstance() throws Exception {
 
if (instance == null) {

instance = new DBConnectionManager();
 
}
  
return instance;
}
 
 
//Constructer 
private
DBConnectionManager() throws Exception {
 String DSNAME =
InfinetUtility.getProperty("DSNAME").trim();
 System.out.println("DATASOURCE
JNDI NAME :===>|"+DSNAME+"|<=");
 InitialContext ic
= null;
 try {
ic =
new InitialContext();
   ODS =
(javax.sql.DataSource) ic.lookup(DSNAME);
 } catch
(NamingException e) { e.printStackTrace();}   
}
 
 
//fetch connection
public synchronized Connection getConnection(){
  Connection conn = null;
  Connection underlyingConn = null;
  OracleConnection connection= null;
  try {
conn = ODS.getConnection();
WCP = (WrappedConnection)conn;
underlyingConn =
WCP.getUnderlyingConnection();
conn = 
(OracleConnection)underlyingConn;
  } catch (SQLException sqlex) {

System.out.println("<<< NO
CONNECTION" +
sqlex.getMessage()

   }   
  return conn;
}
 
 
//Connection close
public void freeConnection(Connection con)  {
System.out.println("RELEASING THE
USED CONNECTION TO POOL");
try {
  con.close();
}catch (Exception e) {
   
e,printStackTrace();
}  
}


  Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Question about InitialContext.lookup on a JNDI server.

2009-06-12 Thread fred fred
-Where is JBoss 5.4.0.GA 's JNDI server?
-Is it accessable by class files in a Jar?
-What JAR/classes are in question?
-May this JNDI server be detached from JBoss, and
   run on a server all it's own?

:)

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

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


[jboss-user] [JBoss Tools (users)] - Installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 under

2009-06-12 Thread Torleif
I need some help to find a page or two where i can read and learn how to 
install; 

Jboss Application Server 5.0.1.GA 

Jboss Tools 3.1 Milestone 1 

Eclipse 3.5 

Anybody who can help me with this? I am fairly new to all this so i would need 
some help to learn how to install all this in the right way on a Mac 10.5.7 .

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-12 Thread Torleif
Thank you for this...

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Communicate between WAR and EJB in separate servers.

2009-06-12 Thread samwan808
"PeterJ" wrote : What version of JBoss AS?
  | 
  | You will need to include some of the JAR files from the client directory in 
the WAR file. Which ones you include depends on the AS version, and on what 
exactly your web app needs. Of course, you could just include all of the JARs 
from the client directory.

I am running JBOSS 5.0 GA.
Can you link me with an example, please?

Thanks


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

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


[jboss-user] [EJB/JBoss] - Re: ACC + Web Start

2009-06-12 Thread steeven
+1

I have the same question. 
It is usefull to leave JNLP and signing problem to container.


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

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


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-12 Thread clebert.suco...@jboss.com
"Else" wrote :  we sacrificed the convenience to gain performance, right?
  | 

I wouldn't say that. It was way more hassle administering a DB.


anonymous wrote : For the original question: when add a new broker to a running 
cluster, do we need to copy persistent data from other nodes? I guess no, since 
for load balance cluster we didn't guarantee exactly same, is it correct?
  | 
  | Another question: For the existing broker in a cluster, if somehow we 
stopped it for a while, could we just restart it and join in to the cluster 
directly? we don't need to worry the data divergence between load balance 
cluster nodes, do we? It could happen even if the node has backup, since in the 
worst case the backup server could also failed, and we didn't provide facility 
for re-assigning a backup node with a running node. 


I believe you don't need to do any syncs when adding new nodes.. but I will 
wait for Tim Fox (the project lead) to answer that question if you don't mind. 
He's the wizard on this module.. and I don't want to give you a wrong answer.

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

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


[jboss-user] [Beginners Corner] - Re: Basic AUhentication:Updating password dinamically

2009-06-12 Thread PeterJ
My recommendation is to use a database login module. Then your app can change 
the passwords at any time by submitting an update request to the database.

If you want to use properties file, you app could modify the users properties 
file to change the password. Hopefully the app server doesn't cache the 
passwords but you could easily check this manually before writing any code.

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

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


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-12 Thread Else
Thank you for your reply.
I mean "relational database" for RDB. It means we might need mysql or oracle or 
whatever to share persistent data between cluster or fail over pair nodes. From 
your answer I guess we don't support it. we sacrificed the convenience to gain 
performance, right?

For the original question: when add a new broker to a running cluster, do we 
need to copy persistent data from other nodes? I guess no, since for load 
balance cluster we didn't guarantee exactly same, is it correct?

Another question: For the existing broker in a cluster, if somehow we stopped 
it for a while, could we just restart it and join in to the cluster directly? 
we don't need to worry the data divergence between load balance cluster nodes, 
do we? It could happen even if the node has backup, since in the worst case the 
backup server could also failed, and we didn't provide facility for 
re-assigning a backup node with a running node.


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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-12 Thread PeterJ
ravindrashinde11, where are you seeing the "Side-by-Side configuration 
information" error? When you run Dependency Walker? When you one the 
php5servlet.dll file? Or is this showing up for a missing dependency for 
php5servlet.dll? Did you google "Side-by-Side configuration information"? Most 
of the post I saw indicated a missing Visual C++ file (typically from running 
something for which you don't have the necessary shared DLLs, such as 
msvcr80.dll).

What OS are you running? 32 or 64 bit?

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Stateless Bean Question (Based on JBoss Tutorial)

2009-06-12 Thread PeterJ
Duplicate post of 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237217#4237217

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

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


[jboss-user] [Beginners Corner] - Re: Question about InitialContext.lookup(string);

2009-06-12 Thread PeterJ
The "java:" portion is used by clients that run in the JVM as the things they 
are looking up (such a local EJBs, even when using the remote interface to 
access them).

The "comp/env" portion means that the name is registered in a namespace that is 
local to the web application. In JBoss AS, you need to declare such name 
mapping in WEB-INF/web.xml and WEB-INF/jboss-web.xml.

The "ejb/ObjectName" is the JNDI name assigned to this item.

Use JNDIView to examine the JNDI tree, that should help you out. 
http://www.jboss.org/community/wiki/DisplayTheJNDITreeWithTheJMXConsole

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

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


[jboss-user] [Clustering/JBoss] - Jboss Clustering over TCP

2009-06-12 Thread xav.vijay
Hi 

I am trying to create a jboss cluster of 2 nodes.  Here is the setup required.

1. NodeA is on server1 on VLAN1
2. NodeB is on server2 on VLAN2.
3. No UDP Multicast traffic allowed.

What I have tried so far is ... in cluster-service.xml on both the servers

in server1











 

and in server2, the bind_addr="server2" and TCPPING 
initial_hosts="server1[7800]" port_range="3" everything else is same.

This didnt work... they didn't see each other. is there any other file which 
needs to be modified apart from cluster-service.xml???

More info on the servers I can ping server1 from server2 and vice versa
I am connecting to server2 from server1 via ssh and vice versa is also possible.

I tied the following config as well...instead of using the multicast over UDP, 
I tried multicast over TCP




The same config on both the servers. But this config gives me errors while 
starting. 

More info 224.0.0.1 is the only multicast IP working in our environment. i 
can ping this IP from both server1 & server2. I dont know if I am missing 
something or doing something wrong. 
Are there any other files which needs to be changed? is it possible to cluster 
2 nodes across different VLAN's?? 

I would greatly appreciate any help.

Regards

Antonio
 

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

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


[jboss-user] [JBoss Messaging] - Re: Deploying a queue in JBoss Application Server 5.0.0

2009-06-12 Thread PeterJ
Create a *-service.xml file with the queue defined and place it into the deploy 
directory. See docs/examples/jms/example-destinations-service.xml for some 
examples.

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

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


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-12 Thread clebert.suco...@jboss.com
Failover is different than load balancing. Failover is aways an exact copy of 
the live node, so whenever your server fails clients can fail over to the 
backup. While another node sharing load on the cluster will be a different 
server.

That text is saying that you need to keep live and backup equal.. that's all.


We don't support shared folder on it, because we manually control the 
replication. 

I'm not sure what you mean by RDB. (not sure you meant RDBMS or that old Oracle 
database). But we decided by the journal from JBM 2 on, since it's a much 
faster approach.

anonymous wrote : BTW: if we don't have backup server in a cluster, then the 
cluster cannot bear server crashed? We provide two or more servers and then we 
cannot stop anyone? I don't think it makes sense.

If you need failover, you could just provide backup nodes.

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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-12 Thread PeterJ
The standard locations should be checked for the php.ini file, so it should 
work. I know that when I first tried this on XP it picked up my php.ini file in 
the windows directory.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Communicate between WAR and EJB in separate servers.

2009-06-12 Thread PeterJ
Please do not cross-post.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237398#4237398

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Communicate between WAR and EJB in separate servers.

2009-06-12 Thread PeterJ
What version of JBoss AS?

You will need to include some of the JAR files from the client directory in the 
WAR file. Which ones you include depends on the AS version, and on what exactly 
your web app needs. Of course, you could just include all of the JARs from the 
client directory.

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

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


[jboss-user] [JBoss jBPM] - cannot run jbpm-3.2.GA server

2009-06-12 Thread arpan25
The log file is as follows :

18:11:27,492 INFO  [Server] Starting JBoss (MX MicroKernel)...
18:11:27,493 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)
18:11:27,494 DEBUG [Server] Using config: 
org.jboss.system.server.serverconfigi...@1434234
18:11:27,494 DEBUG [Server] Server type: class 
org.jboss.system.server.ServerImpl
18:11:27,494 DEBUG [Server] Server loaded through: 
org.jboss.system.server.NoAnnotationURLClassLoader
18:11:27,494 DEBUG [Server] Boot URLs:
18:11:27,494 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/endorsed/serializer.jar
18:11:27,494 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/endorsed/xml-apis.jar
18:11:27,495 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/endorsed/xercesImpl.jar
18:11:27,495 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/endorsed/xalan.jar
18:11:27,495 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/endorsed/resolver.jar
18:11:27,495 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/jboss-jmx.jar
18:11:27,495 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/dom4j.jar
18:11:27,495 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/jaxen.jar
18:11:27,519 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/concurrent.jar
18:11:27,519 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/log4j-boot.jar
18:11:27,519 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/jboss-common.jar
18:11:27,519 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/jboss-system.jar
18:11:27,519 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/jboss-xml-binding.jar
18:11:27,520 DEBUG [Server]   
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/namespace.jar
18:11:27,520 INFO  [Server] Home Dir: /home/arpan/jbpm-jpdl-3.2.GA/server
18:11:27,520 INFO  [Server] Home URL: file:/home/arpan/jbpm-jpdl-3.2.GA/server/
18:11:27,520 DEBUG [Server] Library URL: 
file:/home/arpan/jbpm-jpdl-3.2.GA/server/lib/
18:11:27,522 INFO  [Server] Patch URL: null
18:11:27,522 INFO  [Server] Server Name: default
18:11:27,522 INFO  [Server] Server Home Dir: 
/home/arpan/jbpm-jpdl-3.2.GA/server/server/default
18:11:27,522 INFO  [Server] Server Home URL: 
file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/
18:11:27,522 INFO  [Server] Server Log Dir: 
/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/log
18:11:27,523 DEBUG [Server] Server Data Dir: 
/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/data
18:11:27,523 INFO  [Server] Server Temp Dir: 
/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/tmp
18:11:27,523 DEBUG [Server] Server Config URL: 
file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/
18:11:27,523 DEBUG [Server] Server Library URL: 
file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/lib/
18:11:27,524 INFO  [Server] Root Deployment Filename: jboss-service.xml
18:11:27,528 DEBUG [Server] Starting General Purpose Architecture (GPA)...
18:11:27,832 DEBUG [Server] Created MBeanServer: 
org.jboss.mx.server.mbeanserveri...@1827284[ defaultDomain='jboss' ]
18:11:27,992 DEBUG [Server] Boot url list: 
[file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/]
18:11:27,992 DEBUG [Server] Creating loader for URL: 
file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/
18:11:28,003 DEBUG [RepositoryClassLoader] setRepository, 
repository=org.jboss.mx.loading.unifiedloaderreposito...@aa37a6, 
cl=org.jboss.mx.loading.unifiedclassload...@12b7eea{ 
url=file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/ ,addedOrder=0}
18:11:28,003 DEBUG [RepositoryClassLoader] setRepository, 
repository=org.jboss.mx.loading.unifiedloaderreposito...@aa37a6, 
cl=org.jboss.mx.loading.unifiedclassload...@12b7eea{ 
url=file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/ ,addedOrder=0}
18:11:28,004 DEBUG [UnifiedLoaderRepository3] Adding 
org.jboss.mx.loading.unifiedclassload...@12b7eea{ 
url=file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/ ,addedOrder=0}
18:11:28,052 DEBUG [UnifiedLoaderRepository3] Failed to update pkgs for 
cl=org.jboss.mx.loading.unifiedclassload...@12b7eea{ 
url=file:/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf/ ,addedOrder=1}
java.io.FileNotFoundException: 
/home/arpan/jbpm-jpdl-3.2.GA/server/server/default/conf (No such file or 
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at 
org.jboss.mx.loading.ClassLoaderUtils$ClassPathIterator.(ClassLoaderUtils.java:594)
at 
org.jboss.mx.loading.ClassLoaderUtils.updatePackageMap(ClassLoaderUtils.java:251)
at 
org.jboss.mx.loading.UnifiedLoaderRepository3.updatePackageMap(UnifiedLoaderRepository3.java:783)
at 
org.jboss.mx.loading.UnifiedLoaderRepository3.addRepositoryClassLoader(UnifiedLoaderRepository3.java:740)
at 
org.jboss.mx.loading.UnifiedLoaderReposito

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Put a file on jboss 4.0.2 with out bundling it in a jar, war

2009-06-12 Thread shsharma79
Hi, I have multiple applications running on multiple servers. There are some 
system properties which are common across all these applications. I want to put 
all these common properties in one common file on one of the servers and then 
want to load these properties from all other servers using 
org.jboss.varia.property.SystemPropertiesService as defined at 
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch10.html using URLList 
attribute.

I don't want to bundle this common properties file in a jar, war or ear file 
because I want to give sys-admins ability to modify the file without going 
through a build-test-deploy cycle. But I want to put this file on the jboss 
4.0.2 server, so that other servers can read this file using a URL as described 
in the article above.

Can someone please help me out with following:

1. Is it possible to expose a static file without bundling it in a jar, war or 
ear file as a browsable/readable URL?

2. If yes, please tell me how i.e. where should I put the file on jboss 
instance? What will be the context-root or URL to access this plain text file?

Thanks in advance,
Shal

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM4 configuration problem

2009-06-12 Thread kukeltje
ASAP is hard in free forums. Often it results in the opposite, but that is a 
sidestep.

You need to post more details like jvm/as, what you are trying to do etc.. (is 
also in this nice document, read it once ;-))

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

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


[jboss-user] [JBoss jBPM] - cannot run jbpm-3.2.GA server

2009-06-12 Thread arpan25
Hi,

With jbpm-jpdl-3.2.GA, I am trying to start the server.
I made start.sh executable, but when I try to open it by using Run in Terminal 
option, I get a flash of terminal which vanishes instantly. Can anyone help ?

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

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


[jboss-user] [JBoss jBPM] - Re: anyone working with jbpm-3.2.6.SP1?

2009-06-12 Thread arpan25
HI,

Do i have to add something more to the classpath ? I have added JBOSS_HOME to 
the classpath...Is that what you mean by Just point to the correct AS dir  ? 
Please help !

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

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


[jboss-user] [JBoss jBPM] - problem with jpdl-4.0.xsd

2009-06-12 Thread jwerkmeister
Hi

I just installed jBPM 4.0.CR1 following the user manual step by step.
I added the file jpdl-4.0.xsd to Eclipse (Preferences --> XML Catalog)
and still lots of problems appear after compiling the examples that come with 
jBPM. It seems that jpdl-4.0.xsd lacks some definitions. 

For example:

Description ResourcePathLocationType
cvc-complex-type.2.4.a: Invalid content was found starting with element 
'custom'. One of '{"http://jbpm.org/4.0/jpdl":swimlane, 
"http://jbpm.org/4.0/jpdl":on, "http://jbpm.org/4.0/jpdl":timer, 
"http://jbpm.org/4.0/jpdl":start, "http://jbpm.org/4.0/jpdl":end, 
"http://jbpm.org/4.0/jpdl":end-cancel, "http://jbpm.org/4.0/jpdl":end-error, 
"http://jbpm.org/4.0/jpdl":state, "http://jbpm.org/4.0/jpdl":decision, 
"http://jbpm.org/4.0/jpdl":fork, "http://jbpm.org/4.0/jpdl":join, 
"http://jbpm.org/4.0/jpdl":script, "http://jbpm.org/4.0/jpdl":hql, 
"http://jbpm.org/4.0/jpdl":sql, "http://jbpm.org/4.0/jpdl":java, 
"http://jbpm.org/4.0/jpdl":task, "http://jbpm.org/4.0/jpdl":sub-process}' is 
expected. process.jpdl.xmlexamples/src/org/jbpm/examples/custom   
line 10 XML Problem

or this one:

Description ResourcePathLocationType
cvc-complex-type.3.2.2: Attribute 'continue' is not allowed to appear in 
element 'java'.process.jpdl.xml
examples/src/org/jbpm/examples/async/activity   line 20 XML Problem


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JNDI Deployment

2009-06-12 Thread mraccola
Done https://jira.jboss.org/jira/browse/JBCACHE-1514

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

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


[jboss-user] [JBoss Messaging] - How to add a new server in a cluster?`

2009-06-12 Thread Else
For messaging-2.0.0.BETA1 document in "37.1.2. Synchronization of live-backup 
pairs" chapter it's said that we need copy-paste the data for persistent 
storage between live and backup. 

For the load balance cluster, do we also have that requirement? If we want to 
add a new server to the existing running cluster, do we need to copy the data 
from the existing cluster member to the new one?

Further more,  do we support RDB or share folder for this feature? if true we 
don't need copy-paste manually.

BTW: if we don't have backup server in a cluster, then the cluster cannot bear 
server crashed? We provide two or more servers and then we cannot stop anyone? 
I don't think it makes sense.

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

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


[jboss-user] [Management, JMX/JBoss] - Description / Parameter names etc in jmx-console

2009-06-12 Thread bdamato
I'm messing around with jboss-5.1.0 and I have created an annotated ejb3 bean 
as described here:
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html
It works as advertised (although I had to monkey with it to work with 5.1.0). 
Ideally I'd like to add some friendly operation descriptions to replace the 
default "Operation exposed for management" that shows up in the jmx-console. 

Is it possible to do this through annotations, or am I stuck having to create 
service xml files for these?


  | package bob;
  | 
  | public interface ServiceOneManagement {
  | 
  | public void doATaskForMe(String input);
  | 
  | public void setTheValue(int theValue);
  | 
  | public int getTheValue();
  | 
  | void create() throws Exception;
  | 
  | void start() throws Exception;
  | 
  | void stop();
  | 
  | void destroy();
  | 
  | }
  | 


  | package bob;
  | 
  | import org.jboss.ejb3.annotation.Management;
  | import org.jboss.ejb3.annotation.Service;
  | 
  | @Service(objectName = "bob.mbeans:serviceName=ServiceOne")
  | @Management(ServiceOneManagement.class)
  | public class ServiceOne implements ServiceOneManagement {
  | private int theValue;
  | 
  | public int getTheValue() {
  | return theValue;
  | }
  | 
  | public void setTheValue(int theValue) {
  | this.theValue = theValue;
  | }
  | 
  | public void doATaskForMe(String input) {
  | System.out.println("Called do a task for me");
  | }
  | 
  | public void create() throws Exception {
  | System.out.println("ServiceOne - Creating");
  | }
  | 
  | public void start() throws Exception {
  | System.out.println("ServiceOne - Starting");
  | }
  | 
  | public void stop() {
  | System.out.println("ServiceOne - Stopping");
  | }
  | 
  | public void destroy() {
  | System.out.println("ServiceOne - Destroying");
  | }
  | }
  | 

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

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


[jboss-user] [JBoss Messaging] - Deploying a queue in JBoss Application Server 5.0.0

2009-06-12 Thread vijay.jbossuser
Hello everyone,
Could you please help me how to deploy a queue in JBoss Application Server 
5.0.0.
Thanks,
-Vijay.

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

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


[jboss-user] [JBossMQ] - Re: In Jboss Logs -

2009-06-12 Thread Papiya Misra
I was finally able to resolve this by disabling the autodiscovery by adding the 
following row to the property attributes in the mbean declaration for 
application B in the destination xml file in application X - 

jnp.disableDiscovery=true

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

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


[jboss-user] [JBoss Cache: Core Edition] - Any way to ignore cache loader exceptions?

2009-06-12 Thread drcallaway
I'm working on a caching solution that requires each server in the farm to 
maintain its own local cache using sticky sessions. For fault tolerance, I'd 
also like to asynchronously persist cached items to a JDBCCacheLoader. This 
way, if one of the servers fail, another server can take over for it by 
retrieving its information from the database. This seems to work well with the 
basic JDBCCacheLoader configuration as long as the database is available. 
However, if the database fails so does all caching operations on all web 
servers. To avoid having the database present a single point of failure, I'd 
prefer to ignore the JDBCCacheLoader exceptions (just log them) and allow the 
system to continue running using only the local caches. Is there a way to do 
this?

Thanks!

Dustin

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Messaging Samples

2009-06-12 Thread vijay.jbossuser
Thanks,Could you please tell me how to deploy the queue.Is it through JBoss 
console manager.

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

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


[jboss-user] [JBoss jBPM] - jBPM4 configuration problem

2009-06-12 Thread dharraj
Hello,

I am using the default configuration that came with jBPM4 examples. I am 
getting the following exception when calling Configuration.setXmlString.

log4jfile=/project/rt/dev/rrp/pgs/jpl/mipl/pgs4/config/log4j.cfg.xml
log4j:WARN No appenders could be found for logger 
(org.jbpm.pvm.internal.xml.Parser).
log4j:WARN Please initialize the log4j system properly.
Huaa
Exception in thread "main" java.lang.ExceptionInInitializerError
at 
org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:47)
at 
org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:50)
at 
org.jbpm.pvm.internal.cfg.JbpmConfiguration.parse(JbpmConfiguration.java:165)
at 
org.jbpm.pvm.internal.cfg.JbpmConfiguration.setXmlString(JbpmConfiguration.java:152)
at org.jbpm.api.Configuration.setXmlString(Configuration.java:94)
at jpl.mipl.pgs4.Environment.(Environment.java:64)
at 
jpl.mipl.pgs4.EnvironmentFactory.createEnvironment(EnvironmentFactory.java:45)
at jpl.mipl.pgs4.EnvironmentFactory.main(EnvironmentFactory.java:75)
Caused by: org.jbpm.api.JbpmException: 
  error: couldn't parse xml document : org.apache.crimson.tree.DomEx: 
NAMESPACE_ERR: Attempt to create or change an object in a way which is 
incorrect with regard to namespaces.
at 
org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:169)
at 
org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
at org.jbpm.pvm.internal.xml.Parse.checkErrors(Parse.java:189)
at org.jbpm.pvm.internal.wire.xml.WireParser.(WireParser.java:274)
... 8 more
Caused by: org.jbpm.api.JbpmException
at 
org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:165)
... 11 more
Caused by: org.apache.crimson.tree.DomEx: NAMESPACE_ERR: Attempt to create or 
change an object in a way which is incorrect with regard to namespaces.
at 
org.apache.crimson.tree.ElementNode2.checkArguments(ElementNode2.java:182)
at 
org.apache.crimson.tree.XmlDocument.createElementNS(XmlDocument.java:844)
at 
org.apache.crimson.tree.DOMImplementationImpl.createDocument(DOMImplementationImpl.java:142)
at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:441)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:387)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
... 9 more

Please help ASAP.

Thanks
Raj

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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-12 Thread golubec
ok, now i see that i haven't searched enough through the forum ))

There are more performance test reports as you mentioned, jbarrez.

1) http://www.jorambarrez.be/blog/2008/04/14/short-jbpm-performance-showdown/
2) 
http://processdevelopments.blogspot.com/2008/04/awsome-jbpm-performance-numbers.html
3) http://www.jboss.org/index.html?module=bb&op=viewtopic&t=133647

The performance numbers reported there are different :

1) 9ms
2) 2ms
3) 0.4ms

Actually, the performance numbers from 2) look similar to what i got so far 
(~3ms). But i run my test on a laptop without any changes in hibernation 
configuration.

So there is still a place for optimization - adding more executor threads and 
changing hibernation configuration.

Thanks everyone!

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Messaging Samples

2009-06-12 Thread vijay.jbossuser
Thanks for  the reply sir,
But when I tried I get this error.
Could you please check and tell.
12:05:15,042 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
12:05:15,042 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: 
SVNTag=JBoss_5_0_0_GA date=200812042120)
12:05:15,042 INFO  [ServerImpl] Bootstrap URL: null
12:05:15,042 INFO  [ServerImpl] Home Dir: C:\JBOSS5.0\jboss-5.0.0.GA
12:05:15,042 INFO  [ServerImpl] Home URL: file:/C:/JBOSS5.0/jboss-5.0.0.GA/
12:05:15,042 INFO  [ServerImpl] Library URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/lib/
12:05:15,042 INFO  [ServerImpl] Patch URL: null
12:05:15,042 INFO  [ServerImpl] Common Base URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/common/
12:05:15,042 INFO  [ServerImpl] Common Library URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/common/lib/
12:05:15,042 INFO  [ServerImpl] Server Name: default
12:05:15,042 INFO  [ServerImpl] Server Base Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server
12:05:15,042 INFO  [ServerImpl] Server Base URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/
12:05:15,042 INFO  [ServerImpl] Server Config URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/conf/
12:05:15,042 INFO  [ServerImpl] Server Home Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default
12:05:15,042 INFO  [ServerImpl] Server Home URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/
12:05:15,042 INFO  [ServerImpl] Server Data Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\data
12:05:15,042 INFO  [ServerImpl] Server Library URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/lib/
12:05:15,042 INFO  [ServerImpl] Server Log Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\log
12:05:15,042 INFO  [ServerImpl] Server Native Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp\native
12:05:15,057 INFO  [ServerImpl] Server Temp Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp
12:05:15,057 INFO  [ServerImpl] Server Temp Deploy Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp\deploy
12:05:15,993 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
12:05:16,790 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
12:05:16,806 INFO  [VFSCacheFactory] Using VFSCache 
[IterableTimedVFSCache{lifetime=1800, resolution=60}]
12:05:17,164 INFO  [CopyMechanism] VFS temp dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp
12:05:17,164 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:05:18,476 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
12:05:18,476 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
11.0-b16,Sun Microsystems Inc.
12:05:18,476 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
12:05:18,539 INFO  [JMXKernel] Legacy JMX core initialized
12:05:20,708 INFO  [ProfileServiceImpl] Loading profile: default from: 
org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@e59e40(root=C:\JBOSS5.0\jboss-5.0.0.GA\server,
 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,server=default,name=default])
12:05:20,708 INFO  [ProfileImpl] Using 
repository:org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@e59e40(root=C:\JBOSS5.0\jboss-5.0.0.GA\server,
 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,server=default,name=default])
12:05:20,708 INFO  [ProfileServiceImpl] Loaded profile: 
profilei...@1b2e44d{key=org.jboss.profileservice.spi.profilekey@143b82c3[domain=default,server=default,name=default]}
12:05:22,440 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
12:05:30,553 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
12:05:30,553 INFO  [NativeServerConfig] 3.0.4.SP1
12:05:39,493 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
abstractvfsdeploymentcont...@26819581{vfszip:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/deploy/MessageEAR.ear/MessageBean.jar}
12:05:39,493 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
abstractvfsdeploymentcont...@26819581{vfszip:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/deploy/MessageEAR.ear/MessageBean.jar}
12:05:43,222 INFO  [JMXConnectorServerService] JMX Connector server: 
service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
12:05:44,206 INFO  [MailService] Mail Service bound to java:/Mail
12:05:46,406 WARN  [JBossASSecurityMetadataStore] 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.
12:05:46,454 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: 
org.jboss.managed.api.annotation.ManagementComponent
12:05:46,734 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA 
version) - JBoss Inc.
12:05:46,734 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer

[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Messaging Samples

2009-06-12 Thread gaohoward
Hi , 

AS 5.x doesn't have any queues deployed, you need to deploy the queues in order 
to run the examples.

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

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


[jboss-user] [JBoss Messaging] - JBoss 5.0.0& JBoss Messaging 1.4.3 Samples deployment error

2009-06-12 Thread vijay.jbossuser
Hello everyone,
I get the following error when i deploy my JBoss Messaging 1.4.3 Sample 
application with JBoss Application Server 5.0.0.
Could you please check and tell me what is the error.
But when I tried I get this error.
Could you please check and tell.
12:05:15,042 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
12:05:15,042 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: 
SVNTag=JBoss_5_0_0_GA date=200812042120)
12:05:15,042 INFO  [ServerImpl] Bootstrap URL: null
12:05:15,042 INFO  [ServerImpl] Home Dir: C:\JBOSS5.0\jboss-5.0.0.GA
12:05:15,042 INFO  [ServerImpl] Home URL: file:/C:/JBOSS5.0/jboss-5.0.0.GA/
12:05:15,042 INFO  [ServerImpl] Library URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/lib/
12:05:15,042 INFO  [ServerImpl] Patch URL: null
12:05:15,042 INFO  [ServerImpl] Common Base URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/common/
12:05:15,042 INFO  [ServerImpl] Common Library URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/common/lib/
12:05:15,042 INFO  [ServerImpl] Server Name: default
12:05:15,042 INFO  [ServerImpl] Server Base Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server
12:05:15,042 INFO  [ServerImpl] Server Base URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/
12:05:15,042 INFO  [ServerImpl] Server Config URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/conf/
12:05:15,042 INFO  [ServerImpl] Server Home Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default
12:05:15,042 INFO  [ServerImpl] Server Home URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/
12:05:15,042 INFO  [ServerImpl] Server Data Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\data
12:05:15,042 INFO  [ServerImpl] Server Library URL: 
file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/lib/
12:05:15,042 INFO  [ServerImpl] Server Log Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\log
12:05:15,042 INFO  [ServerImpl] Server Native Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp\native
12:05:15,057 INFO  [ServerImpl] Server Temp Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp
12:05:15,057 INFO  [ServerImpl] Server Temp Deploy Dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp\deploy
12:05:15,993 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
12:05:16,790 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
12:05:16,806 INFO  [VFSCacheFactory] Using VFSCache 
[IterableTimedVFSCache{lifetime=1800, resolution=60}]
12:05:17,164 INFO  [CopyMechanism] VFS temp dir: 
C:\JBOSS5.0\jboss-5.0.0.GA\server\default\tmp
12:05:17,164 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:05:18,476 INFO  [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc.
12:05:18,476 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
11.0-b16,Sun Microsystems Inc.
12:05:18,476 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
12:05:18,539 INFO  [JMXKernel] Legacy JMX core initialized
12:05:20,708 INFO  [ProfileServiceImpl] Loading profile: default from: 
org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@e59e40(root=C:\JBOSS5.0\jboss-5.0.0.GA\server,
 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,server=default,name=default])
12:05:20,708 INFO  [ProfileImpl] Using 
repository:org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@e59e40(root=C:\JBOSS5.0\jboss-5.0.0.GA\server,
 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,server=default,name=default])
12:05:20,708 INFO  [ProfileServiceImpl] Loaded profile: 
profilei...@1b2e44d{key=org.jboss.profileservice.spi.profilekey@143b82c3[domain=default,server=default,name=default]}
12:05:22,440 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
12:05:30,553 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
12:05:30,553 INFO  [NativeServerConfig] 3.0.4.SP1
12:05:39,493 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
abstractvfsdeploymentcont...@26819581{vfszip:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/deploy/MessageEAR.ear/MessageBean.jar}
12:05:39,493 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
abstractvfsdeploymentcont...@26819581{vfszip:/C:/JBOSS5.0/jboss-5.0.0.GA/server/default/deploy/MessageEAR.ear/MessageBean.jar}
12:05:43,222 INFO  [JMXConnectorServerService] JMX Connector server: 
service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
12:05:44,206 INFO  [MailService] Mail Service bound to java:/Mail
12:05:46,406 WARN  [JBossASSecurityMetadataStore] 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.
12:05:46,454 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: 
org.jboss.managed.api.annotation.ManagementComponent
12:05:46,734 INFO  [TransactionMan

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss [Zion] 4.0.2 HANGS at startup on HP-UX B.11.11, PA_

2009-06-12 Thread jaikiran
How are you taking the thread dumps? See if this helps 
http://www.jboss.org/community/wiki/StackTrace

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-12 Thread jaikiran
Make sure your JBossAS-5.x is running

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

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


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

2009-06-12 Thread RichardTaylor
For the sake people that come across this in in the future see: 
http://www.jboss.org/community/wiki/HttpSession

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

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


[jboss-user] [Clustering/JBoss] - How to make field-granularity-session-cache the default http

2009-06-12 Thread dbschofield
Working with JBoss AS 5.1, I would like to use the 
field-granularity-session-cache as the server's default http session cache.  Is 
there a way to make JBoss default to this cache?

Also, reading the JBoss AS5 Clustering guide it says that in order to use field 
replication you have to annotate your classes with 
"@org.jboss.cache.aop.AopMarker" and precompile the code with aopc.  Does this 
still hold true with JBoss AS 5.1?  I would like for classes stored in session 
to remain portable between application server if possible..

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

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


[jboss-user] [JCA/JBoss] - Re: JCA build error

2009-06-12 Thread ruperty
Thanks, look like it was something in my classpath.

Rupert

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

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


[jboss-user] [Security & JAAS/JBoss] - Urgent -Please - Custom Security Manager doesn't work!

2009-06-12 Thread s_difranca
Hi,

sorry in advance for mya bad english!!

I have implemented my specific class to implement a JaasSecurityManager (class 
name is JProSecurityManager).

i have configured the following files hot indicated in many threads fo this 
forum:

-file conf/jboss-service.xml:


  |   
  |   true
  |   org.cogest.security.JProSecurityManager
  |   anonymous
  |   
  |1800
  |   
  |   60
  |   
  |   false
  |
  | 

.- file deploy/security/security-jboss-beans.xml:


  |org.cogest.security.JProSecurityManager
  | 

Then I copied my file ".jar" that contains the classes related to my custom 
SecurityManager, in the lib directory of the my jboss' configuration.

I tried to do the authentication but the log file of JBoss (even setting the 
log level to trace) will evice that is used only default JaasSecurityManager.

What's wrong?

Please Help me is urgent!
Thank you in advance!

anonymous wrote : anonymous wrote : 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Communicate between WAR and EJB in separate servers.

2009-06-12 Thread samwan808
Hi,

I don't know whether anybody knows in what way how to code WAR application (eg. 
struts) in Tomcat in one server to communicate with EJB beans in JBOSS which is 
located in another server?

Any links/example is very much appreciated.

Thanks 

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

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


[jboss-user] [JNDI/Naming/Network] - Communicate between WAR and EJB in separate servers.

2009-06-12 Thread samwan808
Hi,

I don't know whether anybody knows in what way how to code WAR application (eg. 
struts) in Tomcat in one server to communicate with EJB beans in JBOSS which is 
located in another server?

Any links/example is very much appreciated.

Thanks 

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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-12 Thread ravindrashinde11
azc

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't deploy a struts2 application

2009-06-12 Thread JRookie_2402
Hi jaikiran,

I deployed by copy and paste.
If I install JBoss 5.1 I have to do this in a new directory and transfer then 
step by step my configurations from JBoss 5.0, isn't it? 
There is no way to simply just "upgrade" ???
Regards 
JRookie

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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-12 Thread ravindrashinde11
Hi Peter. 

I done a setup for JBOSS4.2.2 .While running Dependency walker some dlls were 
missing I added them. But still in Dependency walker log window error is Error: 
  "The Side-by-Side configuration information for 
"d:\iwatch\php5servlet-windows-sp1-i586\php\bin\PHP5SERVLET.DLL" contains 
errors. This application has failed to start because the application 
configuration is incorrect. Reinstalling the application may fix this problem 
(14001)."

I followed below steps. Is anything missing.

Steps for PHP integration with JBOSS
1) Downloaded and unzip JBoss Appplication server 4.2.2 at location 
D:\iWatch\jboss-4.2.2
2)  Download and unzip the PHP module from 
http://labs.jboss.com/portal/jbossweb/downloads . Call this directory as 
D:\iWatch\php5servlet-windows-SP1-i586\PHP
3)  Downloaded and installed  JBoss Native 
jboss-native-2.0.1-windows-i686-ssl: 
http://www.jboss.org/jbossweb/downloads/jboss-native/?action=a&windowstate=maximized
4)   Copy JBoss Native into JBossHome directory, confirm whether you have 
D:\iWatch\jboss-4.2.2.GA\bin\native directory.
5)  Make sure you do not have a stray php.ini file lying around. 
6)  moved the php.ini to the windows directory
7)  Set the php5servlet\bin & php5servlet\bin\ext in PATH variable.
8)   Download php5servlet.dll from 
http://members.cox.net/ocjohnsons/php5servlet.zip 
Replace it with php5servlet\bin
8)Copy php5servlet\webapps\php-examples.war into 
JBOSS_HOME\server\default\deploy. 
9) added a Listener to the server.xml in 
server\default\deploy\jboss-web.deployer

10) JBOSS_HOME/server/default/deploy/jbossweb.sar/conf/web.xml 
Edit this as

php
org.jboss.web.php.Handler

  debug
  0

 6


phps
org.jboss.web.php.Highlight


   
 php  
 *.php  
   
   
 phps  
 *.phps  
 
11) Download jbossweb-extras.jar for php 
http://anonsvn.jboss.org/repos/jbossreflex/trunk/php/jbossweb-extras.jar 

Copy to JBOSS_HOME\server\default\lib 

11. Environment variables setup done.





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

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


[jboss-user] [JBoss Tools (users)] - Re: Visual Page Editor support the new layout components in

2009-06-12 Thread max.ander...@jboss.com
dmaliarevich, could you tell how the layout is done ?

Is it an approximation limited to specific layout logical names or are we using 
css info to render a precise layout or how ?


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

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


[jboss-user] [EJB 3.0] - Re: Database independent persistence

2009-06-12 Thread vjtech20nn
How about following parameters for @GeneratedValue  annotations. 

strategy = GenerationType.AUTO

http://www.jboss.org/community/wiki/GeneratedValue

http://docs.jboss.org/hibernate/stable/core/reference/en/html_single/#mapping-declaration-id-generator

How about two different mapping file for this Entity depending on environment ? 
downside is you have 2 create mapping configuration files.


If you come across a solution, please share.

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

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


[jboss-user] [JCA/JBoss] - RAR configuration best practice

2009-06-12 Thread cpslo1999
I'm writing a inbound connector for a legacy system using JCA 1.5. There are 
several configuration parameters which I've exposed through the ResourceAdapter 
bean mechanism and set in the ra.xml file (not because this is the best way 
necessarily, but because I was trying to get the whole thing working). These 
include the connection URL, proxy information, and log in credentials.

Where is the best place (or best practice) for this type of configuration 
information?

Thanks,

Josh

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

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


[jboss-user] [JBoss Tools (users)] - Re: Visual Page Editor support the new layout components in

2009-06-12 Thread dmaliarevich
I've fixed rich:layout problem with source code ordering of rich:layoutPanels. 
So in the new release layout will work better. Now I'm working on panel's width 
to diplay layout as close to richfaces does as possible.

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-12 Thread samwan808
I found out a problem.
Initially I started Jboss5.0 GA with the following command
/usr/local/jboss5/bin/run.sh -b 192.168.1.246

After I restart jboss with /usr/local/jboss5/bin/run.sh (without any argument),
it listen to localhost 1099.

Then the command "ant run" was executed successfully.
May I ask how to instruct ant to run on 192.168.1.246 instead localhost? or 
setup JBOSS to listening on 192.168.1.246 AND localhost?

Thanks


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

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


[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-12 Thread jbarrez
In jBPM3, you can make a node 'async', which does exactly that

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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-12 Thread jbarrez
Different execution modes is something that will be worked out in one of the 
next versiosn (ie 4.x). Do note that the use cases for business procecess with 
no persistency are extremely limited. You're talking more about modeling 
algortihms then instead of business processes, where generally one thinks in 
minutes, hours, days or even months. In-memory execution is not an option in 
these cases.

I did a performance test of jBPM3 in the past:

http://www.jorambarrez.be/blog/2008/04/14/short-jbpm-performance-showdown/

As you can see, even with persistency jBPM3 was fast imo. Do note that 4.0 is a 
first release, where stability and use case coverage is the goal. Performance 
will certainly be tackled in the coming months.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss [Zion] 4.0.2 HANGS at startup on HP-UX B.11.11, PA_

2009-06-12 Thread xoriant_jboss
we tried to issue thread dump command...but nothing is printed in the 
logs/console..:(

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM4 - Question about ProcessElementImpl.WireProperties

2009-06-12 Thread jbarrez
Those methods are used for wiring jBPM objects together (aka dependeny 
management). So unless you really want to do something extremely exotic, you'll 
never need them.

A good indication is the fact that the class is in the *.internal.* package. 

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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-12 Thread golubec
Thank you again!

The in-memory execution mode - is what i will be looking for in jBPM ))

Howere, jBPM roadmap says nothing about different execution modes.


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Transferring entities on the client side

2009-06-12 Thread dimar1975
Hi all !
I'm writing an application which uses Hibernate for querying DB Objects. I have 
a manager class which Starts an Hibernate Session and returns the Objects to 
the application:

public static List findRoot() {
  |  Session session = 
SessionFactoryUtil.getSessionFactory().getCurrentSession();
  |  session.beginTransaction();
  |  Query query = session.createQuery("FROM MyObject");
  |session.getTransaction().commit();
  |return (List)query.list();
  |   }

The problem is that, if I issue a session.commit(), then I'm not able to return 
Objects, rather Hibernate issues "org.hibernate.SessionException: Session is 
closed!"

What is the correct way to return Objects ?

Should I issue a commit from my application, after I have Iterated on the 
Objects ? (I don't like this solution, becuase I'd like to keep separated the 
Hibernate logic from the front-end layer)

Should I rather clone the objects and return the detached cloned object to the 
client ?

What happens instead if I don't issue the commit after the Query ? the session 
will stay open and therefore I'll have DB leaks ?

thanks a lot
Marco


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss [Zion] 4.0.2 HANGS at startup on HP-UX B.11.11, PA_

2009-06-12 Thread xoriant_jboss
Hi Jaikiran,

Thanks for prompt reply.this is a 10 cluster machine env. and on other 
machines it is working fine...and since its inception we have not faced such an 
issue with JBOSS 4.0.2...it works fine otherwise...reason of using older 
version is that the product is as old as the JBOSS version...at that time JBOSS 
4.0.2 was the latest available version and client is happy with it...I dont see 
any reason why it should not work with JBOSS4.0.2, we are using it since long 
time.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't deploy a struts2 application

2009-06-12 Thread jaikiran
The application contents look fine to me, except that the application packages 
even the source java files. But that should not cause any issues. 

How are you deploying the application? From an IDE or simply by copy/paste in 
deploy folder? And can you download the latest JBoss AS 5.1.0 GA and see if 
this works there?


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss [Zion] 4.0.2 HANGS at startup on HP-UX B.11.11, PA_

2009-06-12 Thread jaikiran
anonymous wrote : neither we can take thread dump... 

What's the reason?

And any specific reason for using a very old version of JBoss AS?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss [Zion] 4.0.2 HANGS at startup on HP-UX B.11.11, PA_RI

2009-06-12 Thread xoriant_jboss
Hi,

Below given is my env. configuration

App server : JBoss [Zion] 4.0.2
OS : HP-UX B.11.11,PA_RISC2.0
jdk version : 1.4.2.09,Hewlett-Packard Co.

And below are the traces 


Sorry cannot give full log details due to security reasons...

01:28:42,570 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for 
event: 
javax.management.Notification[source=jboss.system:service=ServiceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber=94,timeStamp=1244568522569,message=null,userData=jboss.jca:service=WorkManagerThreadPool]
01:28:42,570 DEBUG [ServiceController] Creating dependent components for: 
jboss.jca:service=WorkManagerThreadPool dependents are: [ObjectName: 
jboss.jca:service=WorkManager
  State: CONFIGURED
  I Depend On:
jboss.jca:service=WorkManagerThreadPool
jboss:service=TransactionManager
  Depends On Me:
jboss.jca:service=RARDeployer
]
01:28:42,570 DEBUG [ServiceController] Creating service 
jboss.jca:service=WorkManager
01:28:42,584 DEBUG [JBossWorkManager] Creating jboss.jca:service=WorkManager
01:28:42,584 DEBUG [JBossWorkManager] Created jboss.jca:service=WorkManager
01:28:42,584 DEBUG [LocalJBossServerDomain] handleNotification: 
javax.management.Notification[source=jboss.system:service=ServiceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber=95,timeStamp=1244568522584,message=null,userData=jboss.jca:service=WorkManager]
01:28:42,585 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for 
event: 
javax.management.Notification[source=jboss.system:service=ServiceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber=95,timeStamp=1244568522584,message=null,userData=jboss.jca:service=WorkManager]
01:28:42,585 DEBUG [ServiceController] Creating dependent components for: 
jboss.jca:service=WorkManager dependents are: [ObjectName: 
jboss.jca:service=RARDeployer
  State: CONFIGURED
  I Depend On:
jboss.jca:service=WorkManager
jboss:service=TransactionManager
]
01:28:42,585 DEBUG [ServiceController] Creating service 
jboss.jca:service=RARDeployer
01:28:42,585 DEBUG [RARDeployer] Creating jboss.jca:service=RARDeployer
01:28:42,604 DEBUG [RARDeployer] Created jboss.jca:service=RARDeployer
01:28:42,604 DEBUG [LocalJBossServerDomain] handleNotification: 
javax.management.Notification[source=jboss.system:service=ServiceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber=96,timeStamp=1244568522604,message=null,userData=jboss.jca:service=RARDeployer]
01:28:42,605 DEBUG [ServiceController] Creating dependent components for: 
jboss.jca:service=RARDeployer dependents are: []
01:28:42,605 DEBUG [ServiceController] Creating service 
jboss.jca:service=WorkManager
01:28:42,605 DEBUG [ServiceController] Ignoring create request for service: 
jboss.jca:service=WorkManager
01:28:42,605 DEBUG [ServiceController] Creating service 
jboss.jca:service=RARDeployer
01:28:42,606 DEBUG [ServiceController] Ignoring create request for service: 
jboss.jca:service=RARDeployer
01:28:42,606 DEBUG [ServiceController] Creating service 
jboss.jca:service=ConnectionFactoryDeployer


after the above line there is no activity happening in the machine neither 
JBOSS starts completely neither we can take thread dump...

Any help or suggestion would of great use

Thanks in Advance
JBOSS USER


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

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


[jboss-user] [JBoss jBPM] - Signal process instance asynchronous

2009-06-12 Thread hhhuber
Hello,

i want to start a new process instance in an asynchronous way. 
what i think of is a solution where i create a process instance and then call a 


  | processInstance.signalAsync();
  | 

The call to signalAsync() does return immetiately and the process instance is 
scheduled like a timer and signaled from the jobexecutorthread.

any ideas how to achieve this in jbpm 3.2.5?

do i have to implement my own SignalProcessAsyncJob class to be able to 
schedule the signaling?

kind regards,

oliver



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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-12 Thread kukeltje
http://www.jboss.org/community/wiki/jBPM4ExecutionModes

Not sure how to configure those if it is possible at all in the initial 4.0 
release. Might be that some other modes will become available in 4.0.x or 4.1

And yes, multiple threads is indeed an option. In the performance tuning 
article the jbpm 'client' (your application) can start multiple parallel 
request e.g. via webpages. If you need some kind of batch processing, use e.g. 
jms to do parallel things with one simple mdb on a queue that starts one 
process if something is put in the queue and have  x mdb's then

The reason the article talks about increasing the threads is because async jbpm 
functionality in the background. If you start many processes, but only have one 
thread executing jobs (e.g. timers) a huge bottleneck is introduced there. 

hth



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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-12 Thread golubec
Thanks kukeltje,

I've read that blog about performance before as well as your jbpmplanet blog 
too. 

As for "tuning-jbpm-in-cluster.html" the point there is demonstration of jBPM 
scalalability rather than performance i guess. 

For me it's not clear whether workflow under the test is complex or a simple 
one (as one i'm using), because for 2000 "escalations" (is it jBPM 
terminology?) even the best time of 34 secs doesn't look great.

But "tuning-jbpm-in-cluster.html" also mentions that number of threads which 
execute process can be increased - may be that's the way i could achieve better 
performance in my case? 

Another question is there only one way to run the same process multiple times:

  Execution execution = 
executionService.startProcessInstanceByKey("NoOperation");

, or may be other approaches exist which would allow better performance, 
considering more constraints of course.

If you ask me - 3 millisecs  per process isn't very good result - don't blame 
me, but i've tried Drools Flow with similar NoOperation flow where only start 
and end present. The results i got were - [0.5 ... 10,5] secs depending on the 
how the sessions are treated. I understand that the process state in jBPM is 
persisted and it will always have impact on the performance. 

May be it's not a correct question but is it possible to disable process state 
persistency, so DB won't be involved at all??

As i said am just making evalution and try to choose the right technology for 
"workflow" engine which could face our near real-time requirements.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JNDI Deployment

2009-06-12 Thread manik.surt...@jboss.com
Could you please create a JIRA for this, for us to investigate.

Thanks
Manik

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

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


[jboss-user] JDBC Connection close every 15 ...:( plz

2009-06-12 Thread Karthik Nanjangude
Hi


We are facing Connection used up every 15 minutes on
We suspect the jboss server is not releasing the JDBC connection
on using the close()  method

JBOSS 4.2.1 or  4.2.3
JDK1.5.x
O/s Linux Redhat
Jdbc jar : ojdbc14.jar


Or am I missing any thing ?
Please some body help  me

The code is as shown below

//Oracle-ds.xml

jdbc/OrclVOISE5000
jdbc:oracle:thin:@172.16.18.22:1521:GTS22
oracle.jdbc.driver.OracleDriver
tt_VOISE50
tt_VOISE50
20
80
500
1
false

Oracle10g




// global Declared Variables
DataSource ODS = null;
WrappedConnection WCP = null;

//Singleton Pattern
public static synchronized public DBConnectionManager getInstance() throws 
Exception {
  if (instance == null) {
 instance = new DBConnectionManager();
  }
   return instance;
}


//Constructer
private DBConnectionManager() throws Exception {
 String DSNAME = InfinetUtility.getProperty("DSNAME").trim();
 System.out.println("DATASOURCE JNDI NAME :===>|"+DSNAME+"|<=");
 InitialContext ic = null;
 try {
ic = new InitialContext();
   ODS = (javax.sql.DataSource) ic.lookup(DSNAME);
 } catch (NamingException e) { e.printStackTrace();}
}


//fetch connection
public synchronized Connection getConnection(){
  Connection conn = null;
  Connection underlyingConn = null;
  OracleConnection connection= null;
  try {
conn = ODS.getConnection();
WCP = (WrappedConnection)conn;
underlyingConn = WCP.getUnderlyingConnection();
conn =  (OracleConnection)underlyingConn;
  } catch (SQLException sqlex) {
 System.out.println("<<< NO CONNECTION" + 
sqlex.getMessage()

   }
  return conn;
}


//Connection close
public void freeConnection(Connection con)  {
System.out.println("RELEASING THE USED CONNECTION TO POOL");
try {
  con.close();
}catch (Exception e) {
e,printStackTrace();
}
}




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


[jboss-user] [JBoss Portal] - Re: PortletStateHolder

2009-06-12 Thread FelderR
Just implemented the filter and the clearing of the states LRUMap. As I can see 
all the normal Request/Responses work fine. The Problem occurs when using Ajax 
based Richfaces requests (eg ExtendedDataTable with filtering and sorting):

javax.faces.FacesException: No saved portlet window state for an id 
4c4fd449-3557-426b-8cd5-f864c24692be:view:2cfaa740-1be3-46a4-bef4-28ece52dcd46
at 
org.jboss.portletbridge.context.ServletExternalContextImpl.(ServletExternalContextImpl.java:101)

So now that I know why the states are cached I have a better solution solving 
the Memory Leak! The PortletStateHolder needs to hold the state as long as one 
page is doing Ajax based requests. So if the next page is requested 
PortletStateHolder does not need the old state any more so it can clearly 
remove it! So when adding a new WindowState we remove the old WindowStates for 
this session id:


  | private void clearExpiredSessionStates(String sessionId) {
  |if (states != null && sessionId != null) {
  |   for (StateId stateid : states.keySet()) {
  |  if (sessionId.equals(stateid.getScopeId())) {
  | states.remove(stateid);
  |  }
  |   }
  |}
  | }
  | public void addWindowState(StateId stateId, PortletWindowState state) {
  |clearExpiredSessionStates(stateId.getScopeId());
  |states.put(stateId, state);
  | }
  | 

There's one drawback with this solution if there is more than one window open 
one of the windows get an error when doing Ajax based requests as we only store 
one state per session.

Working on a solution to this. Any ideas?

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-12 Thread samwan808
"jaikiran" wrote : anonymous wrote : BUILD FAILED
  |   | /usr/java-source/ejb3-tutorial/source/stateless/build.xml:33: 
/usr/java-source/ejb3-tutorial/source/stateless/${env.JBOSS_HOME}/client not 
found. 
  | 
  | See this 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/JBossAS5.html
Thanks for the help.
I have it compiled with ant, but failed when it is trying to do the binding:
twp1:stateless # ant
Buildfile: build.xml

prepare:
[mkdir] Created dir: /usr/java-source/ejb3-tutorial/source/stateless/build
[mkdir] Created dir: 
/usr/java-source/ejb3-tutorial/source/stateless/build/classes

compile:
[javac] Compiling 5 source files to 
/usr/java-source/ejb3-tutorial/source/stateless/build/classes

ejbjar:
  [jar] Building jar: 
/usr/java-source/ejb3-tutorial/source/stateless/build/jboss-ejb3-tutorial-stateless.jar
 [copy] Copying 1 file to /usr/local/jboss5/server/default/deploy

BUILD SUCCESSFUL
Total time: 3 seconds
twp1:stateless # ant run
Buildfile: build.xml

prepare:

compile:

ejbjar:

run:
 [java] Exception in thread "main" javax.naming.CommunicationException: 
Could not obtain connection to any of these urls: localhost and discovery 
failed with error: javax.naming.Communication
Exception: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out] [Root exception is 
javax.naming.CommunicationException: Failed to connect to server localhost:1
099 [Root exception is javax.naming.ServiceUnavailableException: Failed to 
connect to server localhost:1099 [Root exception is java.net.ConnectException: 
Connection refused]]]
 [java] at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1727)
 [java] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:680)
 [java] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
 [java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
 [java] at 
org.jboss.tutorial.stateless.client.Client.main(Client.java:34)
 [java] Caused by: javax.naming.CommunicationException: Failed to connect 
to server localhost:1099 [Root exception is 
javax.naming.ServiceUnavailableException: Failed to connect to server loc
alhost:1099 [Root exception is java.net.ConnectException: Connection refused]]
 [java] at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:311)
 [java] at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1698)
 [java] ... 4 more
 [java] Caused by: javax.naming.ServiceUnavailableException: Failed to 
connect to server localhost:1099 [Root exception is java.net.ConnectException: 
Connection refused]
 [java] at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:281)
 [java] ... 5 more
 [java] Caused by: java.net.ConnectException: Connection refused
 [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
 [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 [java] at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 [java] at java.net.Socket.connect(Socket.java:519)
 [java] at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
 [java] at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
 [java] at 
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:277)
 [java] ... 5 more
 [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 6 seconds

JBOSS is with version 5.0 GA and listening on port 8080.

Thanks heaps


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

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


[jboss-user] [JBoss Tools (users)] - Re: Tool stable 3.0.1 and JBoss 5.1.0 GA

2009-06-12 Thread xmedeko
Great! Anyway, current release work for me fine.

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

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


[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-12 Thread kukeltje
Best is to start with the source, since these parts are not documented yet. If 
you do, would be nice if you could e.g blog about it 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Tool stable 3.0.1 and JBoss 5.1.0 GA

2009-06-12 Thread max.ander...@jboss.com
note, 5.1 support is planned to be available in a 3.0.x maintenance release.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with Jboss 5.0.1.GA under elipse 3.4.2

2009-06-12 Thread max.ander...@jboss.com
The stacktrace shows that the class is of an incompatible version. I.e. you get 
this if you run JBoss with Java5 but your classes is compiled to run on Java 6.

Any chance that happend for you ? 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Strange deployment with rar files instead of jar files.

2009-06-12 Thread max.ander...@jboss.com
spOOnman, not sure what you did but .rar is JavaEE resource adapter archives 
which you use when doing JCA.

Any chance you enable JCA or connectors in your project ?

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

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


[jboss-user] [JBoss Messaging] - Re: Serious idle problem with Bridges on AS 5.1.0.Beta

2009-06-12 Thread gaohoward
Hi, 

Just tried with 5.1.0.GA (JBM is the same as Beta). Bridge server has been 
deployed for over 19 hours without sending any messages. Then I tried to send 
messages and the bridge works normally.

Do you have any opinions on how to reproduce it?

Thanks



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

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


[jboss-user] [JBoss Tools (users)] - Re: Visual Page Editor support the new layout components in

2009-06-12 Thread max.ander...@jboss.com
Krasig,

Until we get proper code completion for they layout components you can take a 
look at Richfaces documentation about layout components 

http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/rich_layout.html

 and if you are lazy and just want to see it try out the test files we used for 
verifying the functionallity (yes, they are intentional ugly visually but shows 
the layout mechanism ;)

https://anonsvn.jboss.org/repos/jbosstools/trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/page/

Feedback welcome ;)

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Stateless Bean Question (Based on JBoss Tutorial)

2009-06-12 Thread jaikiran
anonymous wrote : However, shouldn't Calculator  be hidden from the client? 

Calculator is the interface and not the bean implementation class. Clients are 
expected to work on interfaces of the bean. 
anonymous wrote : 
  | CalculatorBean seems to be the name of the jar file, and hence the name 
publicised to JBoss' JNDI server. 

That actually is the default jndi name of the bean (which is the same as the 
bean name). That can be configured to be anything else 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/JNDI_Bindings.html

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

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


[jboss-user] [JBoss Messaging] - Re: JBossMQ talking to remote Tibco EMS

2009-06-12 Thread gaohoward
If the remote JMS server is from Tibco, and you want to connect to it. Option 1 
is the normal way, and you need Tibco's client jar.

As for Option 2, you have to consult Tibco's document for how to do it.

By the way, this forum is for JBoss Messaging questions. For other products, 
you may not get much help here.



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

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


[jboss-user] [JBoss Portal] - portlet class name from a portalNode ??

2009-06-12 Thread je.a.le
hi,

I use the portalNode/property system of jbp to save some specific informations 
for portlet instance.
I also use my own node tree browser too, authentificated user can use to 
set/update some properties (No regular use have access to jbp admin pages, 
never...).
 When facing a PotalNode.TYPE_WINDOW, how can I get more informations about the 
portlet : its class type ???

with sample  : 
A portlet MyPortlet, an Instance MyPortletInstance, added to 
/portal/portal/test page as myportlet.
>From /portal/portal/test/myportlet node, how could I know is class MyPortlet 
>??? Is there a jmx service I can call ??

Thanks

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-12 Thread jaikiran
JBoss Tools forum http://www.jboss.org/index.html?module=bb&op=viewforum&f=201 
might be a good place for this question. Please post your question there. 

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-12 Thread jaikiran
anonymous wrote : BUILD FAILED
  | /usr/java-source/ejb3-tutorial/source/stateless/build.xml:33: 
/usr/java-source/ejb3-tutorial/source/stateless/${env.JBOSS_HOME}/client not 
found. 

See this 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/JBossAS5.html

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

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


[jboss-user] [Clustering/JBoss] - Re: JVM Free Memory

2009-06-12 Thread Allen_Lei
The same configurations to both servers are not always mean the same usage of 
memory in clusting.It also infected by the client requests each web server 
serves.

And in clusting,the requests each worker node serves are defined by the 
"lbfactor" directive,see below:

workers.properties

  | # Define Node1
  | worker.node1.port=8009
  | worker.node1.host=192.168.10.128
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | 
  | # Define Node2
  | worker.node2.port=8009
  | worker.node2.host= 192.168.10.129
  | worker.node2.type=ajp13
  | worker.node2.lbfactor=3

As you can see as above,the node2(lbfactor=3) will serve three times requests 
more than the node1(lbfactor=1).In this situation,the memory usage of node2 
maybe more than node1 depends your app.

Hope this will help you. 

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

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


[jboss-user] [Clustering/JBoss] - Re: Security Within a Cluster

2009-06-12 Thread vsmadmin
That's just what I wanted, thanks a lot

Chris

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 under

2009-06-12 Thread Torleif
I need some help to find a page or two where i can read and learn to install;

Jboss Application Server 5.0.1.GA

Jboss Tools 3.1 Milestone 1

Eclipse 3.5

Anybody who can help me with this? I am fairly new to all this so i would need 
some help to learn how to install all this in the right way on a Mac 10.5 . 
  

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-12 Thread samwan808
"jaikiran" wrote : anonymous wrote : 
/usr/java-source/ejb3-tutorial/source/stateless/src/org/jboss/tutorial/stateless
 
  | 
  | You are in the wrong folder. You should be in:
  | 
  | /usr/java-source/ejb3-tutorial/source/stateless/
  | 
  | 
  | anonymous wrote : The tutorial page doesn't say anything about how to setup 
the build process
  | 
  | It does have a Building and Running section 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Stateless_Beans.html
 which says:
  | 
  | anonymous wrote : From the command prompt, move to the "stateless" folder 
under the EJB3_TUTORIAL_HOME ...
OK, after set the tutorial home directory , moved to the stateless folder, and 
type ant, I got the following error:
twp1:ejb3-tutorial # cd source/stateless
./  ../ build.xml   
jndi.properties log4j.xml   pom.xml src/
twp1:stateless # ant
Buildfile: build.xml

BUILD FAILED
/usr/java-source/ejb3-tutorial/source/stateless/build.xml:33: 
/usr/java-source/ejb3-tutorial/source/stateless/${env.JBOSS_HOME}/client not 
found.

Total time: 0 seconds
twp1:stateless # 

Here is where I executed the ant command:
twp1:stateless # pwd
/usr/java-source/ejb3-tutorial/source/stateless
twp1:stateless # 

Thanks

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-12 Thread jaikiran
anonymous wrote : 
/usr/java-source/ejb3-tutorial/source/stateless/src/org/jboss/tutorial/stateless
 

You are in the wrong folder. You should be in:

/usr/java-source/ejb3-tutorial/source/stateless/


anonymous wrote : The tutorial page doesn't say anything about how to setup the 
build process

It does have a Building and Running section 
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Stateless_Beans.html
 which says:

anonymous wrote : From the command prompt, move to the "stateless" folder under 
the EJB3_TUTORIAL_HOME ...

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

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