[JBoss-user] [Installation, Configuration & Deployment] - Re: On upgrade to JBoss 4.0, javax.ejb.SessionBean class not

2006-01-05 Thread aisrael
Thanks. I guessed as much. Here's the relevant part of the console log if I 
don't set JBOSS_CLASSPATH before calling "run.sh":
2006-01-06 14:32:16,318 DEBUG [org.jboss.deployment.MainDeployer] Starting 
deployment of package: 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,318 DEBUG [org.jboss.deployment.MainDeployer] Starting 
deployment (init step) of package at: 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,319 DEBUG [org.jboss.deployment.MainDeployer] Copying 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
 -> 
/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/tmp/deploy/tmp15196ActivityJB.jar
  | 2006-01-06 14:32:16,329 DEBUG [org.jboss.deployment.MainDeployer] using 
deployer MBeanProxyExt[jboss.ejb:service=EJBDeployer]
  | 2006-01-06 14:32:16,330 DEBUG [org.jboss.ejb.EJBDeployer] init, 
ActivityJB.jar
  | 2006-01-06 14:32:16,339 DEBUG [org.jboss.ejb.EJBDeployer] looking for 
nested deployments in : 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,342 DEBUG [org.jboss.webservice.ServiceDeployer] 
handleNotification: org.jboss.deployment.SubDeployer.init,ActivityJB.jar
  | 2006-01-06 14:32:16,343 DEBUG [org.jboss.deployment.DeploymentInfo] 
createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: 
JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: 
null, configParserClassName: null, repositoryConfig: null)
  | 2006-01-06 14:32:16,343 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New 
jmx UCL with url 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/tmp/deploy/tmp15196ActivityJB.jar
  | 2006-01-06 14:32:16,343 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] 
url=file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/tmp/deploy/tmp15196ActivityJB.jar
 ,addedOrder=0}
  | 2006-01-06 14:32:16,343 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] 
url=file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/tmp/deploy/tmp15196ActivityJB.jar
 ,addedOrder=0}
  | 2006-01-06 14:32:16,344 DEBUG 
[org.jboss.mx.loading.UnifiedLoaderRepository3] Adding [EMAIL PROTECTED] 
url=file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/tmp/deploy/tmp15196ActivityJB.jar
 ,addedOrder=0}
  | 2006-01-06 14:32:16,354 DEBUG [org.jboss.deployment.MainDeployer] found 0 
subpackages of 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,354 DEBUG [org.jboss.deployment.MainDeployer] Watching 
new file: 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,355 DEBUG [org.jboss.deployment.MainDeployer] create 
step for deployment 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,355 DEBUG [org.jboss.ejb.EJBDeployer] create, 
ActivityJB.jar
  | 2006-01-06 14:32:16,664 DEBUG [org.jboss.ejb.EJBDeployer] Verifying 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | 2006-01-06 14:32:16,810 WARN  [org.jboss.ejb.EJBDeployer.verifier] EJB spec 
violation: 
  | Bean   : ActivitySSB
  | Section: 22.2
  | Warning: The Bean Provider must specify the fully-qualified name of the 
Java class that implements the enterprise bean's business methods in the 
 element.
  | Info   : Class not found on 
'com.enterworks.server.ejb.stateless.ActivitySSB': Unexpected error during load 
of: com.enterworks.server.ejb.stateless.ActivitySSB, 
msg=com/enterworks/server/ejb/BaseStatelessBean
  | 
  | 2006-01-06 14:32:16,924 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
  | 2006-01-06 14:32:16,926 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
  | 2006-01-06 14:32:16,955 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
  | 2006-01-06 14:32:16,875 ERROR [org.jboss.deployment.MainDeployer] Could not 
create deployment: 
file:/Users/aisrael/Applications/jboss-4.0.3SP1/server/default/deploy/ActivityJB.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDisp

[JBoss-user] [Beginners Corner] - Entity Beans with BMP : Unable to delete row in database

2006-01-05 Thread guptamala
Hi

I am not able to delete a row in the database, when I execute the remove() 
method. All the other methods and code and working fine as expected. The code 
of the Employee Entity EJB and ejb-jar file are as follows:

/* THE BEAN CLASS */

package labs.banking;

import javax.ejb.*;
import java.rmi.*;
import java.sql.*;
import javax.naming.*;
import javax.sql.DataSource;
import javax.rmi.PortableRemoteObject;

