[jboss-user] [JBossWS] - Re: WebServices logging

2009-03-04 Thread mobaxkrs
Also i found that the default standard endpoint config at 
jboss-4.2.2.GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml
 has no  Element in it

The config is 

 
  | Standard Endpoint
  |   

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

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


[jboss-user] [Microcontainer] - Attachments eligible for being passed to the deployers?

2009-03-04 Thread jaikiran
If one of the deployers adds a attachment to an unit that is being deployed, 
will that attachment then be passed on to the list of available deployers for 
being processed? 

Ex:

public class MyDeployer extends AbstractDeployer
  | {
  | 
  |   public MyDeployer()
  |   {
  | setOutput(MyType.class);
  | 
  |   }
  | 
  |   public void deploy(DeploymentUnit unit)
  |   {
  | // do something
  |...
  |// add attachment
  |MyType myObject = new MyType();
  |unit.addAttachment(name,myObject);
  |   }
  | 
  | }

So at a later point of time, will the attachment of MyType be passed on to the 
available deployers?

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

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


[jboss-user] [JBossWS] - Re: WebServices logging

2009-03-04 Thread mobaxkrs
Hi

I read through the Records management framework documentation. But i Could not 
figure out how to achieve it.. The implementation portion in the document is 
not clear. 

Somehow i figured out 
/home/krs/mobicents-all-1.2.0.BETA3-jboss-4.2.2.GA/jboss-4.2.2.GA/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
 and  added the bean properties for the recorders. 
Don't know it is what we need to do. 

Where will the logged information available.. How to get that.. Could u specify 
implementation specific details.. or point to any other links


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss tomcat issue ...?

2009-03-04 Thread gmaheshwari
Hi, I am facing an issue while running the project in Net Beans with Jboss 
server 4.0. The server log states that :

ERROR [Tomcat5] Problem in init 
java.util.zip.ZipException: unexpected EOF

The error is while deploying my application .war file from 
D:\program_files\jboss\server\default\deploy\Application.war

Please help me out.

Thanks in advance..

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

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


[jboss-user] [EJB 3.0] - Re: Service Bean - Strange behaviour on redeploy

2009-03-04 Thread jaikiran
anonymous wrote : I have a service bean, that spawns a thread, which reads 
messages from one queue and sends them out on another. 

Why not use an MDB instead?

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

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