public class CustomerBean implements EntityBean
{
/**/
//variables
private EntityContext entityContext;
private String first, last;
private double balance;
private int accountNumber;
private Connection connection;
private PreparedStatement insert, delete, findByKey, findByName, update;

/**/
//methods
public String getFirstName() throws RemoteException {
return first;
}
/**/
public String getLastName() throws RemoteException  {
return last;
}
/**/
public void deposit(double amount) throws RemoteException {
balance +=amount;
}
/**/
public void withdraw(double amount) throws RemoteException {
balance -=amount;
}
/**/
public double getBalance() throws RemoteException {
return balance;
}
/**/
public CustomerPK ejbCreate(int n, String f, String l, double b) throws 
CreateException {
try {
insert.setInt(1,n);
insert.setDouble(2,b);
insert.setString(3,f);
insert.setString(4,l);
insert.executeUpdate();
}
catch(SQLException e) {
e.printStackTrace();
throw new CreateException(e.getMessage());
}

first = f;
last = l;
balance = b;
accountNumber = n;

CustomerPK key = new CustomerPK();
key.accountNumber = n;
return key;
}
/**/
public void ejbPostCreate(int n, String f, String l, double b) {}
/**/
public CustomerPK ejbFindByPrimaryKey(CustomerPK key) throws 
FinderException {
try {
findByKey.setInt(1, key.accountNumber);
ResultSet result = findByKey.executeQuery();
result.next();
return key;
}
catch (SQLException e) {
e.printStackTrace();
throw new FinderException(e.getMessage());
}
}
/**/
public CustomerPK ejbFindByName(String first, String last) throws 
FinderException {
try {
findByName.setString(1, first);
findByName.setString(2, last);
ResultSet result = findByName.executeQuery();
result.next();

CustomerPK key = new CustomerPK();
key.accountNumber = result.getInt("accountNumber");
return key;
}
catch (SQLException e) {
e.printStackTrace();
throw new FinderException(e.getMessage());
}
}
/**/
public void setEntityContext(EntityContext ec) {
entityContext = ec;
try {
System.out.println("Initialising the context");
Context ctx = new InitialContext();
System.out.println("Lookup the data source");
DataSource source = 
(DataSource)PortableRemoteObject.narrow(ctx.lookup("java:/OracleDS"),DataSource.class);
System.out.println("Found data source");
connection = source.getConnection();


insert = connection.prepareStatement("INSERT into 
BankCustomers VALUES (?,?,?,?)");
System.out.println(insert.toString());
delete = connection.prepar

[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-05 Thread santhosh1
Thanks Paul. But I think what you told is for html. But here, in JBoss Portal 
2.2, how can we do it for maximized/minimized images (which are not specified 
inside default/index.html)? I think it's not a possible way what you said. 
Right?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916017


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Jboss->snmp-adaptor->snmptrapd->snmptt configuration iss

2006-01-05 Thread karanUk
Thanks Dimitris :)
That resolved the case.

regards,
nKaranUk

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916016


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Define CMS default page at instance level

2006-01-05 Thread the-gtm
As far a I know (and as far as I understand the sources), the default page for 
the CMS portlet is configured at portlet level. I would like to be able to 
override it at instance level (using instance preferences for instance).
The idea is to have multipe CMS instances displaying their own start page (FAQ, 
disclaimer, etc.)

Do you know if this is possible or if there is a workaround ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916014


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: LOG

2006-01-05 Thread the-gtm
Add a param element


  | 
  | 

to the server.log appender in /conf/log4j.xml

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916013


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Quick question on Linux and JBoss

2006-01-05 Thread Diamantregen
What tools u mean? Normally nothing forces u to have GUI when configuring the 
server.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916012


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Process definition templating?

2006-01-05 Thread icyjamie
Seems like a variant of this question:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=68905

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916011


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Re: Clustering for JBoss Remoting

2006-01-05 Thread linpeizhang
I looked through the clustered transporter example. It looks great. However, 
just to confirm, it can only handle fail-over. It CANNOT handle load balancing. 
I mean round roubin the invocations among clustered servers. Can you confirm 
that? Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916010


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - How to authenticate when click a link on index.html ?

2006-01-05 Thread santhosh1
Hi, 

I have installed JBoss Portal 2.2. I changed default/index.html such that it 
now contains a link to download something, say a zip file. 
My necessity is that the download should be allowed ONLY IF he's a loginned 
user. Else, should be directed to the login page to sign in.
What should be the path for the download link in index.html OR which files 
should I modify to accomplish this? OR, is there any other idea (like by using 
jsp files in index.html)? Please suggest the best way; This is very urgent.

Thanks in advance, 
Santhosh

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916009


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - How to authenticate when click a link on index.html ?

2006-01-05 Thread santhosh1
Hi, 

I have installed JBoss Portal 2.2. I changed default/index.html such that it 
now contains a link to download something, say a zip file. 
My necessity is that the download should be allowed ONLY IF he's a loginned 
user. Else, should be directed to the login page to sign in.
What should be the path for the download link in index.html OR which files 
should I modify to accomplish this? OR, is there any other idea (like by using 
jsp files in index.html)? Please suggest the best way; This is very urgent.

Thanks in advance, 
Santhosh

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916008


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Re: Clustering for JBoss Remoting

2006-01-05 Thread linpeizhang
Thanks, Tom! I will take a look at both approach and let you know what I figure 
out. Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916007


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: deployment guide 'how to'

2006-01-05 Thread lpiccoli
this helps

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71043

-lp

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916006


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how much load can a simple testQueue take which comes wi

2006-01-05 Thread rohit_mca2000
No replies to such a basic Jboss Question, i just need to know that if there is 
an limit to number of messages that can be there in a testQueue that comes with 
JBOSS 4.0 at any given point of time, then how can i increase the capacity , 
please do help me 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916005


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Deploying an war file into JBoss4.0.0.

2006-01-05 Thread Ayusman
Hi All,
I have a simple question,


Can I access an simple java class from a jsp file that I have written by 
putting it in the "classes" folder?? What entry should go in the web.xml file?

Here is my directory structure:

sample.war
|
test.jsp 
|
WEB-INF 
| |
| classes
| ||
| |simpleJavaClass.class
| |
| lib
| |
| web.xml

I want to access the simpleJavaClass.class from the jsp test.jsp.

Please suggest.

Thanks and regards
Ayusman


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916004


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - CacheLoader data eviction?

2006-01-05 Thread dlg
Do nodes get removed from the CacheLoader when they hit maxAgeSeconds? 

Thanks,
Dan

[It looks like part of my problem is that things aren't getting cleaned up from 
the CacheLoader, so Bdbje gets slower and slower, and eventually writes seem to 
timeout.  I assume this only happens with AsyncCacheLoader b/c multiple threads 
must get queued up to wait for a lock.]

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916003


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - deployment guide 'how to'

2006-01-05 Thread lpiccoli
hi all,

i have been trawling through the all the docs on jBPM but i have been 
struggling to get anything deployed. i can't deploy through the GPD plugin as 
there is a infinite wait on saving the processdefinition.xml. So i have been 
looking for simple instructions on manual deployment. Now i have done loads of 
EJB deployment on JBOSS but this JBPM is a different beast. I can't seem to 
find how the .par file is deployed? The build.xml only seems to refer to 
building not deploying.

The old jBPM docs refer to file locations that aren't in the 3.0.2 system.

PLease point my dumb ass to a step by step, hold my hand, connect the dots type 
deployment guide.

many thanks

-lp

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916002


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Transaction demarcation with EJB/CMT

2006-01-05 Thread [EMAIL PROTECTED]
Here is JbpmSession.close() in all its glory:
  public void close() {
  | try {
  |   if ( (session!=null)  && (session.isOpen())) {
  | session.close();
  |   }
  | } catch (Exception e) {
  |   log.error(e);
  |   throw new RuntimeException( "couldn't close the hibernate 
connection", e );
  | } finally {
  |   popCurrentSession();
  |   session = null;
  | }
  |   }
The following line in your Hibernate configuration already closes the Hibernate 
session, so that is out. You won't be able to pop it from the thread-local 
stack because popCurrentSession() is private. This might leak memory in 
containers that pool threads.

Tom is working on a different approach to hold context objects in the 3.1 
branch. It should cover the present situation.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916001


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cookies + clustering + 4.0.3 = ignored context.xml

2006-01-05 Thread coreyjohnston
>> I'm quite certain setting the emptySessionPath switch to false will result 
>> in the cookie path being the context root of the webapp.

Agreed. And I tried this and it works perfectly in that the cookies set by app 
A will not prevent app B from using URL encoding (cookies disabled)..

BUT... 

I'm not sure if JBoss is OK to run with emptySessionPath set to true in 
clustered mode..  See the Jira post: http://jira.jboss.com/jira/browse/JBAS-1400

This seems to suggest that emptySessionPath should be set to true (ie: 
intentionally override Tomcat default) for JvmRouteValve (which I believe is 
used when clustering.. which I am).

So not sure whether its safe to change this default...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915998


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Sample EJB/WEB application for jboss

2006-01-05 Thread kc_sujesh
I want to try ouit a sample j2ee application on jboss. Pls let me know where i 
can find one...also how will we deploy an application on JBOSS...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915997


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: BPEL Process with fault

2006-01-05 Thread [EMAIL PROTECTED]
Your process definition is correct. The issue is, jBPM BPEL does not support 
fault handlers yet. The pieces are already implemented. It is a matter of 
pulling all of them together.

The related JIRA issue is BPEL-9. I'm raising its priority. The next product 
release will feature fault handling.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915996


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Why process editor plug in doesn't work very well on ecl

2006-01-05 Thread lpiccoli
alex,

i have followed you directions to register the GPD schema with the eclipse XML 
catalogue however i am still getting the endless wait on saving a process. It 
is driving me crazy :-(

I am using 
eclipse 3.1.1
GPD 3.0.5

below is the details of the catalogue entry


  | URI:
file:D:\jbpm-starters-kit-3.0.2\jbpm\src\java.jbpm\org\jbpm\jpdl\xml\jpdl-3.0.xsd
  | Key Type:   Namespace Name
  | Key:http://jbpm.org/3/jpdl

any help is appreciated

-lp

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915995


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - LOG

2006-01-05 Thread patrickdalla
How do I disable DEBUG logs to be written in log/server.log?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915994


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - LOG

2006-01-05 Thread patrickdalla
How do I disable DEBUG logs to be written in log/server.log?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915993


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Migrating/Porting Oracle BPEL to JBPM BPEL

2006-01-05 Thread [EMAIL PROTECTED]
@Ronald
In fact, OBPM did not introduce propietary extension for user tasks. Support 
for them is provided by a human workflow service. As long as the BPEL process 
does not invoke that service, everything's cool.

@Kazam
The jBPM designer does not edit BPEL yet. However, as Ronald indicates in the 
topic "web based GPD", an Eclipse BPEL designer is under development. At some 
point we will bundle it with the jBPM designer. We might even become 
contributors if the community demand justifies it.

You can check the release dates anytime in our issue tracking system.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915992


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - CMS File Permission

2006-01-05 Thread patrickdalla
Does Admin CMS Portlet support per file/directory user permission?
CMS Portlet uses Slide. It supports per file/directory user permission?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915991


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBpm BPEL installation.

2006-01-05 Thread [EMAIL PROTECTED]
Glad to hear it. You left me thinking, tough. You do not need the web services 
development pack for compiling or building the packages. Only the examples 
require it. 

How did specifying jwsdp.home solve your problem?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915990


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Jboss dynamic sql ParseException

2006-01-05 Thread sunonepp
Hi,
Whatever  I try, I always get ParseException error.
The sql after compilation is:

SELECT OBJECT(s) FROM EJBBean AS s WHERE s.branch_id IN (?1, ?2, ?3, ?4)  AND 
s.sDate >= ?5 AND s.sDate <= ?6 

The details is :
Encountered "1" at line 1, column 74.
Was expecting one of:
"ABS" ...
"COUNT" ...

column 74 is just at ?1 position.

But the sql is correct and I checked the object[] args which is also correct.
Any one can help?
Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915989


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: deploy process encounter such problem

2006-01-05 Thread badegg
public void saveWorkFlowDefinition() {
log.debug("saveWorkFlowDefinition start");
ProcessDefinition process = 
ProcessDefinition.parseXmlResource("cims/wfs/websale/processdefinition.xml");
 JbpmSession session = jbpmSessionFactory.openJbpmSession();
session.beginTransaction();
System.out.println("Transaction begin");

session.getGraphSession().saveProcessDefinition(process);
session.commitTransaction();
System.out.println("=endTransaction");
  session.close();
log.debug("saveWorkFlowDefinition end");
  }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915988


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Running a scheduled service only on one machine in a cluster

2006-01-05 Thread LordBritish
I'm not exactly sure where do post this but here goes.

I have JBoss set up in a cluster on several machines.

I need to run a job/service based on a configurable schedule (daily, twice a 
day, or whatever).

The job/service need to have high availability (it will cause undesirable 
effects on my job security if it does fail  :) ).

Furthermore, this job should only run on one of the machines at any given time, 
however, it may run on any of the machines.

I can set up some sort of scheduler on each of the JBoss instances but how do I 
make sure that only one job is run at a given time.

I'm not quite sure how to solve this problem :(



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915986


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam on Tomcat

2006-01-05 Thread [EMAIL PROTECTED]
How do I: anonymous wrote : put catalina-ant.jar in your ant lib directory" 
when using Eclipse?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915984


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-node Q

2006-01-05 Thread enazareno
Hi fmuhlenberg,

 If I remember, I think by default tasks will be created automatically in a 
task-node unless you specify create-tasks attribute to false. You dont need to 
specify it in a node-enter event. If you want blocking or signalling tasks, you 
need to specify blocking attribute from the task to true, and signalling to 
true. Again if I remember correctly, by default tasks are signalling but not 
blocking. A task is also automatically assigned if you specify a swimlane for 
it.

Regards,

Elmo   

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915980


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Creating a 'jdbc' context for an mbean containing C3P0 p

2006-01-05 Thread ddkilzer
It turns out this was a bug (feature) of c3p0-0.9.0.2.  I filed a patch with 
the c3p0 SourceForge project that fixes the issue:

http://sourceforge.net/tracker/index.php?func=detail&aid=1398181&group_id=25357&atid=383692

Dave


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915979


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Interception a signal event

2006-01-05 Thread enazareno
Hi Brian,

 Have you checked out the decision node? You don't need to create an 
ActionHandler class, you just specify a condition and script for evaluation to 
a certain transition path.

Regards,

Elmo

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915977


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - cannot fork a thread from a Servlet

2006-01-05 Thread mercuzio
I have a simple startup servlet (StartupServlet) that is executed at startup 
and should fork a thread to print a simple line every two seconds.
When I start the application, the line is printed only once and I get the 
following error:

Could anyone help?
I don't understand why clustering is involved when all I would like to do is 
fork a thread ...

Thanks
Fred

...
public class StartupServlet implements Servlet  {
public void init(ServletConfig config) {
PollDBFeeds pdbf = new PollDBFeeds();
pdbf.run();
}
...

...
public class PollDBFeeds extends Thread {

public void run() {
System.out.println("Hello world!");
try {
sleep(2000);
} catch (InterruptedException ie) {}
}
...

Output:
...
01:03:27,671 INFO  [STDOUT] Hello world!
01:03:29,765 INFO  [JBossCacheManager] init(): replicationGranularity_ is 0 and 
invaldateSessionPolicy is 2
01:03:29,796 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering 
not found
01:03:29,796 ERROR [TomcatDeployer] Failed to setup clustering, clustering 
disabled

...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915976


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: two consumers on a queue : can this lead to a deadlock ?

2006-01-05 Thread genman

JBoss Version?  Do you even know what a deadlock is?  You should be able to 
examine a stack dump and point to one, if that's the case.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915975


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: TCP Connection to WebSphere MQ

2006-01-05 Thread genman

Some people find it takes a lot less time to use search than wait for a reply.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915974


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - change inside datasource file in the deploy directory

2006-01-05 Thread vovik1
Hi,
I've observed an odd behavior with my connection to the DB (MySQL), JBoss 
4.0.3SP1
After deployment I've changed IP link inside the datasource file. I expected 
that after a while JBOSS will reread  datasource and refresh connection pool so 
I'll connect to the different DB. It hasn't happend at all.

However, if I remove the datasource file, I am getting connection exception 
almost at ones.

Could soone shed a light on what is going on with datasource. Is it possible at 
all to change its context and use it without jboss restart/redeploy?

Thanks.
Vladi.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915973


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss messaging with .NET

2006-01-05 Thread [EMAIL PROTECTED]
Take a look at this 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61886

You will find further references there.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915972


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Deploying MDBs after JBoss startup

2006-01-05 Thread genman

They can be started in "inactive" state and then started by using an MBean or 
by adding a >depends> to your jboss.xml file.  This is more of an JMX 
question.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915971


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss messaging with .NET

2006-01-05 Thread genman

There was a project somebody worked on, not currently maintained though.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915970


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How can I configure that all CMS data is stored in de da

2006-01-05 Thread [EMAIL PROTECTED]
With postgres, you will have to check out from CVS, as the default distro does 
not have postgres support, until 2.2.1.

http://docs.jboss.com/jbportal/v2.2/user-guide/en/html/configuration.html#d0e764

It wouldve been a mess to document it, so I point you to the file, instead. You 
need to configure the persistencemanager to use the HibernatePM and the store 
to use the HibernateStore.

Now that I think of it, I will make the hibernate config available in the wiki 
soon.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915967


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - targetObject is null. Can't invoke public java.lang.Object A

2006-01-05 Thread joereger
Hi there... I'm getting this error:

[http-8080-2] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[jsp]  - 
Servlet.service() for servlet jsp threw exception
  | org.jboss.util.NestedRuntimeException: CollectionInterceptorUtil.invoke(): 
targetObject is null. Can't invoke public java.lang.Object 
AOPClassProxy$1.elementAt(int)
  | at 
org.jboss.cache.aop.collection.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:132)
  | at 
org.jboss.cache.aop.collection.CachedListInterceptor.invoke(CachedListInterceptor.java:125)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at AOPClassProxy$1.elementAt(AOPClassProxy$1.java)
  | at reger.Accountuser.userCanDoAcl(Accountuser.java:747)

When I run this code:

  | public boolean userCanDoAcl(String aclobjectname, int accountid) {
  | if (accountUserAcls!=null){
  | for (int i = 0; i < accountUserAcls.size(); i++) {
  | AccountUserAcl accountUserAcl = (AccountUserAcl) 
accountUserAcls.elementAt(i);
  | if (accountUserAcl.aclobjectname.equals(aclobjectname) && 
accountUserAcl.accountid==accountid){
  | return true;
  | }
  | }
  | }
  | return false;
  | }

The error occurs on the line with "accountUserAcls.elementAt(i)". 
accountUserAcls is a Vector with an initial null value. This code appears 
inside an aspectized (JDK1.5) POJO and AccountUserAcl is an acpectized POJO.  

I'm annotating classes like this:

@Cacheable
  | public class Accountuser {
  | ...
  | }

Where @Cacheable is:

  | package reger.cache.jboss;
  | import java.lang.annotation.Target;
  | import java.lang.annotation.ElementType;
  | @Target({ElementType.TYPE})
  | public @interface Cacheable {
  | }

And then compiling with aopc via ant, which runs smoothly and appears to 
instrument properly.

What exactly is this error telling me?  And am I annotating my POJOs properly?

Thanks for any help you can offer.

Best,

Joe

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915966


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - task-node Q

2006-01-05 Thread fmuhlenberg
I'm trying to get a task-node working. 

I build my workflow that includes a task node.  If I create tasks (as 
suggested) in the enter-node action, the task-node doesn't block but I can then 
read the tasks in the database without error.

If I assign the task within the task-node handler, the node blocks but I get 
exceptions when querying the database for tasks.

If I do nothing in the task-node handler, a task is created but not assigned,  
the task-node doesn't block, and I can read the task in the database without 
error.

What is a correct way to create and assign a task such that the associated 
task-node blocks in a workflow?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915965


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Internal Classes

2006-01-05 Thread nick.ippolito
why hasn't support for changes to internal classes been developed?  Is this a 
planned addition?  Am I even asking int eh right place?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915964


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - cache priming

2006-01-05 Thread cmillerjava
Hi all,

I am looking to prime the jboss cache with data from an Oracle database at 
startup.  My thought was to create a startup class through the sar mechanism to 
read the Oracle data and put it into the cache.  Does anyone have examples of 
this?  

Thanks,

Chuck

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915963


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Undeploying during shutdown generates

2006-01-05 Thread esmithbss
I have a brand new install of JBoss 4.0.3SP1 with JBoss Portal 2.2.0 on a mysql 
4.1 database using the mysql-connector-java-3.1.2.jar connector which I am 
assembling for development purposes.  It is launched using the Java Service 
Wrapper (from wrapper.tanukisoftware.org).

JBoss launched and shutdown fine after it was installed, but once I added the 
JBoss Portal package (dropping the jboss-portal.sar and my configured 
/setup/portal-mysql-ds.xml files into my deploy instance), I could launch JBoss 
and look at the portal, but when I attempted to shut it down, I received a 
sequence of stack dumps.  They are all very similar and lead me to believe I 
have missed something in the portal configuration.

Here is part of the log from the wrapper shutdown process:

jvm 1| 16:21:32,457 INFO  [Server] Runtime shutdown hook called, forceHalt: 
true
jvm 1| 16:21:32,457 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
jvm 1| 16:21:32,458 INFO  [TomcatDeployer] undeploy, ctxPath=/jmx-console, 
warUrl=.../deploy/jmx-console.war/
jvm 1| 16:21:32,588 ERROR [MainDeployer] Undeployment failed: 
file:/opt/tools/jboss-4.0.3SP1/server/Polydactes/deploy/jboss-portal.sar/portal-samples.war/WEB-INF/portlet.xml
jvm 1| org.jboss.deployment.DeploymentException: This web app does not 
exist here; - nested throwable: (java.lang.IllegalArgumentException: This web 
app does not exist here)
jvm 1|  at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployment.java:171)
jvm 1|  at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.destroy(ServerDeployer.java:242)
jvm 1|  at 
org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
jvm 1|  at 
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
jvm 1|  at 
org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
jvm 1|  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1|  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1|  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1|  at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1|  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
jvm 1|  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
jvm 1|  at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
jvm 1|  at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
jvm 1|  at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
jvm 1|  at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
jvm 1|  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
jvm 1|  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
jvm 1|  at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
jvm 1|  at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
jvm 1|  at 
org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
jvm 1| Caused by: java.lang.IllegalArgumentException: This web app does not 
exist here
jvm 1|  at 
org.jboss.portal.server.impl.app.JBossWebAppRegistryImpl.unregisterWebApp(JBossWebAppRegistryImpl.java:87)
jvm 1|  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1|  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1|  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1|  at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1|  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
jvm 1|  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
jvm 1|  at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
jvm 1|  at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
jvm 1|  at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
jvm 1|  at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
jvm 1|  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
jvm 1|  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
jvm 1|  at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
jvm 1|  at $Proxy64.unregisterWebApp(Unknown Source)
jvm 1|  at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.destroy(PortletAppDeployment.java:166)
jvm 1|  ... 19 more
jvm 1| 16:21:32,590 INFO  [LayoutDeployment] destroying layout(s), found in 
: 

[JBoss-user] [EJB 3.0] - clustred ejb3 MDB

2006-01-05 Thread hfarid
After a long day of digging the documentation and every posting I could not 
figure out what is the problem

After a failure of the master node, the MDB on the slave simply does not 
connect to the queue

my setup
Node 1 : jboss 4.03+ejb3 in all mode, windows XP prof.
Node 2: same but on linux machine
(The configuration of the two instances are identical)

I switch my DeafultDS from hypersonic to Mysql, that is used by both servers 
(in order to persist the messages in the same place)

My MDB:

  | /**
  |  * 
  |  */
  | @Clustered(partition="ASM")
  | @MessageDriven(activateConfig =
  | {
  | @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Queue"),
  | @ActivationConfigProperty(propertyName="destination", 
propertyValue="queue/haq")
  | })
  | public class HaQListener implements MessageListener{
  | public void onMessage(Message msg) {
  | 


I defined my queue in 
server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml as follows


  |  
  | jboss.mq:service=DestinationManager
  | 
  | 

Note. jbossmq-destinations-service.xml is identical on both nodes

Everything is alright untile the master (the one started first) dies
on the other node I can see the following exception periodically

  | 17:47:05,861 INFO  [MDB] Trying to reconnect to JMS provider
  | 17:47:15,867 ERROR [MDB] Reconnect failed: JMS provider failure detected:
  | javax.naming.NameAlreadyBoundException
  | at org.jnp.server.NamingServer.bind(NamingServer.java:129)
  | at org.jnp.interfaces.NamingContext.bind(NamingContext.java:551)
  | at org.jnp.interfaces.NamingContext.bind(NamingContext.java:516)
  | at org.jboss.util.naming.Util.bind(Util.java:87)
  | at org.jboss.util.naming.Util.bind(Util.java:74)
  | at 
org.jboss.ejb3.EJBContainer.resolveInjectors(EJBContainer.java:479)
  | at org.jboss.ejb3.EJBContainer.initializePool(EJBContainer.java:421)
  | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:374)
  | at org.jboss.ejb3.mdb.MDB.start(MDB.java:223)
  | at 
org.jboss.ejb3.mdb.MDB$ExceptionListenerImpl.onException(MDB.java:1187)
  | at 
org.jboss.mq.Connection$ExceptionListenerRunnable.run(Connection.java:1366)
  | at java.lang.Thread.run(Thread.java:595)
  | 17:47:15,867 INFO  [MDB] Trying to reconnect to JMS provider
  | 
  | 

I removed the queue defination frm the slave (destination...xml), same issue 
with the same exception

After the master dies, I tried to connect to my queue using HA-JNDI lookup and 
I was able to do, actually I was able to submit messages on the queue

Thanks in advance for your help

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915961


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: java.lang.UnsupportedClassVersionError while deploying W

2006-01-05 Thread dslindsay73
When I compiled my classes with jdk-1.5 and used wscompile from jwsdp-1.5, I 
got an 
(Unsupported major.minor version 49.0) error.

If I compiled my classes with jdk-1.4, I had to use wscompile from jwsdp-1.5 
and if I compiled my classes with jdk-1.5, I has to use wscompile from 
jwsdp-2.0 . 

Be sure to check your JAVA_HOME environment variable.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915960


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How can I display processimage (jpg) in browser?

2006-01-05 Thread kukeltje
the process image is in the .par file. The image is created by the GPD.  So 
just uploading the .xml file is not enough. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915959


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Utility to convert my gpd.xml to processdefinition.xml

2006-01-05 Thread michaelholtzman
I tried that last tip (start a new process definition, and past in externally 
created XML). The result was a graph diagram with all the elements drawn on top 
of themselves. 

I could grab some of the labels (transitions, I think) but I could not resize 
or move the nodes.

To reiterate: I have xml created by an external program. I would like to import 
the process definition xml into GPD, and view/edit it graphically. Is this 
possible? 

BTW, this was using GPD 3.0.5

Thanx.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915958


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portle and JavaServerFaces

2006-01-05 Thread Rohini
Hey Giordano,
Can u please give me a sample portlet developed using myfaces.

Thanks in advance.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915957


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: LockTimeoutException (with AsyncCacheLoader)

2006-01-05 Thread dlg
Hmm.  Nothing I've been trying seems to help.  Has anyone here ever 
successfully used the AsyncCacheLoader with the current Bdbje?

Unfortunately, it's looking like I'll have to replace JBossCache with something 
else at this point...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915955


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule and MyFaces Tomahawk visibleOnUser

2006-01-05 Thread kcturner
I have authentication working with the DatabaseServerLoginModule, but now I 
need to be able to use the visibleOnUserRole attribute for certain MyFaces 
Tomahawk components. This is the first time I have attempted to use 
JAAS/JBossSX. I setup declarative security for the web application with a 
single web-resource-collection and an associated auth-constraint. Should the 
visibleOnUserRole (isUserInRole) attribute work in this situation?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915953


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-05 Thread mholzner
The title attribute can be added to the render set. The markup that spans the 
portlet decoration is generated by the renderSet. In the default OTB case of 
the portal, this is a class called 
/theme/src/main/org/jboss/portal/theme/impl/render/DivDecorationRenderer 

you can change the code, or create your own renderSet and configure it for your 
portal (see the doc for details on that) 


  |private static void renderModeAndStateLinks(RenderContext ctx, 
WindowResult result, String selector)
  |{
  |   log.debug("render modes and states");
  |   Collection modes = result.getTriggerableActions(selector);
  |   for (Iterator i=modes.iterator(); i.hasNext(); ){
  |  WindowResult.Action action = (WindowResult.Action)i.next();
  |  if (action.isEnabled()){
  | log.debug("action is enabled: " + action.getName());
  | ctx.getMarkupFragment().append("");
  |  }
  |   }
  |}
  | 

as you can see in this snippet, you can place whatever text into the title 
attribute. Since you have the mode and state (and much more), you can 
dynamically determine what to render in the title 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915950


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - How can I configure that all CMS data is stored in de databa

2006-01-05 Thread fralin
How can I configure that all CMS data is stored in de database ?

I use:


  | JBoss4.0.3SP1
  | JBoss Portal 2.2.0
  | jdk1.5.0_06
  | PostgreSQL 8.0
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915949


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Recommended hardware requirements for JBoss 4.x

2006-01-05 Thread Slotte
Mostly usage for development purposes with some Portal running and a few J2EE 
applications.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915948


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - EJB security issue with remote client

2006-01-05 Thread flarosa
I'm trying to set up a security restriction on an EJB's methods, but I'm 
running into a couple of confusing problems.

The first problem is that my client is able to connect to the server and call 
the EJB methods freely, regardless of what kind of security I try to assign to 
the methods; for example:


DataImporter



DataImporter

DataServices
*



The second problem is that my client can connect to JBoss, get a reference to 
this EJB and call its methods without providing any authentication at all; or 
even if it provides completely bogus authentication:

Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
ht.put(Context.PROVIDER_URL, args[0]);
ht.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces" );
ht.put(Context.SECURITY_PRINCIPAL, "garbage");
ht.put(Context.SECURITY_CREDENTIALS, "moregarbage");

DataServicesHome home = 
(DataServicesHome) (new 
InitialContext(ht)).lookup(DataServicesHome.JNDI_NAME);
dataServices = home.create();
dataServices.addOrUpdateCategory(null);

I don't understand why this code is allowed to even connect to JBoss at all, 
let alone execute a security-protected method. (It runs with no exception).

The third problem is that while I am aware that the role name I define in my 
ejb-jar.xml file is not the same as the role names defined in my 
roles.properties file, I have not found any information as to how to create an 
association between the two.

Thanks for your help.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915946


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Newb needs help...

2006-01-05 Thread [EMAIL PROTECTED]
@Name is the annotation that Seam looks for.

I can't tell what you are doing wrong here. Looks basically correct.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915943


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Creating a 'jdbc' context for an mbean containing C3P0 p

2006-01-05 Thread ddkilzer
Hmm...after looking at the source for 
com.mchange.v2.c3p0.mbean.C3P0PooledDataSource, does this class just have to be 
smarter about "creating" any missing subcontexts itself before it tries to bind 
to them?

Dave


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915942


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Does anyone know of a jbpm book in the works?

2006-01-05 Thread jbpmndc
I think the whole concept of suspensed/persistent states and continuations and 
when it's useful and how to get started is of interest to more and more people.

Does anyone know of a good book that discusses these issues?  It would be great 
if it discussed jbpm as well.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915941


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ERROR [javax.faces.webapp.UIComponentTag] Faces context

2006-01-05 Thread kjmansour
Thanks for the tip.  This also worked for me under JBoss 4.0.3sp1.  It appears 
that JSF needs the redirect to properly load the Faces Context.  Not a big 
problem, but one that needs to be reported better.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915940


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: New Conversation issue

2006-01-05 Thread [EMAIL PROTECTED]
Conversations begin and end at *request boundaries*, NOT when the @End or 
@Begin method is called. (There are  really, really good reasons why it is done 
this way.)

So, basically, in this case, the @Begin method has the effect of cancelling out 
the @End.

It is better to use a PAGE scope component in this case.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915939


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Creating a 'jdbc' context for an mbean containing C3P0 pooed

2006-01-05 Thread ddkilzer
When I first set up my application to run under JBossAS, I created an 
mssql-ds.xml file that provided a datasource in JNDI named "jdbc/dbname":


  | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";>
  | 
  |   
  | jdbc/dbname
  | jdbc:jtds:sqlserver://hostname/dbname
  | net.sourceforge.jtds.jdbc.Driver
  | 
  | user
  | pass
  |   
  | 

However, this datasource was not pooled, so I wanted to set up a pooled 
datasource using C3P0 at the same JNDI name.

http://www.mchange.com/projects/c3p0/index.html#appendix_e

Here is the c3p0-service.xml file I used:


  | http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd";>
  | 
  |   
  | java:jdbc/dbname
  | jdbc:jtds:sqlserver://hostname/dbname
  | net.sourceforge.jtds.jdbc.Driver
  | user
  | pass
  | true
  | jboss:service=Naming
  |   
  | 

Unfortunately, when starting JBoss AS 4.0.2, I get the following error:


To the log file JBoss wrote : 12:59:54,516 ERROR [URLDeploymentScanner] 
Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss:service=C3P0PooledDataSource1
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: Exception setting 
attribute javax.management.Attribute: name=JndiName value=jdbc/dbname on mbean 
jboss:service=C3P0PooledDataSource1; - nested throwable: 
(javax.naming.NameNotFoundException: jdbc not bound)
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss:service=C3P0PooledDataSource1
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: Exception setting 
attribute javax.management.Attribute: name=JndiName value=jdbc/dbname on mbean 
jboss:service=C3P0PooledDataSource1; - nested throwable: 
(javax.naming.NameNotFoundException: jdbc not bound)
  | 

I've tried the following values for the "JndiName" attribute, all without 
success:

  | *  java:jdbc/dbname
  | *  java:/jdbc/dbname
  | *  java:comp/env/jdbc/dbname
  | 

The only "JndiName" that works so far as been a top-level JNDI name like these:


  | *  java:dbname
  | *  java:dbnameDS
  | 

What do I have to do to get the C3P0 mbean to set up JNDI resources under 
"jdbc" or "comp/env/jdbc", similar to the way that the original *-ds.xml file 
did?

Note that I originally thought this was a bug, but apparently it's not:

http://jira.jboss.com/jira/browse/JBAS-2630

Thanks!

Dave


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915937


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Interception a signal event

2006-01-05 Thread brianmb99
Hello,

I am trying to figure out how to intercept a signal event so that when a token 
leaves a node, if certain conditions are met the token will be reassigned to an 
arbitrary node somewhere in the process definition, but not necessarily a node 
with a defined transition from the current node.

For example:

|node 1| -- tr1 -- |node 2|


|node 3|

My token is in node 1, I signal it, and if conditions are met I want to send it 
to node 3 (or 5 or 7 or 28) instead of node 2.

I was thinking of using an ActionHandler class linked to the node leave event 
(Event.EVENTTYPE_NODE_LEAVE) to check for the conditions and then use the 
Token.setNode(nodeIWant) method, but doesn't work because the 
Transition.take(...) still runs _after_ my code reassigns the Node of the Token.

Looking at the source, I don't see an obvious way to do what I want without 
making my own modification to the jBPM code, which I'd rather not do because of 
the versioning issues. The crux of my problem seems to be that the 
Transition.take(...) method is called once a Token is signalled, no matter what 
happens on any graph events that are triggered. It looks like it would work for 
me to attach my arbitrary assignment code to the "After Signal" 
(Event.EVENTTYPE_AFTER_SIGNAL) event of Token, but it looks to me like this 
would reassign the token to my arbitrary node _after_ it had already entered 
the node that the default transition points to, which is not what I want.

Does anyone have any ideas on how I could accomplish this logic using jBPM 
properly/without modifying the source?

Thanks a lot!

-Brian

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915933


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Unable to deploy typemapping -> ClassNotFoundException

2006-01-05 Thread bbredohl
"[EMAIL PROTECTED]" wrote : 
  | This looks like a corrupted jboss instance. Can you doing a fresh install 
and see if the problem occurs?
  | 
  | -Jason

Hi, I installed a new version (from CVS), but there was the same error. I 
changed from Document Style to RPC/literal, and I have no problems with 
deserialization/serialization.

Thanks for your help,
Björn

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915930


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/cache/TreeCach

2006-01-05 Thread [EMAIL PROTECTED]
Glad it worked; hadn't really thought through why the JBOSS_CLASSPATH setting 
would be a problem, but experience has taught me to start with a clean setup :)

I see now why it would be a problem -- jars loaded via JBOSS_CLASSPATH are in a 
parent classloader to those loaded from default/lib.  If you loaded 
jboss-cache.jar from JBOSS_CLASSPATH and jgroups.jar from default/lib, the 
classloader that loaded jboss-cache.jar would not be able to see jgroups.jar.

anonymous wrote : The real problem here is (I guess): Why does loader complain 
about TreeCache class when it misses something else. I am sure that standard 
JVM loader (at least 1.4 JVM) does not do that (I've been through it ones). 

That's interesting.  I've seen this kind of problem many times, but honestly 
can't recall if it was always in JBoss.  If I get a chance I'll check it out. 

(If anyone in the community wants to look into whether this misleading message 
is a JBoss issue and finds that it is, please write a test case and create a 
JIRA issue.  Please search JIRA first in case there is an existing issue).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915929


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Error processing response handler chain

2006-01-05 Thread bbredohl
I write a c++ Webserviceclient.
This program get informations from the webservice, works with them, and put the 
result back to the webservice. It send's a double[].
All data are saved in a database. With small arrays (for example 100 elements) 
everything works fine, and the result will be saved in my database. But when 
the double array has for example over 35.000 elements (and this is not much), I 
get after the deserialization (which takes a long time) the following error 
message:


  | 19:30:55,523 ERROR [ServiceEndpointInterceptor] Error processing response 
handler chain
  | javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
  | at 
org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:603)
  | at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:149)
  | at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
  | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
  | at org.jboss.ejb.Container.invoke(Container.java:917)
  | at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:144)
  | at 
org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:327)
  | at 
org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
  | at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
  | at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
  | at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  | at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  | at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  | at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
  | at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215)
  | at 
org.jboss.webservice.server.ServerEngine.access$000(ServerEngine.java:48)
  | at org.jboss.webservice.server.ServerEngine$1.run(ServerEngine.java:87)
  | Caused by: java.lang.NullPointerException
  | at 
org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:593)
  | ... 30 more
  | 19:30:55,525 ERROR [LogInterceptor] RuntimeException in method: public 
abstract void 
de.gbf.genome.j2ee.transformer.webservices.TransformerWSSEI.setTransSequence3(de.gbf.genome.j2ee.transformer.webservices.DoubleArr,java.lang.String,java.lang.String)
 throws java.rmi.RemoteException:
  | javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
  | at 
org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:603)
  | at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:149)
  | at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
  | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
  | at org.jboss.ejb.Container.invoke(Container.java:917)
  | at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
  | at 
sun.re

[JBoss-user] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/cache/TreeCach

2006-01-05 Thread vovik1
Brian, 
Thanks so much.
I did what you said and it started working!!!

I guess the problem was in the order of my actions. 
I copied jboss-cache.jar 
It didn't work, so I explicitly added jboss-cache.jar to the JBOSS_CLASSPATH

It didn't work either, so I copied over jgroups.jar (by the way, I don't think 
there is a documentation about it. I just guessed)
Then, it didn't work again. 

Only removing  jboss-cache.jar from the JBOSS_CLASSPATH did the trick.
(this last attempt I haven't done, I mostly tried to copy other .jars and to 
different places).
The real problem here is (I guess): Why does loader complain about TreeCache 
class when it misses something else. I am sure that standard JVM loader (at 
least 1.4 JVM) does not do that (I've been through it ones).

Any way, thanks a lot.
I really appreciate it!

Vladi.
 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915927


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: mysql in a remote db

2006-01-05 Thread pedrosacosta
I don't understand what's going on. Any suggestion?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915925


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: mysql in a remote db

2006-01-05 Thread pedrosacosta
Now, i configure mysql database to access remote connections, and it works 
fine. 

But when a start the portal, i get the following error:


  | org.jboss.portal.server.invocation.InvocationException: 
javax.servlet.ServletException: No null layout allowed here
  | at 
org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:155)
  | at 