[jboss-user] [JBoss and NetBeans] - Re: Error deploying war file (developed using visual web 5.5

2009-03-04 Thread gmaheshwari
I am also facing the same issue. Please some one help...

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

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


[jboss-user] [EJB 3.0] - Re: EJB Timer still active even after the bean is undeployed

2009-03-04 Thread jaikiran
Also please post the logs which show the undeployment itself, apart from the 
logs after the undeployment.


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

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


[jboss-user] [Beginners Corner] - Re: Connetion timeout in jboss

2009-03-04 Thread jaikiran
"venuwin" wrote : Hi,
  | 
  | Have i posted my query in the wrong forum ??

Not sure. The question looks too specific to your application. Let's see what 
more information we can get:

anonymous wrote : When the classes in the EAR try to connect to some external 
URL,

How do you do that? Any code/configuration files that you can post?

anonymous wrote :  it fails to connect after 2-3 days.

Always after 2-3 days? And what exactly does a "fail" mean? Any exception 
stacktrace? Error message? Any logs?

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

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


[jboss-user] [JBossWS] - Re: WS-Security on POJO Endpoint in JBOSSWS 3.1.0

2009-03-04 Thread dhanushgopinath
Guys,

I got it working. I will write a detailed document on the same and update it 
here.

Thanks 
Dhanush

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Xerces SAX Error in JBoss

2009-03-04 Thread sasarun
Have u got a solution for the same

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

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


[jboss-user] [JBossWS] - Re: 'the command is too long' when run wsprovide.bat

2009-03-04 Thread PeterJ
Just a thought - are you really using colons (:) to separate JAR files in the 
classpath? Since you are running on Windows (which I assume is the case since 
you specifically mentioned wsprovide.bat), you should really be using 
semicolons (;).

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

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


[jboss-user] [Performance Tuning] - tomcat performance improvement

2009-03-04 Thread itlche
Hi All,

I face lot of errors in modjk log, whenever the jboss server reaches the peak 
load. I am sure i need to do some tuning in the jboss tomcat container 
configuration. But i am clueless..


can some one help me ...


i have already posted a question related to the same under configuration topic.

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


Any pointers would be great.

Thanks

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

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


[jboss-user] [Security & JAAS/JBoss] - NPE in GenericPrincipal

2009-03-04 Thread edgoquist
I'm trying implement SSO and I'm having some trouble. I've been dealing with 
most of it but now I've got this:

01:00:44,021 ERROR [JBossWebRealm] Error during authenticate
java.lang.NullPointerException
at java.util.Arrays.mergeSort(Arrays.java:1144)
at java.util.Arrays.mergeSort(Arrays.java:1155)
at java.util.Arrays.sort(Arrays.java:1079)
at org.apache.catalina.realm.GenericPrincipal.(GenericPrincipal.java:96)
at 
org.jboss.web.tomcat.security.JBossGenericPrincipal.(JBossGenericPrincipal.java:71)
at 
org.jboss.web.tomcat.security.JBossWebRealm.getCachingPrincipal(JBossWebRealm.java:675)
at 
org.jboss.web.tomcat.security.JBossWebRealm.authenticate(JBossWebRealm.java:409)
at 
org.jboss.web.tomcat.security.login.WebAuthentication.login(WebAuthentication.java:93)

... rest of trace truncated.


The GenericPrincipal code looks like this around line 96:


  |92   if (roles != null) {
  |93   this.roles = new String[roles.size()];
  |94   this.roles = (String[]) roles.toArray(this.roles);
  |95   if (this.roles.length > 0)
  |96   Arrays.sort(this.roles);
  |97   }
  | 

Does this mean that one of my Roles is null? Where are the roles coming from?  
There are 2 places where I can specify roles that I know of. One is in the 
LoginProvider that I wrote. The other is in sso-cfg.xml.  The LoginProvider 
will return at least "Other" if no role exists for an otherwise authenticatable 
user.

I'm using UsernameAndPasswordLoginModule.

Can anyone help please?  thanks.




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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can we add Aliases to map physical standalone html file

2009-03-04 Thread PeterJ
Not exactly, but you can get close by specifying additional deploy directories. 
See http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212358#4212358

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss tomcat issue ...?

2009-03-04 Thread itlche
Hi All,

 

We have a test environment with 2 apaches  and clustered 4 Jboss instances .

 

We have setup load balancing via modjk properties in apache box.

 

Our setup is like each apache is in separate box and 2 Jboss instances in 
separate box. [Totally 4 linux boxes]

 

During the peak load of users, we get lot of errors in modjk logs like as shown 

  
  | 
  | 
  |   [Tue Feb 17 10:33:27 2009][22106:1241577824] [error] 
ajp_send_request::jk_ajp_common.c (1359): (snode4) connecting to backend 
failed. Tomcat is probably not started or is listening on the wrong port 
(errno=110) 
  | 
  |   


I felt this may be due to insufficient threads dedicated to tomcat container to 
process the requests from apache modjk to tomcat. But I am not sure whether 
this is correct or not.

 

Please let me know if any one have encountered such errors ?

 

Configuration details below: 

  
  | 
  | 
  | ModJK Properties: [Apache]
  | 
  |  
  | 
  |  
  | 
  |  
  | 
  | worker.list=lb,slb,status
  | 
  |  
  | 
  | worker.node1.port=8009
  | 
  | worker.node1.host=lm014
  | 
  | worker.node1.type=ajp13
  | 
  | worker.node1.lbfactor=1
  | 
  | worker.node1.connect_timeout=1
  | 
  | worker.node1.prepost_timeout=1
  | 
  | worker.node1.socket_timeout=10
  | 
  | worker.node1.connection_pool_timeout=600
  | 
  | # worker.node1.connection_pool_size=10 (1)
  | 
  | worker.node1.domain=snode1
  | 
  |  
  | 
  | worker.node2.reference=worker.node1
  | 
  | worker.node2.host=lm014
  | 
  | worker.node2.domain=snode2
  | 
  |  
  | 
  | worker.node3.reference=worker.node1
  | 
  | worker.node3.host=lm015
  | 
  | worker.node3.domain=snode3
  | 
  |  
  | 
  | worker.node4.reference=worker.node1
  | 
  | worker.node4.host=lm015
  | 
  | worker.node4.domain=snode4
  | 
  |  
  | 
  | # Load-balancing behaviour
  | 
  | worker.lb.type=lb
  | 
  | worker.lb.balance_workers=node1,node2,node3,node4
  | 
  | worker.lb.sticky_session=1
  | 
  | # worker.lb.sticky_session_force=1
  | 
  |  
  | 
  |  
  | 
  | worker.snode1.reference=worker.node1
  | 
  | worker.snode1.host= lm014
  | 
  | worker.snode1.port=8010
  | 
  |  
  | 
  | worker.snode2.reference=worker.snode1
  | 
  | worker.snode2.host= lm014
  | 
  |  
  | 
  | worker.snode3.reference=worker.snode1
  | 
  | worker.snode3.host=lm015
  | 
  |  
  | 
  | worker.snode4.reference=worker.snode1
  | 
  | worker.snode4.host= lm015
  | 
  |  
  | 
  | # Load-balancing behaviour
  | 
  | worker.slb.type=lb
  | 
  | worker.slb.balance_workers=snode1,snode2,snode3,snode4
  | 
  | worker.slb.sticky_session=1
  | 
  | # worker.slb.sticky_session_force=1
  | 
  |  
  | 
  | worker.status.type=status
  | 
  |  
  | 
  |  
  |  

 

 

Server.xml [JBOSS Server]

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

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How can i make virtual alias for network shared drive

2009-03-04 Thread PeterJ
Urgent?? And you don't even mention which version of JBoss AS?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss 5.x deploy problem

2009-03-04 Thread PeterJ
Earlier in the console log there should be one or more stack traces; post the 
first one. (What you posted is the deployment report which outlines which 
deployments failed, but that report rarely describes the root cause.)

Also, the named using in persistence.xml does not match what is in *-ds.xml.

Finally, When posting XML text or source code, please enclose the text in 
UBBCode "code" tags  - you can do this by selecting the text and clicking the 
Code button above the editor window. Also, click the Preview button to ensure 
that the formatting is correct and the XML text shows up before posting.

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

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


[jboss-user] [Beginners Corner] - Re: Portlets mit Eclipse erstellen

2009-03-04 Thread PeterJ
You should be able to create a Dynamic Web Application project and then add a 
Portlet facet to it and then create portlets.

But if you are new to portlets, I recommend not using the Portlet facet and 
instead creating the portlet class and the configuration files manually. This 
way you learn more about how to create a portlet WAR file and what it requires. 
After you are comfortable with that, then you can start using the Portlet Facet.

I recommend doing it this way because when you are first learning a new 
technology you do not want to be fighting with the IDE. If you do everything by 
hand, then you have only yourself and your understanding to blame. If you are 
using a IDE to do things for you automatically, if things go wrong, you never 
know if it was your lack of understanding or issues with the IDE that caused 
the problem. Anyway, that is my two pfennings. 

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Does twiddle requires -b 0.0.0.0?

2009-03-04 Thread PeterJ
Looks like your /etc/hosts file is not correct. Here's some info on checking 
that your hosts file is set correctly: http://www.cpqlinux.com/hostname.html

If that doesn't help, post the hosts file.

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

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


[jboss-user] Configuration advice - different databases

2009-03-04 Thread Chris Idou


I wonder if anyone can give me a pointer or advice.

We've got an application and we run 3 instances of it under different server/  
directories in our JBoss installation. Each instance's datasource.xml points to 
a different database. One is a production database, and the others are testing 
database. Each has its own IP address.

We want to be able to run instances against even more databases without 
allocating more IP addresses, but I'm not sure how one would go about it. 
Various files in the application like ejb-jar.xml and so forth point to a jdbc 
name that identifies the datasource, so I'm not sure how one would have more 
than one datasource and dynamically choose the database when it is kind of 
hard-coded in this config file. (without I guess, modifying the app for each 
instance, which isn't desirable).

Even if we could choose datasources dynamically, I'm not sure how the remote 
client would say which instance of the corresponding EJBs to talk to. At the 
moment each app has a config parameter which points to 
http://x.x.x.x/invoker/JNDIFactory, and depending which x.x.x.x they choose, it 
selects which database and JBoss instance to talk to.

At the moment its really easy to set up new instances IF one is prepared to 
allocate a new IP address. Is there any easy way (or any way at all) to do it 
without new IP addresses?


  Stay connected to the people that matter most with a smarter inbox. Take 
a look http://au.docs.yahoo.com/mail/smarterinbox___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Timeout on node -- possible??

2009-03-04 Thread krishnan366
I am using jboss cache 3.0.2 for one of my projects and using the 
JDBCCacheLoader for eviction.

I would like to know if there is an option to set a timeout on each node. The 
requirement is that when this timeout is reached the node must be removed from 
both memory and database and should not be accessible.. How do I achieve this?



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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Maximum number of nodes and limiting memory usage

2009-03-04 Thread krishnan366
"krishnan366" wrote : Please refer to 
  | 
  | https://jira.jboss.org/jira/browse/JBCACHE-11
  | 
  | for memory based eviction.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Maximum number of nodes and limiting memory usage

2009-03-04 Thread krishnan366
Please refer to 

https://jira.jboss.org/jira/browse/JBCACHE-11

for memory based eviction.

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

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


[jboss-user] [JBossWS] - Re: 'the command is too long' when run wsprovide.bat

2009-03-04 Thread Grid.Qian
I tested it according to your said, but the error occured too.

"PeterJ" wrote : Try placing the command into a *.bat file and run the bat 
file. I think this has something to do with the input handler for Command 
Prompt and putting the command into a *.bat file might get around it.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem when trying to configure transaction manager

2009-03-04 Thread sdsani
Hi,

I am creating a simple application using JSF, Spring and Hibernate. Everything 
works fine and now i am trying to configure transaction manager from Spring. 
Following are the steps that i took.

Spring Context file

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | *
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | service.DeptBean.*=PROPAGATION_REQUIRED, 
-CommandException
  | service.EmployBean.*=PROPAGATION_REQUIRED, 
-CommandException
  | 
  | 
  | 
  | 

Next i included cglib-2.1.3.jar and asm-3.1.jar in my application path. Now 
when i deploy my application i am getting following error. Please advice.

  | org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'employBean' defined in ServletContext resource 
[/WEB-INF/config/appContext.xml]: Initialization of bean failed; nested 
exception is java.lang.NoSuchMethodError: 
org.objectweb.asm.ClassWriter.(Z)V
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
  | 


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Can we add Aliases to map physical standalone html file pat

2009-03-04 Thread navin_net
 Can we add  Aliases to map physical standalone html file paths in Jboss5 as we 
map in apache httpd.conf file, like below

Alias /log/  "d:\weblog/log/" 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to configure error page for all WARs in JBoss 4.0.3

2009-03-04 Thread yeats
Thanks for your reply..
I have tried it before, but it just work for  http://localhost:8080/
other web site is not work. 
ex http://localhost:8080/testWeb/ 
 http://localhost:8080/InfoWeb/



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

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


[jboss-user] [JBoss Messaging] - Re: UnknownHostException (Error setting up SocketClientInvok

2009-03-04 Thread chicken
Thanks for your ideal,
I will try. but I don't know why the second node can detect the first node as 
we see in the error message. I think maybe there is some where to configure to 
declare the server name. I could not find out the instruct in 
JBoss_Messaging_User_Guide.pdf

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

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


[jboss-user] [Beginners Corner] - Unable to load service NamingService in jboss-service.xml

2009-03-04 Thread JRookie_2402
Hi everybody,
jboss will not start becaus of an error

00:30:00,062 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

vfsfile:/F:/Entwicklung/JBoss_5.0/jboss-5.0.0.GA/server/default/conf/jboss-service.xml
 -> java.lang.NoSuchMethodError: org.jnp.interfaces.NamingContext.get
Local()Lorg/jnp/interfaces/Naming;

I think he is unable to load the service. In my jboss-service.xml I find 

   bin in mbean 
   
   
   
   
  
  false
and the files xmdesc/NamingBean-xmbean.xml are there alright.
What is it ? Has anyone an idea. 
Its the offical Duke's Bank stuff .
regards
JRookie






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

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


[jboss-user] [JBoss jBPM] - Re: 3.2.1 Datasource Change

2009-03-04 Thread kukeltje
the hibernate.cfg.xml file is the one that needs adapting if you want to use 
that ds name. It's easier though rename your ds to jbpmds

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

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


[jboss-user] [JBoss jBPM] - Re: List all deployed process definitions

2009-03-04 Thread kukeltje
Brad is correct... a little googling with a search containing the terms of your 
subject would have shown you this, or at least gave a lot of hints in that 
direction.

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

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


[jboss-user] [EJB/JBoss] - Re: how to turn on ejb transaction demarcation?

2009-03-04 Thread mcandelo
I know little (nothing) about seam, but with stateless beans I've had very 
little success annotating private methods with @TransactionAttribute.  I 
believe those annotations only work when the method is called from outside the 
EJB.  In this case, it's probably just best for you to inject the 
UserTransaction as a @Resource and work with that.  You should be able to use 
begin(), commit(), & rollback() for all your transaction needs.

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

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


[jboss-user] [EJB/JBoss] - how to turn on ejb transaction demarcation?

2009-03-04 Thread kannattaa
hello!

i have jboss-4.2.3GA and example from jboss-seam-2.1.1.GA sources (seam-booking)

i want to save user in a transaction and then change his name in another 
transaction, so some changes were made in RegisterAction.java:
   public void register()
  |{
  |  if ( user.getPassword().equals(verify) )
  |   {
  |  List existing = em.createQuery("select u.username from User u 
where u.username=#{user.username}")
  | .getResultList();
  |  if (existing.size()==0)
  |  {
  | persistUser();
  | 
  | user.setName(user.getName() + "1");
  | persistUserWithException();
  | 
  | facesMessages.add("Successfully registered as 
#{user.username}");
  | registered = true;
  |  }
  |  else
  |  {
  | facesMessages.addToControl("username", "Username 
#{user.username} already exists");
  |  }
  |   }
  |   else 
  |   {
  |  facesMessages.addToControl("verify", "Re-enter your password");
  |  verify=null;
  |   }
  |}
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | private void persistUser() {
  | em.persist(user);
  | }
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | private void persistUserWithException() {
  | em.persist(user);
  | throw new RuntimeException();
  | }

this expects that user with original name will be persisted, but change of his 
name won't apply.

but this doesn't work. both operations will be rollbacked because they are in 
the same transaction.

what's wrong? please help me!

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

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


[jboss-user] [Management, JMX/JBoss] - Newbie JMX question

2009-03-04 Thread norad_2
I have a project that is deployed as a WAR.

The WAR contains a Servlet that makes use of an Object.

Is there a way to create an MBean that allows me to invoke methods in the 
Servlet and/or the Object?


Thank you

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

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


[jboss-user] [JBoss Tools (users)] - Re: Portlet Filters when creating a new portlet

2009-03-04 Thread snjeza
You will have javax.portlet.filter if you add portlet 2.0 jar. This jar is 
placed in JBoss EPP 4.3.0 and JBoss Portal 2.7.1.
servlet-api.jar contains javax.servlet.Filter within the JBoss Server Runtime.
See http://screencast.com/t/gMr1IO19

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

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


[jboss-user] [JBoss Tools (users)] - Re: where is the launch configuration

2009-03-04 Thread max.ander...@jboss.com
ok, just noticed that in latest build that option is gone ;(

Opened https://jira.jboss.org/jira/browse/JBIDE-3923 to get that looked into

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

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


[jboss-user] [EJB 3.0] - Re: TIMER SERVICE EJB 3.0 - Need Help

2009-03-04 Thread pramkum
Jai,

My Timer bean code is 



  | 
  | /**
  |  * Timer bean used to periodically search to see if any pager forward 
requests have been entered.
  |  * 
  |  * @jboss.container-configuration name="Singleton oncall Standard Stateless 
SessionBean"
  |  * 
  |  * 
  |  */
  | 
  | 
  | 
  | @Stateless(mappedName="ejb/OnCallTimerBean")
  | @Remote(OnCallTimer.class)
  | @Local(OnCallTimer.class)
  | public class OnCallTimerBean implements OnCallTimer {
  | 
  | 
  | 
  | /**
  |  * use for logging
  |  */
  | Log log = LogFactory.getLog(this.getClass());
  | 
  | /**
  |  * reference to the timer handle 
  |  */
  | 
  | private TimerHandle timerHandle = null;
  | 
  | /**
  |  * Poll records after following interval.
  |  */
  | private static int POLLING_TIME = 6;
  | 
  | /**
  |  * status flag to determine transaction state
  |  * set this flag to disable timer call
  |  */
  | private static boolean processFlag = false; 
  | 
  | 
  | private OnCallService oncallService = null;
  | 
  | @Resource
  | private SessionContext sessionCtx;
  | public void startTimer() {
  | 
  | System.out.print ("Inside startTimer ");
  | if (log.isInfoEnabled()) {
  | log.info("startTimer Service ");
  | }
  | 
  | try {
  | // Create timerService instance
  | TimerService timerService = 
sessionCtx.getTimerService();
  | 
  | Collection timers = timerService.getTimers();
  | Iterator it = timers.iterator();
  | while (it.hasNext()) {
  | Timer aTimer = (Timer) it.next();
  | if (log.isInfoEnabled()) {
  | log.info("checking timer with info " + 
aTimer.getInfo());
  | }
  | 
  | if ((aTimer.getInfo() != null)
  | && 
((aTimer.getInfo().equals(this.getClass().getName() {
  | aTimer.cancel();
  | if (log.isInfoEnabled()) {
  | log.info("Successfully 
Cancelled "
  | + 
this.getClass().getName());
  | }
  | 
  | }
  | }
  | 
  | //at this point all timers should be canceled.  
  | //now we can create our own timer.
  | 
  | Timer timer = timerService.createTimer(0, POLLING_TIME, 
this.getClass()
  | .getName());
  | timerHandle = timer.getHandle();
  | } catch (Exception e) {
  | log.error("An exception occurred while creating the 
Oncall Timer.",
  | e);
  | }
  | return;
  | }
  | 
  | 
  | 
  | public void endTimedService() throws EJBException {
  | System.out.print ("Inside endTimedService ");
  | if (log.isInfoEnabled()) {
  | log.info("endTimedService ");
  | }
  | try {
  | TimerService timerService = 
sessionCtx.getTimerService();
  | Collection timers = timerService.getTimers();
  | Iterator it = timers.iterator();
  | while (it.hasNext()) {
  | Timer myTimer = (Timer) it.next();
  | if 
((myTimer.getInfo().equals(this.getClass().getName( {
  | myTimer.cancel();
  | if (log.isInfoEnabled()) {
  | log.info("Successfully 
Cancelled "
  | + 
this.getClass().getName());
  | }
  | }
  | }
  | } catch (Exception e) {
  | log.error("Exception after cancelling timer!", e);
  | }
  | return;
  | }
  | 
  | 
  | 
  | @Timeout
  | public void timeout(Timer timer){
  | 
  | System.out.print ("initiateServiceBean ");
  | if (log.isDebugEnabled()) {
  | StringBuffer debug = new StringBuffer();
  | debug
  | .append("OncallTimedService: Searching 
for requests ready to process.");
  | log.debug(debug.toString());
  | }
  | 

[jboss-user] [JBoss jBPM] - 3.2.1 Datasource Change

2009-03-04 Thread robro99
I have tried to search, but just cannot seem to find a good answer on this.  I 
apologize as I am a complete noob when it comes to JBOSS.  I followed this 
http://www.jboss.org/community/docs/DOC-11142 and used 
jbpm-jpdl-suite-3.2.1.zip to get jBPM going.  I can start it up and run through 
the websale example.  Now I need to change the backend database.  

I think my major problem is that the user guide talks about files that do not 
exist (at least not in suite-3.2.1).  I have been trying to follow this 
http://docs.jboss.org/jbpm/v3/userguide/thejbpmdatabase.html#d0e2465..

I have a new datasource "mssql-ds.xml" in my 
C:\jbpm-jpdl-3.2.1\server\server\jbpm\deploy directory.  I tested this with a 
simple JSP and it seems to work. It is named MSSQLDS. 

The problem I am running into is that the user guide suggests modifying 
jboss-service.xml which it says is found in
${JBPM_SDK_HOME}/jbpm-server/server/jbpm/deploy/jbpm.sar/META-INF
I do NOT have a jbpm.sar.  Is there something equivalent for 3.2.1?  

After that step it suggests modifying hibernate.cfg.xml, which it says should 
be found in jbpm.sar.cfg.jar, which I do not have. :(

If anyone could tell me what file(s) in 3.2.1 I need to modify to change from 
the default datasource to my new datasource I would be very greatful.

-Rob the confused



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

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


[jboss-user] [EJB 3.0] - Re: Injection of QueueConnectionFactory and Queue from ENC i

2009-03-04 Thread Wolfgang Knauf
Done (all credits are yours ;-) )

https://www.jboss.org/community/docs/DOC-12835

Wolfgang

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

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


[jboss-user] [EJB 3.0] - Re: Injection of QueueConnectionFactory and Queue from ENC i

2009-03-04 Thread Wolfgang Knauf
Done, all credits are yours ;-)!

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

Wolfgang

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

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


[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2009-03-04 Thread Dave Schneider
Thanks a lot, Ron.

I'll try getting our JBM moved up to at least the CP04 level and configure the 
HTTP remoting for blocking mode and see if that does what I'm looking for.

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

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


[jboss-user] [JBoss jBPM] - Re: async execution

2009-03-04 Thread armita
I dug a bit more and noticed that there supposed to be another thread taking 
care of this, but the classes mentioned in the document like 
CommandExecutionServlet, CommandExecutor etc. does not exist in the version 3.3 
anymore.
Could anybody let me know what happened here and how can I proceed with it?

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

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


[jboss-user] [JBoss Tools (users)] - Re: where is the launch configuration

2009-03-04 Thread jackxxwu
Max, thank you for your reply. but believe me these two options are no there on 
the UI.


"Right click server > Open launch configuration" -> there is no "Open launch 
configuration" when right click on the server. there is only "open", which 
opens up the server editor.

"Double click server > the editor that shows up has link to the launch config." 
->the editor does not have the link to the launch config.

i wish this forum allows picture attachments so i can send you a screen shot.

i have a clean eclipse installation and i added the jboss tools by going to the 
update site.

Eclipse SDK

Version: 3.4.2
Build id: M20090211-1700


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

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


[jboss-user] [JBoss Cache: Core Edition] - What's the correct way to invalidate a node in 3.x, includin

2009-03-04 Thread jshowalter
When we delete some special data, we mark it deleted instead of deleting it 
right away, and then we put the now-marked-deleted data in the cache, which 
replicates it across the cluster.

When clients read this special data from the cache, they see that it's deleted 
and can act accordingly (filtering it out).

Over time, all of the caches in a cluster have the version of the data that's 
marked deleted. Once that happens, they will no longer write that data to the 
database.

This is a lazy, robust way to gradually delete the data across a cluster--and 
it means we can do everything using ASYNC and not care about two-phase commits.

Once everything stabilizes, we can actually delete the marked-deleted data from 
the database. Before doing that, however, we want to delete it from all of the 
caches.

We would like for our garbage collector to not have to connect to each cache 
and tell it to delete the data. We'd like to delete the data from one node and 
have invalidation be sent for that node to the other caches in the cluster. 
That way our garbage collector only has to have one database connection and 
know about one app server.

What's the best way to accomplish that in 3.x?

We are currently just calling theCache.removeNode(the node to delete), but:

1) That seems pretty harsh. We tried to find something more like 
theNode.invalidate(), but don't see that in the API anywhere.

2) Does removeNode send invalidations to the other caches in a cluster? If not, 
what method should we be calling?

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

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


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

2009-03-04 Thread max.ander...@jboss.com
the problem is that the console config can't find a META-INF/persistence.xml in 
the classpath.

Look for that and check it is in the classpath.



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

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


[jboss-user] [JBoss Cache: Core Edition] - What keeps putForExternalRead from suffering the thundering-

2009-03-04 Thread jshowalter
We have code that looks like this:

Data getSomeData(key)
{
Data theData = theCache.get(node, key);

if (theData == null)
{
theData = read the data from database
theCache.putForExternalRead(node, key, the data from database);

return theData;
}

Now suppose we have a bunch of threads that hit getSomeData at the same time 
with the same key.

Will several threads get a null data, read from the database, and do the 
putForExternalRead, with only the first call to putForExternalRead having any 
effect?

It would be desirable not to have to pay the overhead of multiple database 
reads in this situation.


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

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


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

2009-03-04 Thread paulkeogh
Thanks for the reply Max. Unfortunately your suggestion does not work. I havent 
not yet tried the ant suggestion.

Some more background on this; the project was originally created with JBT 3.0.0 
CR1/Eclipse 3.4.1 and was imported as a project into the current environment. 

A seam-gen project that I created from scratch in the current environment works 
fine so I started comparing the various artefacts. 

persistence.xml files are the same, as are the ds- files, as are the 
hibernate-console.properties and the xxx-launch files. 

Any suggestions where I might start to debug this ? Are there other files that 
are not visible in the Eclipse views that might be out of alignment ?

Or... is there another UI to test JPA queries in ?


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

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


[jboss-user] [JBoss AOP] - Re: Log Messages Not Showing with Compile Time Weaving

2009-03-04 Thread kabir.k...@jboss.com
Ståle is more familiar with maven plugin, but when running your application 
you also need to include the path to jboss-aop.xml. In ant/plain java this is 
done by using the -Djboss.aop.path property

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

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

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


[jboss-user] [JBoss AOP] - Re: Embed ejb3-interceptors-aop.xml or equivalent into EAR

2009-03-04 Thread kabir.k...@jboss.com
I'm not sure I understand what you mentioned at the end? You should be able to 
include the lisa-interceptors-aop.xml and jar containing the interceptors into 
your ear?

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

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


[jboss-user] [JBossWS] - Re: Trying to specify SOAP 1.2 in EJB.

2009-03-04 Thread djkrite
I installed JBoss 5.0.1 and JBossWS 3.1.0, the problem still exists. Here is a 
stack trace:

  | 15:40:39,149 ERROR [STDERR] java.lang.UnsupportedOperationException: SOAP 
1.1 Fault does not support the concept of Role
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.ws.core.soap.SOAPFaultImpl.setFaultRole(SOAPFaultImpl.java:628)
  | 15:40:39,150 ERROR [STDERR] at 
com.example.webservice.endpoint.PBXInterfaceImpl.createSOAPFault(PBXInterfaceImpl.java:57)
  | 15:40:39,150 ERROR [STDERR] at 
com.example.webservice.endpoint.PBXInterfaceImpl.passedValidation(PBXInterfaceImpl.java:351)
  | 15:40:39,150 ERROR [STDERR] at 
com.example.webservice.endpoint.PBXInterfaceImpl.updateAllRooms(PBXInterfaceImpl.java:189)
  | 15:40:39,150 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:40:39,150 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:40:39,150 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:40:39,150 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
  | 15:40:39,150 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:40:39,150 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:40:39,150 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:40:39,150 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_4679956.invoke(InvocationContextInterceptor_z_fillMethod_4679956.java)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_4679956.invoke(InvocationContextInterceptor_z_setup_4679956.java)
  | 15:40:39,150 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,151 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
  | 15:40:39,228 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | 15:40:39,228 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | 15:40:39,228 ERROR [STDERR] at 
org.jboss.aspects.tx.TxInte

[jboss-user] [JBoss Tools (users)] - Re: Portlet Filters when creating a new portlet

2009-03-04 Thread max.ander...@jboss.com
ah so this is for servlet filters - i thought portal filters were something 
specific ?

you can see the classpath on the project in the project explorer.



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

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


[jboss-user] [JBoss Tools (users)] - Re: where is the launch configuration

2009-03-04 Thread max.ander...@jboss.com
Right click server > Open launch configuration

Double click server > the editor that shows up has link to the launch config.

And no there is no lucene index here - just that we use whatever is configured 
in the server object to do the launch config.

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

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


[jboss-user] [JBoss Tools (users)] - Re: where is the launch configuration - it is a bug

2009-03-04 Thread jackxxwu
i now believe it is a bug. there is a disconnect between the servers and the 
run configure dialogs. when i try to add the run configure, my server does not 
show up in the drop down list. 

i also try to change the .launch file under 
.metadata\.plugins\org.eclipse.debug.core\.launches. but the moment i start the 
server, the configure file is over written. it looks like the configuration is 
really written in a lucene index and is fetched.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Expression Language (EL) with JBOSS 4.x

2009-03-04 Thread avinashtauro
I have a jsp page using EL which works fine on Tomcat 6.0. However when i 
migrate this to a JBoss 4.0 setup, I get the following error for the line 
containing EL syntax.

--
org.apache.jasper.JasperException: Exception in JSP: 
/ManagerReportParameters.jsp:41

38: 
39: 
40: 
42: 
43: 
44: 


Stacktrace:

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


--


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

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


[jboss-user] [JBoss Tools (users)] - Re: Portlet Filters when creating a new portlet

2009-03-04 Thread prabhat....@jboss.com
I tried to create filter using DeploymenetDescriptors->Filter->New Filter.

I was thinking that adding portlet facet to dynamic project should add the 
class in the list of super classes. But I don't see javax.servlet.Filter either 
which should be available in most of web projects. 

Which jar does get applied to the classpath when you add portal facet to a 
dynamic web project? 

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

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


[jboss-user] [JBoss Tools (users)] - where is the launch configuration

2009-03-04 Thread jackxxwu
i have 
eclipse 3.4.2+JbossAS tools 2.0.0.GA-R200903031330-H8+Jboss 
EnterprisePlatform-4.3.0.GA.

i followed the instructions here:
http://docs.jboss.org/tools/3.0.0.CR2/en/as/html_single/index.html

up to the point where it says:

"Figure 3.15. XPath Pattern for a Server Port

The settings related to Publishing , Timeouts or Server Polling can be also 
adjusted in the Server editor.

Server editor makes it also possible to modify the server's launch 
configuration. It's just after clicking Open launch configuration link. In the 
open window there are the tabs for setting command line arguments and other 
things that are relevant to launching the server."

but i can't see the "launch configuration link". it is just not there. i would 
attach a picture of the UI if i knew how to attach pictures. i know exactly 
where that link is, because i used a old version of the jboss tools before. but 
after i update, the link is gone.

is it a bug? how do i work around it? i need to add some additional path to the 
jboss start up classpath. thanks.

jack.





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

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


[jboss-user] [JBoss Messaging] - Client Connection Delegate has Null state

2009-03-04 Thread mmarcuci
I'm trying to start an application running in JBoss 4.0.5 that is to be a 
client to a JBoss Messaging server running JBoss 4.2.3, Messaging 1.4.0.SP3.  I 
think I've worked out most of the classpath issues, and everything starts up 
without exception.  I create the initial context with JNDI to connect to the 
messaging server, and have no problem coreating the connection factory.  and 
connection.  However, when I try to set an exception listener I get an NPE 
because the ClientConnectionDelegate has a null state.  I've tried using the 
updated remoting jar, but that doesn't solve the problem.  I have no problem 
running the messaging component of my application outside of the JBoss server, 
so I'm pretty sure the issue is somewhere either within my jboss config or with 
one of the client messaging jars I'm using. Anyone been able to resolve a 
similar issue?  Thanks for any help.

Details:  

Client Application: server running in JBoss 4.0.5

Messaging Server: JBoss v 4.2.3.GA

WARNING: Exception in constructor
java.lang.NullPointerException
at 
org.jboss.jms.client.container.ConnectionAspect.getConnectionState(ConnectionAspect.java:254)
at 
org.jboss.jms.client.container.ConnectionAspect.handleSetExceptionListener(ConnectionAspect.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
at 
org.jboss.jms.client.delegate.ClientConnectionDelegate$setExceptionListener_8089029433030319178.invokeNext(ClientConnectionDelegate$setExceptionListener_8089029433030319178.java)
at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at 
org.jboss.jms.client.delegate.ClientConnectionDelegate$setExceptionListener_8089029433030319178.invokeNext(ClientConnectionDelegate$setExceptionListener_8089029433030319178.java)
at 
org.jboss.jms.client.delegate.ClientConnectionDelegate.setExceptionListener(ClientConnectionDelegate.java)
at 
org.jboss.jms.client.JBossConnection.setExceptionListener(JBossConnection.java:117)

Client Jars included in classpath:
jboss-remoting.jar - version 2.2.2.SP4
jboss-aop-jdk50.jar - version jboss-aop-1.5.2.GA
jboss-messaging-client.jar - version 1.4.0.SP3
jbossall-client.jar - version 4.2.3.GA, stripped of all but the following 
packages javax.jms.*, org.apache.log4j.*, org.jboss.aop.*, org.jboss.aspects.*, 
org.jboss.injection.*, org.jboss.logging.*, org.jboss.remoting.*, 
org.jboss.util.* 
trove.jar - version 4.2.3.GA

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

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


[jboss-user] [JBoss jBPM] - async execution

2009-03-04 Thread armita
I am trying to execute some of my nodes with built in async approach. I get the 
messages in the JBPM_JOB table, but  nothing happens after this point. The 
record are just sits in the table forever. 
The application is a webbased application running on Tomcat and my jbpm 
configuration file looks like:

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

What do I miss ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How can i make virtual alias for network shared drive

2009-03-04 Thread navin_net
I have some html files on different PC, that on shared network drive. how can i 
access as a alias like http://localhost/my_files/1.html. where my_files as a 
alias for network shared drive. Please help me. Its very urgent.



Navin Kumar

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

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


[jboss-user] [JBossWS] - Re: RestEasy Security

2009-03-04 Thread jej2003
The issue is with the web.xml shipped with RestEasy, there is a typo in the 
file it currently reads resteasy.resource.method-interceptors where it should 
be resteasy.resource.method.interceptors

Everything is working fine now.

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

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


[jboss-user] [JBoss Tools (users)] - link for final bug fixes does not match documentation, sort

2009-03-04 Thread bdlink
Since the bug fixes were branched off and the trunk is 3.1.0.Alpha1, the doc on 
installing jboss tools, http://jboss.org/community/docs/DOC-10044, is 
misleading.  It gives two links, to the CR2 site as stable (OK) and the 
3.1.9.Alpha site as nightly (literally correct, I guess).

For people who are following the path to 3.0.0.GA, it looks like the update 
site to use is http://download.jboss.org/jbosstools/updates/nightly/3.0.x/ 
which I have not seen mentioned.

Is this right?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Cannot Deploy SSO Federation EAR

2009-03-04 Thread edgoquist
Oh. Ok. Thanks. All i want to do is get SSO working on JBoss5. How do I do 
that? should i just use cookies?  I've got a situation that looks pretty much 
like this:


... http://www.jboss.org/community/docs/DOC-12280 ...
For example, suppose we have a case where two apps, with URLs 
http://app1.xyz.com and http://app2.xyz.com, that wish to share an SSO context. 
These apps could be running on different servers in a cluster (if 
ClusteredSingleSignOn is used) or the virtual host with which they are 
associated could have multiple aliases. This can now be supported with the 
following configuration...

I'm getting confused because the sso-cfg needs trust server (or does it?)


  |   
  | 
  |   ??
  | 
  |   
  | 


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

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


[jboss-user] [JBoss Tools (users)] - Re: Can't intall jbossas plugin on eclipse 3.4.2

2009-03-04 Thread nickboldt
http://download.jboss.org/jbosstools/updates/development/ has been repaired to 
include the 3.0.0.CR2 bits. 

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

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


[jboss-user] [JBossWS] - Re: WSDL - convert to MTOM

2009-03-04 Thread Ian Ashley
Finally cracked it.

Changing the WSDL to


  | 

resolved the problem.

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

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


[jboss-user] [JCA/JBoss] - DataSource with Dynamic IP

2009-03-04 Thread sebastiendeg
Hi,

I remember a possibility to use something like a "Delegate" or maybe "Wrapper" 
in Jboss Datasource which could give the possibility to change the DataBase 
settings (mainly IP).

I remeber that as being a "DataSource Delegate".

Any ideas ?
Thanks,
sebastien

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

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


[jboss-user] [JBoss Portal] - Re: WSRP resources URLs

2009-03-04 Thread chris.lap...@jboss.com
Our WSRP implementation doesn't currently handle resources very well. 
background:url in style elements are indeed not currently properly detected as 
targets for rewriting.

A possible solution would be a store the static resources such as images in an 
easily reachable location and refer to them via an absolute URL, though I admit 
that this is sub-optimal.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Cannot Deploy SSO Federation EAR

2009-03-04 Thread aamonten
It looks like you are trying to deploy it on JBoss AS 5, JBoss Federated SSO 
does ot support 5 only 4.3

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

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


[jboss-user] [JBoss Portal] - Re: processAction() method not executing

2009-03-04 Thread mitesh1984_agrawal
I am using actionURL in my form as


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

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


[jboss-user] [Security & JAAS/JBoss] - Cannot Deploy SSO Federation EAR

2009-03-04 Thread edgoquist
I'm trying to deploy jboss-federation-server.ear

I get this:


  | 12:00:25,395 ERROR [ProfileServiceBootstrap] Failed to load profile: 
  | org.jboss.deployers.spi.DeploymentException: Exception determining 
structure: AbstractVFSDeployment(jboss-federation-server.ear)
  | at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:303)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | at org.jboss.Main.boot(Main.java:209)
  | at org.jboss.Main$1.run(Main.java:547)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.RuntimeException: Error determining structure: 
jboss-federation-server.ear
  | at 
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
  | at 
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
  | at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
  | at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
  | ... 9 more
  | Caused by: java.lang.ClassCastException: 
org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData cannot be cast to 
org.jboss.metadata.ear.spec.EarMetaData
  | at 
org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:160)
  | ... 13 more
  | 

I'm particularly interested in the part:

Caused by: java.lang.ClassCastException: 
org.jboss.metadata.ear.jboss.JBoss50DTDAppMetaData cannot be cast to 
org.jboss.metadata.ear.spec.EarMetaData

I took a look at 
EARStructure.java and took a somewhat wild guess and changed the name of 
application.xml to jboss-app.xml.  No luck.  Here's application.xml btw:


  | 
  | 
  | 
  | jboss-federation-server.sar
  | 
  | 
  | 
  | jboss-federation-server.war
  | 
  | 
  | 
  | jboss-federation-server.jar
  | 
  | 
  | jboss-saml.jar
  | 
  | 
  | jboss-security-common.jar
  | 
  | 
  | 

Any hints would be appreciated.  thanks. -e.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed

2009-03-04 Thread chris.lap...@jboss.com
Use the WSRP admin console to refresh the consumer. That said, I will look into 
the issue.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with Visual Page Editor using JBoss Developer St

2009-03-04 Thread max.ander...@jboss.com
If you just did this today from the dev update site then that is caused by us 
having a build failure that nuked the site.

We are in the process of bringing it back to a working form and that should be 
ready in 20 minutes.

Please uninstall what you did get and try again.

sorry for the trouble

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

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


[jboss-user] [JBoss Messaging] - Re: Asynchronous msg delivered synchronously

2009-03-04 Thread timfox
I don't know what you mean by the first attempt to deliver a message is made 
sychronously, and what makes you think that is the case.

Also I'm not sure what documentation you're referring to.

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

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


[jboss-user] [JBossWS] - Re: WSDL - convert to MTOM

2009-03-04 Thread Ian Ashley
To provide a bit more information we are used complex types containing 
base64Binary encoded data, for example


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

The generated interface is
/**
  |  * 
  |  * @param asset
  |  * @param values
  |  * @param assetRef
  |  * @param leafName
  |  * @param sessionId
  |  * @param nodeRef
  |  * @throws SessionExpiredException
  |  * @throws NsteinDPSErrorException
  |  */
  | @WebMethod(operationName = "StoreAsset", action = "StoreAsset")
  | @RequestWrapper(localName = "StoreAsset", targetNamespace = 
"http://services.nstein.com/NsteinDPS";, className = 
"com.nstein.services.nsteindps.StoreAsset")
  | @ResponseWrapper(localName = "StoreAssetResponse", targetNamespace = 
"http://services.nstein.com/NsteinDPS";, className = 
"com.nstein.services.nsteindps.StoreAssetResponse")
  | public void storeAsset(
  | @WebParam(name = "sessionId", targetNamespace = 
"http://services.nstein.com/NsteinDPS";)
  | String sessionId,
  | @WebParam(name = "assetRef", targetNamespace = 
"http://services.nstein.com/NsteinDPS";, mode = WebParam.Mode.INOUT)
  | Holder assetRef,
  | @WebParam(name = "nodeRef", targetNamespace = 
"http://services.nstein.com/NsteinDPS";)
  | String nodeRef,
  | @WebParam(name = "leafName", targetNamespace = 
"http://services.nstein.com/NsteinDPS";)
  | String leafName,
  | @WebParam(name = "values", targetNamespace = 
"http://services.nstein.com/NsteinDPS";)
  | List values,
  | @WebParam(name = "asset", targetNamespace = 
"http://services.nstein.com/NsteinDPS";)
  | byte[] asset)
  | throws NsteinDPSErrorException, SessionExpiredException
  | ;
  | 
I believe that byte[] asset needs to be changed to DataHandler asset but doing 
this alone doesn't seem to work.

Any pointers as to what else is required or link to an example would be very 
helpful.

Thanks in advance,
Ian

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

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


[jboss-user] [JBoss Messaging] - Asynchronous msg delivered synchronously

2009-03-04 Thread davemb
Hi,

We're in the process of upgrading from JBoss 4.2.2 (with JBoss MQ) to JBoss 
5.0.1 (with JBM). One of the changes we've noticed is that the first attempt to 
deliver an asynchronous message is made synchronously. This behaviour appears 
to be by design as it's documented in one of the JBoss Messaging docs.

It causes us a bit of a problem as we currently make use of the async delivery 
(of MQ) to separate the client from some relatively intensive and time 
consuming server-side processing. We'd prefer this processing and any 
exceptions to be processed asynchronously such that the client is not aware of 
either.

Is somebody able explain the rationale for the change and also let me know if 
there's a way to configure JBM such that it attempts all (async) deliveries 
asynchronously.

Thanks in advance.

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

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


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

2009-03-04 Thread max.ander...@jboss.com
hmm - should just work.

Project > Clean

and Refresh the console config


if that does not help run ant test (that should no longer be a requirement, but 
it was in earlier versions)

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

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


[jboss-user] [JBoss Portal] - WSRP consumer never contact producer if first try failed

2009-03-04 Thread cpage
Hi all,

I use JBoss 4.2.3 and JBossPortal 2.6.6 with WSRP.

My problem is that WSRP Consumer never try to contact again a producer if the 
first try failed.

A scenario for example :
- stop the 2 JBoss
- add a new producer in the *-wsrp.xml file of the consumer
- start only the consumer
--> the consumer failed to contact the producer : ok
- start the producer
--> the consumer never contact the producer (event if i stop and start again 
producer and consumer in that order).

is someone have the same problem ?



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

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


[jboss-user] [JBoss Messaging] - Opening a new JMS session for an already existing transactio

2009-03-04 Thread olimo
Hi, 

Is it possible to open a new JMS session for an existing transaction with JBM 
1.4? 

I imagine that it is what happens when a connection generated by a 
ClusteredConnectionFactory manages the failover of a JBM cluster node, does it?

Let me introduce the context of my question: 

We have a cluster of JBossMessaging instances. For technical limitations of our 
legacy system, we need to transmit some messages to our cluster via http. In 
this case, a client sends a message via http, a web application based on each 
node of our cluster retrieves the messages coming from http, transforms it in 
jms and send it to JBM. (JBM and the web app are on the same JBOSS instance and 
both are replicated on each node of our cluster).

We want to manage transactions in http as we do in jms. In order to enable that 
feature, when a transaction is done via http, the web app stores all the 
messages of the transaction in Session. When the transaction finishes (commit), 
the stored messages are sent in a jms transaction on JBM and the stored 
messages are removed from the Session.
The Session content of the web app is replicated in the cluster (sticky Session 
is used on the loadBalancer). When a node fails, all the messages of the 
transaction are still available: we’ve done the failover.

However, this solution is not safe since we cannot ensure (functionally) that 
the number of messages of the transactions will not overflow the cluster node 
memory.

An alternative solution consists in keeping in the content of the replicated 
http-session a jms- session created for the transaction. Then the messages 
received in the transaction via http are sent on-the-fly to JBM (in jms). The 
jms-transaction is committed or rolled-back when one of these operations is 
received via http. With this solution, the memory problem is delegated to JBM. 
Nevertheless, it is no more possible to make the failover: the jms-session 
replicated in the http-session cannot be reused by other threads (and thus 
cluster nodes) than its creator. 

Since it is not possible to use the replicated jms-session object if the 
creator node fails, is it possible to open a new JMS session on a living 
cluster node for the already started transaction? 


Thanks for your help !

olivier



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

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with Visual Page Editor using JBoss Developer St

2009-03-04 Thread djturner
Yep that what it says.

So my question really should have been how do I get this plugin? 

If somebody could provide some instructions on how to get and install this I 
would be very happy.

Thanks

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: BUG: Principal ist not is session scope after WebAuthent

2009-03-04 Thread anil.saldh...@jboss.com
Maybe the session is turning out to be different. What we are dealing with is 
the Tomcat session at the server. Now if the JSF bean changes anything in the 
request to indicate a different session, then the previous authentication is 
lost.

I am not an expert in JSF. So I cannot answer if this is a bug.

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

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


[jboss-user] [EJB/JBoss] - Design problem: EJB containers prevent threadpool allocation

2009-03-04 Thread mcandelo
I have a design issue I'm working through - I'm attempting to limit requests 
into a remote system to a set number per client.  So for each client we have, I 
want a max of (for example) 15 requests to be sent to the system.  Clients are 
added and removed constantly so extra development for each client is out of the 
question.

In normal Java I would just create a new client object that allocates a thread 
pool and send requests into each client.  The thread pool would limit the 
number of active requests in the system and all is well.  However, this logic 
will not work in EJB land because the container does not like application code 
allocating thread pools.

The only other way I can think of to implement anything like this would be to 
submit jobs to a queue and have an MDB pull off the queue with a fixed pool 
size.  But this solution would not allow for dynamically increasing the number 
of clients (we would need to allocate a new pool for each client).

So, is there a way to create & limit asynchronous processes using JBoss/EJB's?

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

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


[jboss-user] [JCA/JBoss] - Datasource with is not deployed under JBO

2009-03-04 Thread agattone
Hi,

I try to deploy the following datasource to enable failover features under a 
JBOSS 5.0 GA application server.

This xml datasource is validated against the dtd.
For moment, I use only one database URL just to begin my test.

My datasource file is perhaps wrong, but no explicit error message could help 
me to understand why this datasource is not deployed.

Thanks for your help.


  | 
  | 
  | http://www.jboss.org/j2ee/dtd/jboss-ds_5_0.dtd";>
  | 
  |   
  | 
  | jdbc/xxx-ds
  | 
  |  
  | 
  |  
  | 
  | 
oracle.jdbc.xa.client.OracleXADataSource
  | 
  |   jdbc:oracle:thin:@host:1523:SID
  | 
  |   URL
  | 
  | |  
  | 
  | 
  | 
  |   false
  | 
  | XXX
  | 
  | YYY
  | 
  | 
  | 
  | 10
  | 
  | 100
  | 
  | 
  | 
  |   15
  | 
  | 
  | 
  | 
  | 
  |   SELECT * FROM 
MY_CONSTANT_TABLE 
  | 
  |   
org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
 
  | 
  | 
  | 
  |   
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
  | 
  | 
  | 
  | 200
  | 
  | 
  | 
  |
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Tools (users)] - Hibernate Configurations problem

2009-03-04 Thread paulkeogh
JBT 3.00 CR2, Eclipse 3.4.2

When I open the Hibernate Configurations to view and expand a  configuration 
created with seam-gen (through Eclipse) from Sean 2.1.1 GA, I
get an error of;

Error while opening console configuration: xxx-ejb

Reason:

org.hibernate.console.HibernateConsoleRuntimeException: Persistence Unit not 
found: 'null'


any ideas on how to fix ???

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Connect app to static content folder

2009-03-04 Thread oneworld95
Hi. I'm new to JBoss and have installed version 4.2.3.GA on my WinXP Pro system 
to match our server. The Java servlet needs to write an uploaded file to a 
folder on my machine. The app's is located in this folder:

C:\jboss\jboss-4.2.3.GA\server\default\deploy\premupload.war

Its structure is like this:
...\premupload.war
  | \uploads\
  | \WEB-INF\
  | upload.jsp

The upload folder (which is off the root of the app) is defined in the web.xml 
file as this:

  
  | UploadDirectory
  | /uploads/
  |   

I try to fetch the upload folder using this line in the servlet: 

String uploadDirectory = 
this.getServletContext().getInitParameter("UploadDirectory");

The app blows up with the following error referring to the above line:

java.lang.NullPointerException
  | org.unctv.fileupload.UploadHandler.doPost(UploadHandler.java:47)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

How do I refer to the upload directory? Does it need to be outside of the 
premupload.war folder? Your guidance is much appreciated. Thanks.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss 5.x deploy problem

2009-03-04 Thread zlatko.jo...@gmail.com
Hi,

I user jboss 5 and  have problem with persistence.xml deploy . 
Persistence.xml uses OracleDS that is deployed, I can see it in jmx-console. 

I allways got this message :

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "persistence.unit:unitName=#ModuleAdmCbPersistence" is missing the 
following dependencies:
Dependency "jboss.jca:name=
  java:/OracleDS
,service=DataSourceBinding" (should be in state "Create", but is actually 
in state "** NOT FOUND Depends on 'jboss.jca:name=
  java:/OracleDS
,service=DataSourceBinding' **")

DEPLOYMENTS IN ERROR:
  Deployment "jboss.jca:name=
  java:/OracleDS
,service=DataSourceBinding" is in error due to the following reason(s): ** 
NOT FOUND Depends on 'jboss.jca:name=
  java:/OracleDS
,service=DataSourceBinding' **




This is part of persistence.xml file

 
 org.hibernate.ejb.HibernatePersistence 

  java:/OracleDS



and this is oracle-ds.xml file






comp/env/jdbc/OracleDS

jdbc:oracle:thin:@localhost:1521:XE


oracle.jdbc.driver.OracleDriver

org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
 
 
 

zlaja
zlaja!






Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: List all deployed process definitions

2009-03-04 Thread bradsdavis
Grab it off of the graph session as shown below:


  | 
JbpmConfiguration.getInstance().createJbpmContext().getGraphSession().findAllProcessDefinitions();
  | 

Then just run over the definitions calling getName.

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

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


[jboss-user] [JBossWS] - WSDL - convert to MTOM

2009-03-04 Thread Ian Ashley
What is the best way to convert the code generated by WSConsume to support MTOM 
transfers of the base64Binary elements?

Is there a recipe anywhere?

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

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


[jboss-user] [Beginners Corner] - Re: Portlets mit Eclipse erstellen

2009-03-04 Thread margotmedia
Kann mir keiner helfen?

So i explain my problem in english.

I will create a portlet for my JBoss portal, but the tutorials don't work or i 
don't understand it.

I downloaded eclipse 3.4 and jboss tools 3.1.0 alpha and jboss AS 5.0.1.

The follow links don't help me.
http://blog.jboss-portal.org/2008/08/jboss-portlet-support-in-eclipse.html 
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/tutorials.html

pls help me and i know that my english is very bad -.-

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

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


[jboss-user] [EJB 3.0] - Advice on 4.0.5 EPC limitations please

2009-03-04 Thread jbaxter
Hello,

Can someone confirm the following...

1) Within an ear file with multiple jar files... a jar files' persistence.xml 
cannot reference another jar file as 4.0.5 does not fully implement the EJB3 
spec.

2) So the entities must be individually referenced in each jar files' 
persistence.xml, and due to this be loaded by different class loaders.

3) As an end result, you cannot have an Extended Persistence Context across 
multiple jar files.

Any assistence is appreciated, so please jump in with your own 
insight/experience!

James

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

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


[jboss-user] [JBoss Portal] - CMS loses mime informations

2009-03-04 Thread gressho
Hello,

I'm experiencing problems with the portal CMS. After exporting content
or copying content the exports or copies completely lack mime type
information. It is completely impossible to change or delete reimported
or copied content.
Our backend database is Oracle 11g (and I inserted a driver entry in
every hibernate.cfg.xml file I found).
For now we can live with completely reinitializing our database but when we
are going in production state this is no solution.
Perhaps there is another configuration for Oracle I don't know about?
The export/import problems didn't occur with JBossPortal 2.6.7, but we had
the problems with JBossPortal 2.7.0 and now 2.7.1 as well.

Shall I report this into Jira as well?

Best wishes

Werner

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

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


[jboss-user] [Beginners Corner] - Re: EntityManager TX and EJB3 = classLoader is not connected

2009-03-04 Thread anthon.r
will do, there's some updates there

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

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


[jboss-user] [JBoss Portal] - Re: processAction() method not executing

2009-03-04 Thread wjackter
Is your form submitting to an actionURL or a renderURL?

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

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


[jboss-user] [JBoss AOP] - Log Messages Not Showing with Compile Time Weaving

2009-03-04 Thread john.pfei...@billmelater.com
I have a few Interceptors that seem to work fine with load time weaving.  I'd 
like to shift to compile time weaving using the maven plugin.  I have the 
following defined in my pom.xml file.  When I run my application I am not able 
to see the log statements generated by the interceptors.  I can see that the 
compiled classes have be instrumented.  Any help would be greatly appreciated!

Thanks,

John


  | 
  | 
  | org.jboss.maven.plugins
  | maven-jbossaop-plugin
  | 1.0.0.GA
  | 
  | 
  | compile
  | 
  | true
  | false
  | 
true
  | 
  | 
src/main/resources/jboss-aop.xml
  | 
  | 
  | 
  | jboss.aop.verbose
  | true
  | 
  | 
  | 
  | 
  | compile
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - what's the highest performance

2009-03-04 Thread john_...@canada.com
Hi,

I'm just wonder to have a brief picture of highest performance specific to the 
following cases:

in WinXp, 2 * 2.4G cpu, 3 G mem, jdk6, jboss5 

case 1:
what's the max creation of session bean (one creation per lookup) per second 
(performed in same jvm vs. different jvm, both in same machine);

case2:
using same looked up session bean to access entity bean, what's the max 
insert/delete/update (entity bean has association vs. none association with 
other) per second?

Thanks lots.
--
John 


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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with Visual Page Editor using JBoss Developer St

2009-03-04 Thread mareshkau
looks like plugin org.mozilla.xulrunner.win32.win32.x86 hasn't been download 
into your system.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Restart JBOSS is required if server time is changed?

2009-03-04 Thread ran_sushmi
I had a doubt that will a re-start of of our application which has JBOSS as the 
AS and TOMCAT as the web server be required if there is a change in server 
time? Our Server OS is RHEL 4.0(Linux). The server time is probably behind the 
time by 15 mins.

I hope, my question is clear. 

Please, help in solving the doubt. 

regards 

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

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


[jboss-user] [JBoss Tools (users)] - Problem with Visual Page Editor using JBoss Developer Studio

2009-03-04 Thread djturner
I cannot get the VPE editor to run - the message I get is 'The VPE editor can't 
run because your system environment needs to be changed slightly.'

The workspace .log file reports:

anonymous wrote : !MESSAGE Bundle org.mozilla.xulrunner.win32.win32.x86 is not 
found.
  | !STACK 0
  | org.jboss.tools.vpe.xulrunner.XulRunnerException: Bundle 
org.mozilla.xulrunner.win32.win32.x86 is not found.

I am using the following version of JBoss Developer Studio:

anonymous wrote : JBoss Developer Studio
  | 
  | Version: 1.1.0
  | Build id: 1.1.0.GA
  | Build date: 06/27/2008 16:37

The configuration details report the following

anonymous wrote : Plug-in "org.mozilla.xulrunner.win32.win32.x86" version 
"1.8.1.3-20070904" referenced by this feature is missing.

Please could somebody tell me what I need to do to get the VPE working.

Btw - I have tried to update the JBoss Tools but this results in an error:

anonymous wrote : Network connection problems encountered during search.
  |   Unable to access "http://download.jboss.org/updates/development";.
  | Unable to access site: "http://download.jboss.org/updates/development"; 
[Server returned HTTP response code: "404 Not Found" for URL: 
http://download.jboss.org/updates/development.]
  | Server returned HTTP response code: "404 Not Found" for URL: 
http://download.jboss.org/updates/development.
  | Unable to access site: "http://download.jboss.org/updates/development"; 
[Server returned HTTP response code: "404 Not Found" for URL: 
http://download.jboss.org/updates/development.]
  | Server returned HTTP response code: "404 Not Found" for URL: 
http://download.jboss.org/updates/development.

I need to use this version of JBoss Developer Studio as I am using it as part 
of an Ingres-JBoss bundle.

Any pointers in the right direction would be gratefully received.


 




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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to make jboss to see the new added jar to it's

2009-03-04 Thread Wolfgang Knauf
Hi,

I don't know much about JBoss classloading, but I found this article (I assume 
you use JBoss5):
http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/2.1.2/class-loader-howto.html

According to this document, only a small set of JARs from CATALINE_HOME/lib (I 
assume this points to "common/lib", as I find all the JARs from the 
classloader-howto in this directory) is loaded by the WebApp classloader.

But hopefully one of the "gurus" takes a look at this post and can provide you 
further help.

Wolfgang

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

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


[jboss-user] [JBoss Messaging] - Re: Destination COnfiguration issue with Jboss 5 and Messagi

2009-03-04 Thread guy.finger
Hi Howard

Thanks for the reply. 

I am still having the issue. I found a workaround for the same. I have 
configured the oracle as backend for JBoss by copying the oracle-ds.xml and 
oracle-persistance-service.xml files from examples folder to 
${JbossRoot}/server/default/deploy and 
${JbossRoot}/server/default/deploy/messaging folders respectively and modified 
the files to refer my local oracle db details. 

But I am getting the errors during startup the server related to JBM_POSTOFFICE 
table creation. Table is not created which in turn not associating the 
destinations to ConnectionFactory.

here is the error -

09:35:29,183 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of 
incomplete
  | deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | DEPLOYMENTS MISSING DEPENDENCIES:
  |   Deployment 
"jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" is mi
  | ssing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment 
"jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is miss
  | ing the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" 
is missing the f
  | ollowing dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=A,service=Queue" is missing 
the following de
  | pendencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=B,service=Queue" is missing 
the following de
  | pendencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=C,service=Queue" is missing 
the following de
  | pendencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=D,service=Queue" is missing 
the following de
  | pendencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is 
missing the following
  | dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" 
is missing the fo
  | llowing dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=ex,service=Queue" is missing 
the following d
  | ependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=securedTopic,service=Topic" 
is missing the f
  | ollowing dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment 
"jboss.messaging.destination:name=serverPublishTopic,service=Topic" is missing
  |  the following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment 
"jboss.messaging.destination:name=testDurableTopic,service=Topic" is missing t
  | he following dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=testQueue,service=Queue" is 
missing the foll
  | owing dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging.destination:name=testTopic,service=Topic" is 
missing the foll
  | owing dependencies:
  | Dependency "jboss.messaging:service=PostOffice" (should be in state 
"Create", but is ac
  | tually in state "Configured")
  |   Deployment "jboss.messaging:service=PostOffice" is missing the following 
dependencies:
  | Dependency "jboss.jgroups:service=ChannelFactory" (should be in state 
"Create", but is
  | actually in state "** NOT FOUND Depends on 
'jboss.jgroups:service=ChannelFactory' **")
  | 
  | DEPLOYMENTS IN ERROR:
  |   Deployment "jboss.jgroups:service=ChannelFactory" is in error due to the 
following r

[jboss-user] [JBoss Messaging] - Re: non-serializable XAResource error from JBoss Messaging -

2009-03-04 Thread ajayazariah
configuration below:


  | 1) conf/jbossjta-properties.xml : 
  | 
  | 
  | Node 1: 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Node 2: 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 2) deploy/hajndi-jms-ds.xml
  | 
  | Node 1:
  | 
  |   
  | RemoteProvider2
  | 
  |   org.jboss.jms.jndi.JNDIProviderAdapter
  | 
  | 
  | XAConnectionFactory
  | 
  | XAConnectionFactory
  | 
  | XAConnectionFactory
  | 
  |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |java.naming.provider.url=node_2_hostname:1099
  | 
  |   
  | 
  | Node 2:
  | 
  |   
  | RemoteProvider2
  | 
  |   org.jboss.jms.jndi.JNDIProviderAdapter
  | 
  | 
  | XAConnectionFactory
  | 
  | XAConnectionFactory
  | 
  | XAConnectionFactory
  | 
  |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |java.naming.provider.url=node_1_hostname:1099
  | 
  |   
  | 
  | 
  | 
  | 3) conf/oraclejta-properties.xml
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 4)   Oracle user "jboss" has been granted following permissions:
  |select on DBA_PENDING_TRANSACTIONS,
  |execute on SYS.DBMS_SYSTEM
  | 

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

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


[jboss-user] [Management, JMX/JBoss] - Does twiddle requires -b 0.0.0.0?

2009-03-04 Thread alegomes
Look the facts I'm facing with JBoss 4.2.2.GA and tell me if this is the 
expected behaviour:

First, I started JBoss with:


  | run.sh
  | 

and I got:


  | ~/Documents/sea/edu/jboss_tuning/app/jboss-4.2.2.GA/bin$ ./twiddle.sh get 
jboss.system:type=ServerInfo HostAddress
  | 10:54:35,761 ERROR [Twiddle] Exec failed
  | org.jboss.util.NestedRuntimeException: - nested throwable: 
(javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 192.168.1.17; nested 
exception is: 
  | java.net.ConnectException: Connection refused])
  | at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:143)
  | at 
org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:59)
  | at 
org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:149)
  | at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
  | 

Then, I started JBoss with:


  | run.sh -b 192.168.1.17
  | 

and got this time:


  | ~/Documents/sea/edu/jboss_tuning/app/jboss-4.2.2.GA/bin$ ./twiddle.sh get 
jboss.system:type=ServerInfo HostAddress
  | 11:05:41,966 ERROR [Twiddle] Exec failed
  | org.jboss.util.NestedRuntimeException: Could not obtain connection to any 
of these urls: localhost:1099 and discovery failed with error: 
javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]; - nested throwable: 
(javax.naming.CommunicationException: Could not obtain connection to any of 
these urls: localhost:1099 and discovery failed with error: 
javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out] [Root exception is 
javax.naming.CommunicationException: Failed to connect to server localhost:1099 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect 
to server localhost:1099 [Root exception is java.net.ConnectException: 
Connection refused]]])
  | 

So, I tried:

run.sh -b 0.0.0.0

and, finally, there it goes:


  | ~/Documents/sea/edu/jboss_tuning/app/jboss-4.2.2.GA/bin$ ./twiddle.sh get 
jboss.system:type=ServerInfo HostAddress
  | HostAddress=192.168.1.17
  | 


Is that correct? Should I bind JBoss AS to every interfaces to get twiddle 
working?

thanks

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

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


  1   2   >