org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
  | at 
org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:72)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:156)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:45)
  | at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
  | at 
org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
  | at 
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:80)
  | at 
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:64)
  | at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
  | at $Proxy124.handle(Unknown Source)
  | at 
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
  | at 
org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
  | at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
  | at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
  | at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
  | at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
  | at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
  | at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
  | at 
org.jboss.port

[JBoss-user] [EJB 3.0] - Re: EJB3 Client Problem

2006-01-05 Thread Rchandran
Ok. I figured out the problem. My bean class had a missing @Resource annotation 
referring to my interface class. After adding that, the problem went away. May 
be this problem should have been pointed out by the bean deployer.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915905


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/cache/TreeCach

2006-01-05 Thread [EMAIL PROTECTED]
Hi Vladi,

I suspect the class def it can't find *isn't* org.jboss.cache.TreeCache, but 
rather some other class that TreeCache uses.  One of my favorite java quirks is 
the fact that a NoClassDefFoundError tells you the class it was trying to 
initialize when it couldn't find a class, rather than the missing class itself. 

Did you copy over jgroups.jar as well?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915906


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Migrating/Porting Oracle BPEL to JBPM BPEL

2006-01-05 Thread kazam
Thanks Ronald, 
The oracle BPEL process that we are using is mostly BPEL 1.0 compliant and I 
don't believe that we have used any of their extensions. The workflow is of 
moderate size and can be modified/rewritten.

Could you kindly answer some of my other migration related questions.
- Does the JBPM Designer plugin also helps in designing BPEL processes.
- When will this project reach beta stage or a stable release. In short what's 
the heading for BPEL extension.

Many Thanks, Kazam.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915922


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Transaction demarcation with EJB/CMT

2006-01-05 Thread heismann
It appears my only mistake was in closing the jbpmSession and not allowing the 
system to take care of it for me.

Calling the SSBs sessionContext.setRollbackOnly() had the expected result of 
not persisting the processInstance.

Does anyone know if not closing the jbpmSession will have any adverse affects?

Here's a working copy of my test method:

  | public void testHelloWorldProcessDefinition()
  | {
  | JbpmSession jbpmSession = null;
  | InitialContext initialContext = null;
  | Connection con = null;
  | try
  | {
  | initialContext = new InitialContext();
  | Object jndiObject = initialContext.lookup(JNDINAME);
  | JbpmSessionFactory instance = (JbpmSessionFactory) 
PortableRemoteObject.narrow(jndiObject, JbpmSessionFactory.class);
  | SessionFactory sessionFactory = instance.getSessionFactory();
  | Session currentSession = sessionFactory.getCurrentSession();
  | jbpmSession = instance.openJbpmSession(currentSession);
  | 
  | ProcessDefinition processDefinition = 
jbpmSession.getGraphSession().
findLatestProcessDefinition("hello world");
  | ProcessInstance processInstance = new 
ProcessInstance(processDefinition);
  | Token token = processInstance.getRootToken(); 
  | token.signal();
  | 
jbpmSession.getGraphSession().saveProcessInstance(processInstance);
  | }
  | catch (Exception e)
  | {
  | e.printStackTrace();
  | fail("Failure!:\n" + e.getMessage());
  | }
  | finally
  | {
  | // Let the system take care of this when the EJB's transaction
  | // ends, then the session will be closed.
  | // jbpmSession.close();
  | //
  | initialContext.close();
  | }
  | }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915921


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBpm BPEL installation.

2006-01-05 Thread kazam
Got it , I wasn't specifying the JWSDP Home , Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915920


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/cache/TreeCach

2006-01-05 Thread vovik1
Hi Brian,
Thanks for your reply.

I've thought about that. I did copy jgroups.jar there (default/lib).
Should I copy something else?

Vladi. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915908


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JNDI Security Interceptor

2006-01-05 Thread raghuram123
Scott,
since the code is written by you, can you let me know more info regarding this .
Getting it worked is very key for our company using the product.

Alsoin JBoss4.0.3. Why is the JNDISecurity.java left in the testsuite? i.e 
jboss-4.0.3SP1-src\testsuite\src\main\org\jboss\test\jmx\interceptors\JNDISecurity.java


Thanks,
-Raghu Merla

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915907


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Cookies + clustering + 4.0.3 = ignored context.xml

2006-01-05 Thread [EMAIL PROTECTED]
"coreyjohnston" wrote : 
  | A bit of a pita to work-around, but I'm trying to investigate the 
possibility of changing the cookie's path from "/" to being, say, the context 
root of that webapp, so webapp A's cookies are not used in webapp B. NB: I'm 
talking only of cookies sent by the container (not user cookies), so I'm not 
sure JBoss/Tomcat provides any facilities to change this.
  | 
  | Potentially also investigating that possibility of changing Tomcat's 
directive emptySessionPath from true (in JBoss) back to false (to match the 
Tomcat default).
  | 

I'm quite certain setting the emptySessionPath switch to false will result in 
the cookie path being the context root of the webapp.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915901


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - jbosscmp-jdbc.xml : getting the tag t

2006-01-05 Thread ansancle
I have searched far and wide to find the answer to this one with no luck. 
Inside of the jbosscmp-jdbc.xml I need to have the  tag 
inside of my ejb-relation definition. I cannot find anywhere how to have this 
generated from XDoclet, can anyone tell me the tag?
 Thanks.

This is an example of my XDoclet Definitions for the relations Im using :
/**
  |  * Getter for CMR Relationship
  |  *
  |  *
  |  * @ejb.interface-method   view-type="local"
  |  * @ejb.relation   name = "person-to-task"
  |  *   role-name = "task-has-persons"
  |  *   target-multiple = "yes"
  |  *   
  |  * @jboss.relation  related-pk-field = "id"
  |  *  fk-column = "TASK_ID"   
  |  * 
  |  * @ejb.value-object aggregate = 
"com.digitalhome.interfaces.PersonValue"
  |  *   aggregate-name = "Person"
  |  *   members = 
"com.digitalhome.interfaces.PersonLocal"
  |  *   members-name = "Persons"
  |  *   relation = "external"
  |  *   type="java.util.Set"   
  
  |  */
  | 
  | 

And here is the output in jbosscmp-jdbc.xml


  |  
  | 
  |   task-comment
  | 
  |   
  |   
comment-belongs-to-task
  |   
  |  
  |id
  |TASK_ID
  |  
  |   
  | 
  |   
  |   
  |   
task-has-comments
  |   
  | 
  |   
  | 
  | 
  |   person-to-task
  |   
  |   
  | 
  |   
  |   
person-has-tasks
  |   
  |  
  |id
  |TASK_ID
  |  
  |   
  | 
  |   
  |   
  |   
task-has-persons
  |   
  |  
  |id
  |PERSON_ID
  |  
  |   
  | 
  |   
  | 
  |   
  |   

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915919


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Log for specific package

2006-01-05 Thread mikemoreira

   
  
  
  
  
  
 
  
   






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915918


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Log for specific package

2006-01-05 Thread mikemoreira
I´m using this configuration : 

   
  
  
  
  
  
 
  
   







So, I expected only DEBUG messages from the package "br.gov.sp.tce.audesp" at 
"audespAPP.log" file, but when I start the JBoss I´m getting a lot of other 
DEBUG messages from JBoss, and not only from my package.

This is my entire log4j.xml 





http://jakarta.apache.org/log4j/"; 
debug="false">

   
  
  
  
  
  
 
  
   

   
  
  
  
  
  
  
  
  
 
  
   

   
  
  
  
  
  
 
  
   

   
   
   

   
  
  
  
  
 
  
   

   
   
   

   
   
  
   

   
   
  
   

   
   
  
   


   
   
  
   






   
   
   

   
  
  
  
  
   




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915917


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBpm BPEL installation.

2006-01-05 Thread [EMAIL PROTECTED]
Please open a new topic for a distinct question. 

To generate the service archive, run either the build.service.402 or 
build.service.403  ant target depending on your JBoss AS version, as described 
in section 2.4.2 of the jBPM BPEL user guide.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915916


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JNDI Security Interceptor

2006-01-05 Thread [EMAIL PROTECTED]
Moved to correct user forum.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915903


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: proprietary authentication mechanisms

2006-01-05 Thread new4jboss
Also found this: http://jira.jboss.com/jira/browse/JBAS-2283
The definite NO...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915902


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: proprietary authentication mechanisms

2006-01-05 Thread [EMAIL PROTECTED]
There is no such thing as a definite no if you want to code.
http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves

Get involved with the devlopment of the generalization if you don't want to 
roll your own independent work.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915904


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: call for jBPM performance problems

2006-01-05 Thread jbpmndc
Tom,
   This is off topic.  But is there a book in the works?  I think there is a 
demand to see the value of jbpm and how to get started with it. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915900


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBpm BPEL installation.

2006-01-05 Thread kazam
When I compile the lastest release (1.0 aplha 4), the build succeeds but no 
.sar file is genearted the only generated file is a 6Kb file [which was already 
in the build directory before compiling using ant]
 [jar] Building jar: D:\jbpm-bpel-1.0-alpha4\build\jbpm-bpel.war

On placing this file in the JBoss 4.0.2 server/default/deploy directory no 
hibernated messages are generated. 

The only configuration settings I made were to the build.properties file of the 
jboss.home variable.

Is there any hibernate.properties or other files that I should change in the 
resources directories. 

Many Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915915


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: java.lang.NoClassDefFoundError: org/jboss/cache/TreeCach

2006-01-05 Thread [EMAIL PROTECTED]
jboss-cache.jar and jgroups.jar should be all you need; all other JBossCache 
dependencies are already on the classpath in the default config.

Suggest you try the following (I just did this and it worked fine):

1) Remove any JBOSS_CLASSPATH tweaks you may have done; get JBoss into its 
standard state except you've got jboss-cache.jar and jgroups.jar in default/lib.

2) Copy the tc5-cluster-service.xml file from all/deploy to default/deploy.  
This file starts the TreeCache we use for HttpSession replication.  You don't 
need it, but if it deploys correctly we know that a cache instance can be 
started.

3) Remove your ear (so we can get a clean picture).

4) Start JBoss.  If the tree cache starts cleanly, we know the needed classes 
are on the classpath.  If then your app still has a problem, there is something 
odd with the classloading configuration of your ear.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915914


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: proprietary authentication mechanisms

2006-01-05 Thread new4jboss
Thanks for your help but I've been through all of that already. 

I finally found an answer (unfortunately a negative one) in the thread
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73966

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915899


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: proprietary authentication mechanisms

2006-01-05 Thread new4jboss
Thanks for your help but I've been through all of that already. 

I finally found an answer (unfortunately a negative one) in the thread
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=73966

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915898


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Missing application web.xml, using defaults only Standar

2006-01-05 Thread Rohini
Hey Tebogo,

Did u find a resolution to this problem? I am also facing a similar problem.

Thanks in advance,

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915897


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - javax.naming.NameNotFoundException in web-service client

2006-01-05 Thread [EMAIL PROTECTED]
I am trying to setup a sample web-service "QualityControlService" under JBoss 
4.0.3. 

1. Below is the signature of remote web-service Interface: 

package gov.ed.fsa.payment.webservice; 

public interface QualityControlService extends Remote { 
public gov.ed.fsa.core.dto.PageableListDTO 
getQualityControlListing(gov.ed.fsa.payment.dto.QualityControlListingReqEDXDTO 
reqDTO) throws java.rmi.RemoteException; 
} 

2. I followed the JBoss web-service development process on WIKI and created 
necessary files using WSCOMPILE tool for client and server part:

C:\Sun\jwsdp-1.6\jaxrpc\bin>wscompile -classpath 
I:\QualityControl\WebContent\WEB-INF\classes -gen:server -f:rpcliteral -mapp
ing mapping.xml config.xml

C:\Sun\jwsdp-1.6\jaxrpc\bin>wscompile -classpath 
I:\QualityControl\WebContent\WEB-INF\classes -gen:client -f:rpcliteral -mapp
ing mapping.xml -keep config-client.xml

WSCOMPILE tool has generated one 
"QualityControlListingReqEDXDTO_LiteralSerializer" class and I guess this class 
acts as serializer for my DTO object "QualityControlListingReqEDXDTO".

3. I deployed server as "quality-control.war" as It is deployed correctly as I 
can see the deployed service using Admin console.

4. I have created "application-client.xml" and "META-INF/jboss-client.xml" 
files. Below is "META-INF/jboss-client.xml":


qualitycontrolservice-client


5. Below is web-service client declaration:

/** Test access to the JSE webservice via an app client */
public static void main(String[] args)
{
try{
InitialContext iniCtx = getInitialContext();
...
...
} catch (Exception ex){
System.out.println(" Failed: "+ex);
}
}

/** Build the InitialContext */
private static InitialContext getInitialContext() throws NamingException
{
   java.util.Properties env = new java.util.Properties();
   env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
   env.setProperty(Context.URL_PKG_PREFIXES, 
"org.jboss.naming.client:org.jboss.naming");
   env.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
   env.setProperty("j2ee.clientName", "qualitycontrolservice-client");
   return new InitialContext(env);
}


6. But when I try to run my web-service client following error message pops up: 
 Failed: javax.naming.NameNotFoundException: qualitycontrolservice-client 
not bound

Theoretically my web-service client should not complain about name NOT found as 
it is declared in "META-INF/jboss-client.xml". Looks like something is missing 
on client part. Any help is appreciated, if someone can send me the directory 
structure for deployed components (classes and xml files) on client side it 
would be very helpful.

Thanks,
Neeraj

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915895


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - javax.naming.NameNotFoundException in web-service client

2006-01-05 Thread [EMAIL PROTECTED]
I am trying to setup a sample web-service "QualityControlService" under JBoss 
4.0.3. 

1. Below is the signature of remote web-service Interface: 

package gov.ed.fsa.payment.webservice; 

public interface QualityControlService extends Remote { 
public gov.ed.fsa.core.dto.PageableListDTO 
getQualityControlListing(gov.ed.fsa.payment.dto.QualityControlListingReqEDXDTO 
reqDTO) throws java.rmi.RemoteException; 
} 

2. I followed the JBoss web-service development process on WIKI and created 
necessary files using WSCOMPILE tool for client and server part:

C:\Sun\jwsdp-1.6\jaxrpc\bin>wscompile -classpath 
I:\QualityControl\WebContent\WEB-INF\classes -gen:server -f:rpcliteral -mapp
ing mapping.xml config.xml

C:\Sun\jwsdp-1.6\jaxrpc\bin>wscompile -classpath 
I:\QualityControl\WebContent\WEB-INF\classes -gen:client -f:rpcliteral -mapp
ing mapping.xml -keep config-client.xml

WSCOMPILE tool has generated one 
"QualityControlListingReqEDXDTO_LiteralSerializer" class and I guess this class 
acts as serializer for my DTO object "QualityControlListingReqEDXDTO".

3. I deployed server as "quality-control.war" as It is deployed correctly as I 
can see the deployed service using Admin console.

4. I have created "application-client.xml" and "META-INF/jboss-client.xml" 
files. Below is "META-INF/jboss-client.xml":


qualitycontrolservice-client


5. Below is web-service client declaration:

/** Test access to the JSE webservice via an app client */
public static void main(String[] args)
{
try{
InitialContext iniCtx = getInitialContext();

gov.ed.fsa.payment.webservice.QualityControlServiceService service = 
(gov.ed.fsa.payment.webservice.QualityControlServiceService)iniCtx.lookup("java:comp/env/service/QualityControlServiceServiceJSE");
QualityControlService endpoint = 
service.getQualityControlServicePort();

QualityControlListingReqEDXDTO qcListByCycleDTO =
new QualityControlListingReqEDXDTO();
qcListByCycleDTO.setApproved(true);
qcListByCycleDTO.setRecordCycle(-1);
qcListByCycleDTO.setApplicationID(-1);
qcListByCycleDTO.setYear(-1);
qcListByCycleDTO.setMonth(-1);
RequestPageInfoDTO iRequestPageInfoDTO = new 
RequestPageInfoDTO();
iRequestPageInfoDTO.setPageSize(10);

qcListByCycleDTO.setRequestPageInfoDTO(iRequestPageInfoDTO);

QualityControlService qcService = 
(QualityControlService) service.getPort(QualityControlService.class);
PageableListDTO oDTO = null;
try {
oDTO = 
(PageableListDTO)endpoint.getQualityControlListing(qcListByCycleDTO);
} catch (java.lang.reflect.UndeclaredThrowableException 
ioex){
System.out.println(" Getting quality 
control listing: "+ioex.getUndeclaredThrowable());
} catch (Exception ioex){
System.out.println(" Getting quality 
control listing: "+ioex);
}
System.out.println("output:" + oDTO);
} catch (Exception ex){
System.out.println(" Failed: "+ex);
}
}

/** Build the InitialContext */
private static InitialContext getInitialContext() throws NamingException
{
   java.util.Properties env = new java.util.Properties();
   env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
   env.setProperty(Context.URL_PKG_PREFIXES, 
"org.jboss.naming.client:org.jboss.naming");
   env.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
   env.setProperty("j2ee.clientName", "qualitycontrolservice-client");
   return new InitialContext(env);
}


6. But when I try to run my web-service client following error message pops up: 
 Failed: javax.naming.NameNotFoundException: qualitycontrolservice-client 
not bound

Theoretically my web-service client should not complain about name NOT found as 
it is declared in "META-INF/jboss-client.xml". Looks like something is missing 
on client part. Any help is appreciated, if someone can send me the directory 
structure for deployed components (classes and xml files) on client side it 
would be very helpful.

Thanks,
Neeraj

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915893


---
This SF.net email is sponsored by: Splunk Inc.

[JBoss-user] [JBoss Portal] - Re: Tooltip text to maximized button

2006-01-05 Thread [EMAIL PROTECTED]
We're definitely looking into this -- it wasn't overlooked, but rather, we were 
having problems implementing it if I remember correctly... 

If by "tooltip" you mean either ALT or TITLE attributes for each mode, then 
this could be done in the portlet RenderSet which creates the portlet window 
elements for each portlet. Some browsers see ALT, others see TITLE so it's best 
to use both (imho).

That said, there are a few issues that come to mind, for example do you need to 
support multiple-languages? Also, each mode will need a variable to determine 
which text string to load (Maximize, Minimize, Edit, etc.), and this variable 
can be used for both the ALT and TITLE attribute.

Is this what you meant, and/or is it clear and helpful at all?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915892


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - 403sp1, problem with AuthorizationInterceptor for InvokerAda

2006-01-05 Thread AndiWausS
Hello,

I am trying to secure the Invoker Service in jmx-invoker-service.xml.

The AuthenticationInterceptor works fine, but I like to have authorization as 
well - the hard coded role "JBossAdmin" is OK for now.

I tried (that´s what I found)

  | 
  | 
  | securityDomain="java:/jaas/jmx-console"
  | 

..but it says

17:54:11,102 WARN  [BasicMBeanRegistry] MBeanException: preRegister() failed: 
[ObjectName='jboss.jmx:name=Invoker,type=adaptor', 
Class=org.jboss.jmx.connector.invoker.InvokerAdaptorService ([EMAIL 
PROTECTED])] Cause: java.beans.IntrospectionException: No PropertyDescriptor 
for attribute:securityDomain
  | 17:54:11,122 INFO  [InvokerAdaptorService] Registration is not done -> stop
  | 17:54:11,142 ERROR [MainDeployer] Could not create deployment: 
file:/C:/JBoss/server/default/deploy/jmx-invoker-service.xml
  | org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.InvocationTargetException)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:178)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:215)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

When I remove the securityDomain attribute, the deployment works - but not the 
interceptor
anonymous wrote : twiddle --server=localhost:1199 --user=user --password=pw 
serverinfo -c
brings
17:32:49,919 ERROR [Twiddle] Exec failed
  | java.lang.ArrayIndexOutOfBoundsException: 0
  | at 
org.jboss.jmx.connector.invoker.AuthorizationInterceptor.invoke(AuthorizationInterceptor.java:91)
at 
org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:87)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

which happens here
 
76  */  
  | 77 public Object invoke(Invocation invocation) throws Throwable  
  | 78 {  
  | 79String type = invocation.getType();  
  | 80if (type == Invocation.OP_INVOKE)  
  | 81{  
  | 82   String opName = invocation.getName();  
  | 83   if (opName.equals("invoke"))  
  | 84   {  
  | 85  Object[] args = invocation.getArgs();  
  | 86  org.jboss.invocation.Invocation inv = 
(org.jboss.invocation.Invocation) args[0];  
  | 87  // Authenticate the caller based on the security 
association  
  | 88  Principal caller = inv.getPrincipal();  
  | 89  //Get the Method Name  
  | 90  Object[] obj = inv.getArguments();  
  | 91  ObjectName objname = (ObjectName) obj[0];  
  | 92  String opname = (String) obj[1];  

I searched all over Wiki and Forum but did not find a solution. 
What am I doing wrong / what´s missing in the invocation  / how can I achieve 
authorization?

Thanks in advance and best regards,
Andreas


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915890


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - New Conversation issue

2006-01-05 Thread js8523
I have a stateful session bean called SiteEditor (Conversation scoped) with a 
create method. I wish to from a page backed by this bean, to open up another 
page with a SiteEditor bean as its backing bean (new data). 

When trying to do this I can open the first siteEditor page, but when I use the 
link to open up the new siteEditor page (it refreshes but shows the old data). 

The two relevant functions in the siteEditor bean are :


  | @Create 
  | @Begin(join=true)
  | public void createSiteEditor(){
  | 
  | log.info("Creating");
  | 
  | if (utilityID.getId() == 0){
  | site = new Site();
  | isNew = true;
  | } else {
  | site = (Site) em.find(Site.class, utilityID.getId());
  | if (site==null){
  | // TODO throw error, no site found for the id. 
  | } else {
  | siteChildren = site.getChildren();
  | isNew = false;
  | }
  | }
  | }
  | 

and 


  | @End
  | public String editContract(){
  | if (utilityID==null) utilityID = new UtilityId();
  | utilityID.setId(selectedChild.getId());
  | 
  | if (selectedChild instanceof Site)
  | return "showsite";
  | else if (selectedChild instanceof Plot)
  | return "editplot";
  | else if (selectedChild instanceof Region)
  | return "editregion";
  | else if (selectedChild instanceof Block)
  | return "editblock";
  | else if (selectedChild instanceof Phase)
  | return "editphase";
  | else 
  | return "error";
  | }
  | 

I also put a log messge in the @Destroyed method and I see this occur in the 
expected pattern. 
The one issue that causes my problem is that when I press on the button the 
first time the create function is not called, its as if the page is reusing the 
siteEditor left over from the previous conversation (even though I called the 
@End method). 

One extra piece of information is that if I then repress on the same 
commandButton a second time a new siteEditor is created. 

The xhtml code is as follows:


  | 
  | Site Editor
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  | 
  |
  |
  | 
  |
  |
  | 
  | 
  | 
  | 
  | 
  |
  |
  | 
  |
  |
  | 
  |
  |   
  | 
  |   
  | 
  |  
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 

[JBoss-user] [JBoss Eclipse IDE (users)] - Project type EJB3.0 in Eclipse

2006-01-05 Thread JBStonehenge
I am using Eclipse 3.1, JBossIDE-1.5RC2-ALL
JBOSS4.03.SP1. I am running JDK 1.5.0.6. 

I am following the JBOSS-IDE Tutorial. But creating a new project of type EJB 
3.0 is not possible due to that very missing type EJB 3.0.

How do I get this eclipse Project type?

Any suggestions or feddback will be greatly appreciated. 
Thank you for reading my post. 

Johannes

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915888


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Mbeans dependency problem

2006-01-05 Thread kosana
Hi,

I tried using  to have my ejb deployed first before the mbeans service. But it 
seems didnt work. Does anybody has a clue?.

this below my jboss-service.xml content.



  
 jboss.j2ee:module=Admin.jar,service=EjbModule
  


Thanks.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915887


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: File search not working until second try

2006-01-05 Thread jiyanghu
Please follow the following precedure to verify the problem,

1. Go to file search, enter something in containing text and choose your file 
name patern. Choose enclosing project. Click search button and there is no 
result.

2. Go to file search again, since there is no result found so workspace is 
selected automatically(enclosing project is disabled). Press search button, 
this time it will show you result.

3. Go to file search again, enclosing project is enabled this time. Choose it 
and click search button and then you get the result. I am not sure if the 
result is from the cache which is stored by step 2.

My question is why step 1 can't give me result.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915886


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   >