[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JAR File Location in Jboss

2008-10-27 Thread jaikiran
Do these jar files belong to your application? 

anonymous wrote :  I want application jar files outside EAR

Any specific reason?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184730#4184730

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: connectionMap.remove in WrapperDatasourceService never c

2008-10-27 Thread ladam
Hi Rochi,

well, basically we are patching the WrapperDataSource.
This hasn't been done yet as I wanted to get some feedback first.

Once we've done that, we'll file a JIRA and provide a patch. 

Best regards,
Ludwig

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184736#4184736

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184736
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JAR File Location in Jboss

2008-10-27 Thread techbyte101
So I can deploy the JAR files independently, without creating EAR again.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184733#4184733

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Combining SPNEGO with custom made authentication?

2008-10-27 Thread chausberger
hi Darran

I just wanted to ask if you had the time to implement the features you wrote 
about above?

Claus

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184747#4184747

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WS-BPEL with JAX-WS services

2008-10-27 Thread Christy
Hi,
I have the same question.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184750#4184750

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: How to deploy a WebApplication in Tomcat with Jboss AOP?

2008-10-27 Thread DerMas
Some Feedback:

I used Tomcat 5.5 + Axis 1.4 and deployed the real project(which is aopc 
precompiled) with the ContextListener.
This resulted in a infinite loop, because the interceptor was bound 2 times 
with the methods.
So with tomcat + axis + precompiled classes the ContextListener ist not 
necessary and has even unwished sideeffects.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184752#4184752

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: java.net.UnknownHostException: www.w3.org

2008-10-27 Thread dboeckli
What i Did after this suggestion:

I took:
jboss-portal-2.6.6.GA-bundled with jbossws-native-3.0.4.GA

It worked! Not a single exception when i start JBoss with no internet 
connection.

Applause and Many Thanks 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184769#4184769

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: java.net.UnknownHostException: www.w3.org

2008-10-27 Thread dboeckli
But the examples are still failing:

News example with 
java.net.UnknownHostException: feeds.feedburner.com
and
java.net.UnknownHostException: finance.yahoo.com

Weather example with 
java.net.UnknownHostException: xml.weather.yahoo.com


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184772#4184772

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: entity specific row-locking?

2008-10-27 Thread robertmorschel
I should add that I don't mean the  section (which validates fine), but the  
section.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184777#4184777

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184777
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JBoss Seam and web services

2008-10-27 Thread Modiehi
Hi, I'm new to seam and would like to invoke the web service using classes 
generate by wsconsume to invoke the webservices in eclipse. I'm using JBoss 
4.2.2 and jboss-seam-2.0.2.SP1. I tried using s stateless session bean but I 
get a nullpointer exception.
Assistance will be higly appreciated.
Best Regards

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184785#4184785

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184785
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: How to deploy a WebApplication in Tomcat with Jboss AOP?

2008-10-27 Thread DerMas
DerMas wrote : Some Feedback:
  | 
  | I used Tomcat 5.5 + Axis 1.4 and deployed the real project(which is aopc 
precompiled) with the ContextListener.
  | This resulted in a infinite loop, because the interceptor was bound 2 times 
with the methods.
  | So with tomcat + axis + precompiled classes the ContextListener ist not 
necessary and has even unwished sideeffects.

edit:

Just noticed that the ContextListener is not even the whole problem. If the 
jboss-aop.xml is in the classpath, I have the same problem.
- Deleted the jboss-aop.xml and it works :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184791#4184791

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: java.net.UnknownHostException: www.w3.org

2008-10-27 Thread [EMAIL PROTECTED]
The examples are expected to fail as they do require an internet connection 
(they retrieve RSS feeds and parse them).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184793#4184793

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: entity specific row-locking?

2008-10-27 Thread robertmorschel
My xml tags were unhelpfully removed from the last reply.

I should add that I don't mean the DEFAULTS section (which validates fine), but 
the ENTITY section (which doesn't validate).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184799#4184799

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Exception in thread Thread-108 - java.util.NoSuchElementEx

2008-10-27 Thread prakashmvc
Hi,
I am working on Migrating JBossMQ to JbossMessaging.
Currently I am using Jboss-messaging-1.4.0.SP3-CP04, which is a fixpack 4 for 
Jbossmessaging 1.4.0.SP3.
This is not an official release from JbossMessaging. I took from Jboss CVS 
repository.

However I got the following exception while processing messages.

25/10/2008 01:16:37,475 ERROR STDERR Exception in thread Thread-108 

25/10/2008 01:16:37,476 ERROR STDERR java.util.NoSuchElementException

25/10/2008 01:16:37,476 ERROR STDERRat 
java.util.LinkedList.remove(LinkedList.java:644)

25/10/2008 01:16:37,476 ERROR STDERRat 
java.util.LinkedList.removeFirst(LinkedList.java:134)

25/10/2008 01:16:37,477 ERROR STDERRat 
java.util.LinkedList.poll(LinkedList.java:475)

25/10/2008 01:16:37,485 ERROR STDERRat 
org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:126)

25/10/2008 01:16:37,485 ERROR STDERRat 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

25/10/2008 01:16:37,485 ERROR STDERRat 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

25/10/2008 01:16:37,486 ERROR STDERRat java.lang.Thread.run(Thread.java:595)

How to resolve the above exception? Is there any configuration missing or is an 
known exception which doesn't affect the functionality?

Regards,
Prakash



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184801#4184801

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Page level communication on JSR286 portlets

2008-10-27 Thread michaelchan
You defined public renderparam in portlet.xml and not on *-objects.xml

If you want to use a page param, you will first need to define a public render 
param on every portlet.xml (since we could use one portlet.xml for multiple 
portlets, it is not required to redefine a public render param if the portlets 
are using the same portlet.xml) and then you will need to mark the public 
render param as supported for each portlet.

Once you have done that, you bind the public render param you wish to use on a 
page level to an alias in *-objects.xml or via the admin portlet.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184803#4184803

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JBoss 3.2.7 vs JBoss 4.2.2

2008-10-27 Thread neil.thomas
Hi,

I'm having a problem with a difference in behaviour between JBoss 3.2.7 and 
JBoss 4.2.2.

I have a servlet which generates VoiceXML code (let's call this servlet the 
HttpAcceptor).  A request to this servlet is made from a Nortel VXML 
interpreter (voice browser).  The VXML code references a GRXML grammar file, 
which is served through a 2nd servlet (let's call this the ResourceServlet).  
However, this 2nd request for the grammar comes from a different server.  There 
is a dedicated server for running the speech recogniser software (OpenSpeech 
Recognizer), and this is on a separate server from the VXML interpreter.  While 
it is the VXML interpreter that makes the initial request to the HttpAcceptor, 
it is OSR that makes the subsequent request to the ResourceServlet for the 
grammar.

While handling the initial request, the HttpAcceptor sets an attribute on the 
HttpSession.  Then, when the request comes in to the Resource Servlet, it looks 
for this attribute on the HttpSession (as a security mechanism).  When running 
JBoss 3.2.7, this attribute is populated on the HttpSession object, and 
everything works as expected.  However, in JBoss 4.2.2.GA, the HttpSession on 
the ResourceServlet request is null.  Consequently, the attribute is not 
populated, and the ResourceServlet rejects the request.

Does anyone know why the HttpSession would be null?  It's a slightly strange 
scenario, since the HttpSession is shared between requests from two separate 
servers, but since it works in JBoss 3.2.7 I'm surprised it doesn't work in 
4.2.2.  Is there some configuration change in 4.2.2 that might make this work?

Thanks in advance for any suggestions!

Neil

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184804#4184804

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Problem looking up XADatasource - Always returns Datasource

2008-10-27 Thread pradeeps
This involves using JBOSS 4.2.3 GA, Spring 2.5 and SQLServer 2000 XA jdbc 
driver. 

I created a file pxdatasource-xa-ds.xml file in the deploy folder with the 
following definition- 

xa-datasource 
jndi-namepxDS/jndi-name 
track-connection-by-txTrue/track-connection-by-tx 
connection-urljdbc:microsoft:sqlserver://SQLTEST1;SelectMethod=cursor;databasename=App_Dev/connection-url
 
xa-datasource-classcom.microsoft.sqlserver.jdbc.SQLServerXADataSource/xa-datasource-class
 
min-pool-size1/min-pool-size 
max-pool-size20/max-pool-size 
new-connection-sqlselect 1 from systypes/new-connection-sql 
check-valid-connection-sqlselect 1 from systypes/check-valid-connection-sql 
/xa-datasource 

JBOSS is using org.jboss.resource.adapter.jdbc.WrapperDataSource class for this 
look up. If the object is assigned to object of type Datasource, there is no 
problem. But if it is assigned to the type XADatasource there is an exception. 

So even though I am defining a datasource that supports XA i.e. implements 
XADatasource the object that is returned to me somehow is of the type 
Datasource. 

How do I tell JBOSS that I need the looked up object to be XADatasource? 

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184818#4184818

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184818
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem looking up XADatasource - Always returns Datasou

2008-10-27 Thread vickyk
pradeeps wrote : How do I tell JBOSS that I need the looked up object to be 
XADatasource? 

I am not sure what exactly you want to do with the XADataSource, you should not 
be trying to get the XADataSource this way.
If you need to XADataSource you can construct it as 
OracleXADataSource xads = new OracleXADataSource();

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184821#4184821

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Problem Configuring JMS Client for Websphere MQ

2008-10-27 Thread Nordmeyer
Hi,

I want to connect to a Websphere MQ JMS interface. I am trying to configure the 
connection and client-side libraries for a few days now. My main resource of 
information about the matter is this here from JBoss
  http://www.jboss.org/community/docs/DOC-12535

According to this documentation, I placed the rar in the deploy dir and created 
the *-service.xml and *-ds.xml file at the same place. As I don't want to 
receive messages, I skipped all other configuration.

When starting JBoss AS (4.2.2.GA) the log ends with the following message:

  | 11:23:36,725 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Packages waiting for a deployer ---
  | [EMAIL PROTECTED] { 
url=file:/C:/Programme/jboss-4.2.2.GA/server/default/deploy/rwbJboss-mq-server.xml
 }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: 
file:/C:/Programme/jboss-4.2.2.GA/server/default/deploy/rwbJboss-mq-server.xml
  |   altDD: null
  |   lastDeployed: 1225103016709
  |   lastModified: 1225103016709
  |   mbeans:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/C:/Programme/jboss-4.2.2.GA/server/default/deploy/rwbJboss-mq-server.xml
 }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: 
file:/C:/Programme/jboss-4.2.2.GA/server/default/deploy/rwbJboss-mq-server.xml
  |   altDD: null
  |   lastDeployed: 1225103016709
  |   lastModified: 1225103016709
  |   mbeans:
  | 

A few lines above, I read

  | 11:23:30,551 ERROR [STDERR] WMQ Resource Adapter warning: 
MQJCA4005:Distributed transactions are not available in client mode.
  | 
but the IBM documenation 
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj40040_.htm
says I can ignore it when I don't need distributed transactions.

Is there someone out in the world who connected the WS MQ the way I have to? 

Thanks,
  Thomas


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184823#4184823

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problem running bpel process designed with eclipse bpel desi

2008-10-27 Thread sw_bpel
Hello,

i'm completely new to bpel. i've installed and deployed the jBPM BPEL engine to 
jboss, like described in the online tutorial. i'am able to deploy the sample 
processes delivered with die jBPM BPEL 1.1.1 zip-archive. So far so fine. but 
now i want to design my own processes with the bpel designer plugin for eclipse 
(Version 0.3.0 and Eclipse 3.3.2). after i've designed the process, i'm able to 
deploy it, using the ant script of the samples, with modification. in the JBoss 
jBPM BPEL Console i can see, that the process is deployed correctly and the 
wsdls also exit. but when i test the process using SOAP UI 2.5 Beta 1 i'm 
getting still an error, even if i only design a very simple process.

here the simple bpel-file:


  | ?xml version=1.0 encoding=UTF-8?
  | bpws:process exitOnStandardFault=yes name=TestProject
  | suppressJoinFailure=yes targetNamespace=http://project.test.de;
  | xmlns:bpws=http://docs.oasis-open.org/wsbpel/2.0/process/executable;
  | xmlns:tns=http://project.test.de;
  | 
  | bpws:import importType=http://schemas.xmlsoap.org/wsdl/;
  | location=TestProject.wsdl namespace=http://project.test.de; 
/
  | 
  | bpws:partnerLinks
  | bpws:partnerLink myRole=TestProjectProvider name=client
  | partnerLinkType=tns:TestProject /
  | /bpws:partnerLinks
  | 
  | bpws:variables
  | bpws:variable messageType=tns:TestProjectRequestMessage
  | name=input /
  | bpws:variable messageType=tns:TestProjectResponseMessage
  | name=output /
  | /bpws:variables
  | 
  | bpws:sequence name=main
  | bpws:receive createInstance=yes name=receiveInput
  | operation=process partnerLink=client 
portType=tns:TestProject
  | variable=input /
  | bpws:assign name=Assign validate=no
  | bpws:copy
  | bpws:from part=payload variable=input
  | bpws:query
  | 
queryLanguage=urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0![CDATA[/tns:input]]/bpws:query
  | /bpws:from
  | bpws:to part=payload variable=output
  | bpws:query
  | 
queryLanguage=urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0![CDATA[/tns:result]]/bpws:query
  | /bpws:to
  | /bpws:copy
  | /bpws:assign
  | bpws:reply name=replyOutput operation=process
  | partnerLink=client portType=tns:TestProject 
variable=output /
  | /bpws:sequence
  | 
  | /bpws:process
  | 

... and the wsdl-file:


  | ?xml version=1.0?
  | definitions name=TestProject targetNamespace=http://project.test.de;
  | xmlns:tns=http://project.test.de;
  | xmlns:plnk=http://docs.oasis-open.org/wsbpel/2.0/plnktype;
  | xmlns=http://schemas.xmlsoap.org/wsdl/;
  | 
  | types
  | schema attributeFormDefault=unqualified
  | elementFormDefault=qualified
  | targetNamespace=http://project.test.de;
  | xmlns=http://www.w3.org/2001/XMLSchema;
  | 
  | element name=TestProjectRequest
  | complexType
  | sequence
  | element name=input 
type=string /
  | /sequence
  | /complexType
  | /element
  | 
  | element name=TestProjectResponse
  | complexType
  | sequence
  | element name=result 
type=string /
  | /sequence
  | /complexType
  | /element
  | /schema
  | /types
  | 
  | message name=TestProjectRequestMessage
  | part name=payload element=tns:TestProjectRequest /
  | /message
  | message name=TestProjectResponseMessage
  | part name=payload element=tns:TestProjectResponse /
  | /message
  | 
  | portType name=TestProject
  | operation name=process
  | input message=tns:TestProjectRequestMessage /
  | output message=tns:TestProjectResponseMessage /
  | /operation
  | /portType
  | 
  | plnk:partnerLinkType name=TestProject
  | plnk:role name=TestProjectProvider
  | portType=tns:TestProject /
  | /plnk:partnerLinkType
  | 
  | /definitions
  | 

the jboss-log shows this:

  | 13:50:20,168 WARN  [ProxyWarnLog] Narrowing proxy to class 

[jboss-user] [JBoss AOP] - The use of Hotswapping

2008-10-27 Thread aquatr7
Hello,
My question is: Do the use of the HotSwapping allows the application to take 
into account changes in the code of the interceptor without having to click 
once on the Run under eclipse.
For example, If we have this code:


  | for(int i=0;i10;i++)
  | {
  |try
  |{
  |   AdviceBinding ab = new AdviceBinding(execution(public *  
BuyerMAg-imprimer(..)),null);
  |   ab.addInterceptor(InterceptorInterdImp.class);
  |   AspectManager.instance().addBinding(ab);
  | }catch(Exception e){}
  | 
  | affichage();
  | 
  | }   



And before the end of the loop for I change the first interceptor by a new 
InterceptorInderImp2. Does the application will be able to take account of 
the changes at runtime, or I have to Run once the application.
Thank you for the help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184829#4184829

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Field visibility and aspect

2008-10-27 Thread [EMAIL PROTECTED]
Can you create a JIRA issue with an example based on one of the aop examples, 
and we can investigate?
https://jira.jboss.org/jira/browse/JBAOP

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184837#4184837

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: The use of Hotswapping

2008-10-27 Thread [EMAIL PROTECTED]
I don't understand the question? The changes will only take effect when the 
application is running. Try it out

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184838#4184838

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem looking up XADatasource - Always returns Datasou

2008-10-27 Thread pradeeps
Thanks for the reply.

The connection that is gotten from this datasource is going to participate in a 
distributed transaction with JMS XA QueueConnectionFactory.  I am using the 
Atomikos JTA API. 

This distributed TX will happen only if both the resources support XA.

Are you recommending that I create the XADataSource object in my code and not 
look up using JNDI?

Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184839#4184839

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: How to annotate in opposite way

2008-10-27 Thread [EMAIL PROTECTED]
You don't annotate the methods. You either use @DeclareError/Warning with 
pointcut expressions in a @Aspect annotated class as shown here 
https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/src/test/org/jboss/test/aop/annotateddeclare/DeclareAspect.java
 or you use xml.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184840#4184840

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184840
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: NPE from one way message dispatch

2008-10-27 Thread adinn
Hi Ron.

I reran the app using your patched remoting build and it fixes the problem as I 
diagnosed it but this has raised some related issues with JBossWS which I need 
to check with Alessio Soldano.

The problem occurs when I use WS-Addressing to redirect a fault. This is 
appropriate with either a one way message or a request reply exchange. In 
either of these cases when a fault occurs the invoker ends up with a null input 
stream.

For one way messages WS employs (defaults to) an HTTPUnmarshaller which barfs 
on a null input stream. Your fix resolves this by not calling the unmarshaller.

For request-reply messages WS sets a SOAP HTTP Unmarshaller. This detects a 
null input stream and constructs an empty SOAP message. So, in this case your 
fix causes a problem for WS. SInce the unmarshaller no longer gets called the 
invoker returns null instead of an empty message. The current WS code does nto 
expect a null pointer here and falls over when it tries to run SOAP handlers.

Clearly there is a problem with WS here whichever way you look at it. Having 
looked at  how the client ends up calling the HTTP invoker I suspect WS needs 
the unmarshaller to be called in both cases even when the stream is null i.e. 
we may need to back out this fix. Ho wsensible this is as regards any other 
remoting clients I am not in a position to say. Perhaps you could comment?

I'll point Alessio at this discussion to see what he says. Sorry, for the 
previous misdiagnosis -- it was hard to see the wood for the trees without the 
patch.

regards,


Andrew Dinn


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184841#4184841

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184841
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Field visibility and aspect

2008-10-27 Thread mane81
Yes, as soon as possible.
I forget to mention that this behaviour happens with jboss-aop-2.0.0.GA. Using 
jboss-aop_1.5.6.GA it's all okay (apart from other problems using hotswap and 
the javaassist library bundled with this version :) )

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184843#4184843

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

2008-10-27 Thread Wolfgang Knauf
Hi,

could you provide us with details of your login-config.xml and your 
application security settings?

Security constraints for the guest user must be specified in e.g. web.xml and 
in the security constraints of your EJBs (you have to declare the allowed 
resources/methods for the guest user).

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184845#4184845

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: The use of Hotswapping

2008-10-27 Thread aquatr7
Hello,
I mean that when the application is running in the for loop and before the 
end of this loop, I change in the code InterceptorInterdImp by 
InterceptorInterdImp2, the method affichage that call imprimer will be 
able or not to run InterceptorInterdImp2 without to have to re-run  the whole 
application.
Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184846#4184846

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184846
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - LRUPolicy eviction policy

2008-10-27 Thread lovelyliatroim
Just something i found confusing when reading the documents.

In the documentation it states maxNodes as follows for LRUPolicy

 

anonymous wrote : 
  | # maxNodes  - This is the maximum number of nodes allowed in this region. 0 
denotes no limit. 
  | 

So if i have something like configured 



  | region name=evictiontest/LRU 
policyClass=org.jboss.cache.eviction.LRUPolicy
  |   attribute name=maxNodes3/attribute
  |   attribute name=timeToLiveSeconds0/attribute
  |   attribute name=maxAgeSeconds10/attribute
  | /region
  | 

Now if I add 10 elements like so to the cache 
evictiontest/LRU/a/b/c1(1)
evictiontest/LRU/a/b/c2(1)
evictiontest/LRU/a/b/c3(1)
evictiontest/LRU/a/b/c4(1)

etc 

After eviction i would have expected to see just one record in the cache
evictiontest/LRU/a/b/c*(1)
 
however I see 3 records 
evictiontest/LRU/a/b/c1(1)
evictiontest/LRU/a/b/c2(1)
evictiontest/LRU/a/b/c3(1)

So when i have set maxNodes to 3, does it actually mean 3 nodes which have a 
data item attached to the node?? I was thinking it was 3 nodes in total allowed 
from the region base hence why i thought one record would be allowed.

So breakdown of 
evictiontest/LRU/a/b/c1(1)

a = 1 node
b = 2 nodes
c1 = 3 nodes so no more nodes should be allowed in this region!!


I have done the test on it and looks to me like its based on nodes with data 
attached, could someone just confirm this for me on how it works. 

Thanks,
LL



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184848#4184848

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184848
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Exception in thread

2008-10-27 Thread timfox
This looks like a bug in the orderedexecutorfactory shutdown:


  | public void shutdownNow()
  |   {
  |  tasks.clear();
  |   }
  | 

which is not synchronized.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184849#4184849

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Server independent ear

2008-10-27 Thread Wolfgang Knauf
Hi,

well, as long as you avoid server specific classes/annotations in your code, 
your EAR should be server independent, no matter what server you use for 
developing.
I use Eclipse/WebTools, and by using a JBoss runtime, all required JARs are 
automatically added to the build classpath. But by exporting the project as 
EAR, it becomes server independent again. 

So, the easiest way would be to use a valid server for development.

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184850#4184850

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: How to refactor to set privilege access for diff package

2008-10-27 Thread [EMAIL PROTECTED]
Hi

1. You can use com.b.. to match all classes inside of package com.b

2. The answer has been posted here:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184652#4184652
Please, avoid double posting, as this makes difficult for other users to find 
answers to their questions when researching this forum.

3. If you use aopc, you won't have any runtime overhead. If you use 
loadtimeweaving, JBoss AOP will perform the check on the classes as they get 
loaded, and this incurs in an small impact, only when the classes are loaded.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184851#4184851

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184851
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: The use of Hotswapping

2008-10-27 Thread [EMAIL PROTECTED]
Yes, that's the idea, as long as you have prepared BuyerMAg.imprimer(). 
However, you will end up with 1 instances of the interceptor at the end of 
the loop. To see any interceptions you need to call the method as well.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184852#4184852

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: I would like to know what is exacty HotSwapping

2008-10-27 Thread [EMAIL PROTECTED]
Questions from community users are always welcome but, please, avoid double 
posting, as this makes it difficult for other users to find answers to their 
questions when researching this forum. 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184829#4184829

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184854#4184854

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: LRUPolicy eviction policy

2008-10-27 Thread lovelyliatroim
Also documentation for this 

anonymous wrote : 
  | # timeToLiveSeconds  - The amount of time a node is not written to or read 
(in seconds) before the node is swept away. 0 denotes no limit. 
  | 

If you leave it out, you get an exception like so

  | 
  | org.jboss.cache.config.ConfigurationException: timeToLiveSeconds must be 
configured to a value greater than or equal to 0
  | at 
org.jboss.cache.eviction.LRUConfiguration.validate(LRUConfiguration.java:85)
  | at 
org.jboss.cache.factories.XmlConfigurationParser.parseEvictionPolicyConfig(XmlConfigurationParser.java:616)
  | 
  | 

Docs should possibly state that this is mandatory or let the default value for 
this be 0 when nothing configured for it. 

Just passing on some thoughts on it.

Cheers,
LL


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184857#4184857

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184857
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: NPE in GPD

2008-10-27 Thread mputz
java.lang.NullPointerException
  | at org.jbpm.gd.jpdl.notation.JpdlNode.getDestinationNode(Unknown Source)
  | 

looks like there is an incorrect transition somewhere in the process, pointing 
to a node that cannot be resolved.

I would suspect the following:

decision name=do manual?
  | transition to=end name=No/transition
  | transition to=super-state1/select users 
name=Yes/transition
  | /decision

and change it to:

decision name=do manual?
  | transition to=end name=No/transition
  | transition to=manual annotation configuration/select users 
name=Yes/transition
  | /decision

How did you end up with this corrupted process in the first place?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184860#4184860

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184860
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging - classcast exception

2008-10-27 Thread prabhun
Hi,

We took the JBossMessaging_1_4_0_SP3_CP04/ SP3-fix
tag and tested. Now the class loader issue is resolved. And we replaced 
hypersonic with null persistance as recommended by Jboss.

However we could not resolve the subscription id problem. We need this id to 
distinguish the different subscribers for the topic and also the message count 
(number of unread messages )always remains same for all the subscribers.Earlier 
the message count was always 0, now after testing with 
BossMessaging_1_4_0_SP3_CP04/ SP3-fix it shows some value, but the value is 
same for all the subscribers.
Please let me know how to resolve the above issues?

Regards,
Prabhu

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184861#4184861

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184861
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment in tmp directory

2008-10-27 Thread jems
Hello,

I am deploying war files to a jboss server, using a maven goal :

  | 
http://truc-muche.com:8080/jmx-console/HtmlAdaptor?action=invokeOpByNamename=jboss.system:service%3DMainDeployermethodName=deployargType=java.net.URLarg0=http://bidule.com:8080/repository/wars/machin.war

which works well as I get my war being exploded in server/default/tmp/deploy/ 
and the webapp beign available.

But if I restart jboss, the tmp directory is cleaned, and I have to re-deploy 
the war file.

Is there any way to modify the target or configure jboss to put the war first 
in server/default/deploy ?

I have read a part of this forum and didn't find a related question, but if I 
missed it, please point me to the right direction :-)

Thanks for any help,

Jeremy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184862#4184862

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184862
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging - classcast exception

2008-10-27 Thread timfox
What subscription id problem?

As I mentioned before, subscription name and client id are only used for 
durable subscriptions, NOT non durable subscriptions.

In JMS it is impossible to create a non durable subscription with a specific 
client id and name.

See the JMS spec for more details.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184863#4184863

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184863
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

2008-10-27 Thread jej2003
My EJB looks like this:

@RolesAllowed({user, admin})
  | public String echoUser(String src) {
  | log.debug(echoUser called with source string  + src);
  | return Echo User:  + src;
  | }
  | 
  | /* (non-Javadoc)
  |  * @see com.csp.ejb.echo.EchoBeanInterface#echoAdmin(java.lang.String)
  |  */
  | @RolesAllowed({admin})
  | public String echoAdmin(String src) {
  | log.debug(echoAdmin called with source string  + src);
  | return Echo Admin:  + src;
  | }
  | 
  | /* (non-Javadoc)
  |  * @see com.csp.ejb.echo.EchoBeanInterface#echoAll(java.lang.String)
  |  */
  | @PermitAll
  | public String echoAll(String src) {
  | log.debug(echoAll called with source string  + src);
  | return Echo All:  + src;
  | }
my login-config file is very simple and looks like

application-policy name=test
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.UsersRolesLoginModule flag=required
  | module-option 
name=unauthenticatedIdentityguest/module-option
  | module-option 
name=usersPropertiesprops/axle-users.properties/module-option
  | module-option 
name=rolesPropertiesprops/axle-roles.properties/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 

The application works fine if I login as a user or admin and try to use the 
echo functions, but if I do not login I can't call the echoAll method.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184866#4184866

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184866
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: Problem Configuring JMS Client for Websphere MQ

2008-10-27 Thread [EMAIL PROTECTED]
Check out. https://www.jboss.org/community/docs/DOC-12678.  I believe this 
answers all of your questions.

Jay:)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184869#4184869

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184869
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment in tmp directory

2008-10-27 Thread Wolfgang Knauf
Hi Jeremy,

see this post: http://www.jboss.com/index.html?module=bbop=viewtopict=116874

Unfortunately, it will just give you the information no, this is not possible.

Best regards

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184872#4184872

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184872
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Considered UNSOLICITED BULK EMAIL, apparently from you

2008-10-27 Thread Content-filter at localhost
A message from jboss-user@lists.jboss.org to:
- [EMAIL PROTECTED]

was considered unsolicited bulk e-mail (UBE).

Our internal reference code for your message is 24061-06/7kmazH6rO6zD

The message carried your return address, so it was either a genuine mail
from you, or a sender address was faked and your e-mail address abused
by third party, in which case we apologize for undesired notification.

We do try to minimize backscatter for more prominent cases of UBE and
for infected mail, but for less obvious cases of UBE some balance
between losing genuine mail and sending undesired backscatter is sought,
and there can be some collateral damage on both sides.

First upstream SMTP client IP address: [71.245.34.66]
  pool-71-245-34-66.sctnpa.east.verizon.net
According to a 'Received:' trace, the message originated at: [71.245.34.66],
  [192.168.52.10] [192.168.52.10]

Return-Path: jboss-user@lists.jboss.org
From: =?windows-1251?B?wO3g8fLg8ej/?= jboss-user@lists.jboss.org
Message-ID: [EMAIL PROTECTED]
Subject:
  =?windows-1251?B?0/Hy4OLt7ukg6uDv6PLg6y4gyO3i5fHy6Pbo6C4g3vDo5Oj35fHq6A==?=
  =?windows-1251?B?5S[...]

Delivery of the email was stopped!
Reporting-MTA: dns; localhost
Received-From-MTA: smtp; mail.vicehosting.com ([127.0.0.1])
Arrival-Date: Mon, 27 Oct 2008 16:51:03 +0200 (IST)

Original-Recipient: rfc822;direktor@kievintim.ru
Final-Recipient: rfc822;direktor@kievintim.ru
Action: failed
Status: 5.7.0
Diagnostic-Code: smtp; 554 5.7.0 Reject, id=24061-06 - SPAM
Last-Attempt-Date: Mon, 27 Oct 2008 16:51:03 +0200 (IST)
Final-Log-ID: 24061-06/7kmazH6rO6zD
Return-Path: jboss-user@lists.jboss.org
Received: from relay.verizon.net (pool-71-245-34-66.sctnpa.east.verizon.net [71.245.34.66])
	by mail.vicehosting.com (Postfix) with ESMTP id DB00817FFEC
	for [EMAIL PROTECTED]; Mon, 27 Oct 2008 16:51:02 +0200 (IST)
Received: from [192.168.52.10] ([192.168.52.10]) by 71.245.34.66 with Microsoft SMTPSVC(6.0.3790.1830)
  27 Oct 2008 09:33:48 -0500
From: =?windows-1251?B?wO3g8fLg8ej/?= jboss-user@lists.jboss.org
To: [EMAIL PROTECTED]
Subject: =?windows-1251?B?0/Hy4OLt7ukg6uDv6PLg6y4gyO3i5fHy6Pbo6C4g3vDo5Oj35fHq6A==?=
	=?windows-1251?B?5SDoIO3g6+7j7uL75SDw5fjl7ej/?=
Date: 27 Oct 2008 09:33:48 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset=windows-1251
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MimeOLE: Produced By Microsoft Exchange V6.5
X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0274], KAS30/Release
X-SpamTest-Info: Not protected
X-Spam: Not detected
Message-Id: [EMAIL PROTECTED]
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: Problem Configuring JMS Client for Websphere MQ

2008-10-27 Thread Nordmeyer
me again ...

Meanwhile I found second doc source
http://www.ibm.com/developerworks/websphere/library/techarticles/0710_ritchie/0710_ritchie.html
Configuring my JMS client the way described there avoids the startup messages. 
Now I get an Exception saying
 javax.jms.InvalidDestinationException: Destination is not an instance of 
SpyDestination queue://XNMERC1T/XNMERC1T.IQ.RWBTEST
what looks to me like the message type sent doesn't fit the receiver's 
capabilities - and therefore leads me back to my configuration.

The change I suspect to make the difference between my first post and now is 
that I substituted the mbean configuration from
 mbean code=org.jboss.resource.deployment.AdminObject 
  | name=jboss.jca:service=WASDestination,name=QueueName
to 
 mbean code=org.jboss.resource.deployment.AdminObject
  |   name=jca.wmq:name=rwb-wsmq
  | 

I don't understand at all what I've done, it's just pasted from my 
documentation. Can anyone explain or give me a hint?

CU,
 Thomas

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184873#4184873

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184873
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Delivery Failure

2008-10-27 Thread Postmaster

-
The message you sent to langbridge.co.uk/trash50534137 was rejected because it 
would exceed the quota for the mailbox.

The subject of the message follows: 
Subject: 
=?windows-1251?B?0/Hy4OLt7ukg6uDv6PLg6yDoIOjt4uXx8uj26OguIM/w4OLuLiDN4A==?=


-

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment in tmp directory

2008-10-27 Thread jems
Thank you Wolfgang for pointing me to this thread, which I didn't find earlier. 
That's a pity nothing has been done for it ...

Well, I guess I'll just have to sftp the file to the correct location.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184874#4184874

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184874
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Exception in thread

2008-10-27 Thread prakashmvc
Thanks Tim, for the earliest reply..

Kindly let me know, will this fix will be available in upcoming version of 
JbossMessaging i.e. JbossMessaging 1.4.1GA.

and when is the paln to release JbossMessaging 1.4.1GA. I believe this version 
will fix lot of issues.

Regards,
Prakash


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184875#4184875

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184875
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Servlet Deployment Issue

2008-10-27 Thread PeterJ
One other thing to consider - some web app containers have issues with 
deploying servlets that do not have a package name. Assigning a package name 
will help. I recall having a discussion about this in this forum quite some 
time ago with the solution being to add a package. Example:

Add this to the servlet's source:

package foo;
  | // rest of servlet source as you posted

Change servlet stanza in the web.xml to:

  servlet
  | servlet-nameIsItWorking/servlet-name
  | servlet-classfoo.IsItWorking/servlet-class
  |   /servlet

Change your ww.war to contain:

WEB-INF/web.xml
WEB-INF/classes/foo/IsItWorking.class


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184877#4184877

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184877
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Incomplete Deployment Listing Error in JBoss 4.0.4

2008-10-27 Thread kevintaute
The Jasper Reports API requires access to the text file definition (jrxml).  In 
order to deploy under jboss, you will need to include the jrxml file like any 
other text file being deployed (ie your html, jsp, etc), then use something 
like 

String dirName = getServletContext().getRealPath(/);

to get the root directory of your application.  If you chose to place them in a 
subfolder (such as reports) you would need to add that to the string above.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184880#4184880

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184880
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: No Classloaders found for ProviderImpl

2008-10-27 Thread PeterJ
tomstrummer wrote :  Is there any way to query the classpath for a given 
resource to find out what JAR it's coming from?

I use a tool name JarFinder from http://www.isocra.com/2006/02/jarfinder/. It 
has saved my sanity countless times.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184881#4184881

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184881
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: No Classloaders found for ProviderImpl

2008-10-27 Thread PeterJ
I read your post again and think that maybe what you are looking for is the  
-verbose:class option to the JVM. This causes the JVM to print out each class 
file loaded and the location of the jar file from which the class was obtained.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184882#4184882

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184882
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: No Classloaders found for ProviderImpl

2008-10-27 Thread tomstrummer
Thanks Peter, I'll try that.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184883#4184883

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184883
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss CMP loading behavior problem

2008-10-27 Thread perisb
I am observing, via CMP log records (and poor system performance), unexpected 
relationship loading behavior by JBoss CMP.
No document I've seen has been clear on how CMR works with read-ahead, so I'm 
not really sure what I should expect.

The situation:

* JBoss 4.0.2
* Two entities, A and B, with a 1-many relationship from A to B.
* Both entities running with the predefined 'Instance per Transaction' 
container configuration
* no CMP optimizations defined, other than the default ones in 
standardjbosscmp-jdbc.xml:
  ...
  read-ahead
 on-load
 page-size1000/page-size
 eager-load-group*/eager-load-group
  /read-ahead
  list-cache-max1000/list-cache-max
  clean-read-ahead-on-loadfalse/clean-read-ahead-on-load
  ...

The problem is with the following simplified code scrap (running in a stateful 
Session method, within a transaction): 

1)  A a = ...
2)  Collection bs = a.getBs();
3)  Iterator I = bs.iterator();
4)  B b = (B)iterator.next();
5)  System.err.println(b.getFoo());
6)  while (I.hasNext())
7)  System.err.println((I.next()B).getFoo());
8)  System.err.println(b.getFoo());

Everything is fine until line 8.

At line 2 I see a relationship load query executed: SELECT OID FROM B where 
(a=?).

At line 5 I see : SELECT OID, foo from B where (OID=?) OR (OID=?) OR ...
The number of parameters seems to match the number of Bs that were found at 
line 2.
So this looks like read-ahead to me, even though I've not specified a 
relationship configuration; perhaps its the default at work?
This is evidenced by the the fact that lines 6-7 run without another query 
being executed.

The problem is that at line 8, the same query as in line 5 is reexecuted!
It appears that instances loaded within the transaction are discarded by going 
back and invoking on the first iterated B.
This is not what I expect.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184884#4184884

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184884
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss errors - help needed

2008-10-27 Thread sujan.one
Hello,
I get the following errors when I try to start an instance in jboss:
Plzz help

11:31:49,011 WARN  [ServiceController] Problem starting service 
jboss.mq:service=InvocationLayer,type=HTTP
java.net.UnknownHostException: -: -
at java.net.InetAddress.getLocalHost(InetAddress.java:1346)
at 
org.jboss.mq.il.http.HTTPServerILService.getConstructedURL(HTTPServerILService.java:328)
at 
org.jboss.mq.il.http.HTTPServerILService.startService(HTTPServerILService.java:81)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy33.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 

[jboss-user] [JBoss Getting Started Documentation] - Re: eclipse + jboss + web services

2008-10-27 Thread PeterJ
There is  JBoss Tools plugin for Eclipse and it has a tutorial at 
http://docs.jboss.org/tools/2.1.0.GA/en/GettingStartedGuide/html/index.html, 
but I could not see anything about web services there.

Personally, when I learn a new technology I limit myself to using a text editor 
and code, compile and build everything by hand. This way I understand the 
technology better (because there are no tools hiding things from me) and if 
things go wrong I know it is because of something I did, and not because the 
tool goofed. A quick scan of some of the forums will show that many people have 
problems getting things done in Eclipse but they work just fine if done 
manually without using Eclipse.

Finally, JBossAS uses Tomcat (actually, a variation of Tomcat known as JBoss 
Web Server) as the servlet container.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184889#4184889

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184889
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Weblogic deployment descriptor XSLT?

2008-10-27 Thread robertmorschel
Does anyone have any XSLT for migrating Weblogic to JBoss deployment 
descriptors.  I have seen an article on the internet which will do rudimentary 
elements but I need something more comprehensive.

Robert

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184894#4184894

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184894
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss errors - help needed

2008-10-27 Thread PeterJ
Based on the error message, I think that the app server thinks that the host 
name is -.

Please post the full command line you are using to start the app server.  Also, 
post your /etc/hosts file.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184897#4184897

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184897
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Problem looking up XADatasource - Always returns Datasou

2008-10-27 Thread vickyk
pradeeps wrote : 
  | The connection that is gotten from this datasource is going to participate 
in a distributed transaction with JMS XA QueueConnectionFactory.  I am using 
the Atomikos JTA API. 
  | 
  | This distributed TX will happen only if both the resources support XA.
  | 
  | Are you recommending that I create the XADataSource object in my code and 
not look up using JNDI?
  | 
  | Thanks.
  | 
I assume that you must have Atomikos TM configured with the JBoss.Now when you 
are getting the connection from the xa-datasource the jca framework will 
transparently enlist the connection associated with the datasource in the 
ongoing transaction.
Here is the psuedo code :

UserTransaction utx = (UserTransaction) ctx.lookup(UserTransaction);
  | 
  | Getting JMS XA QueueConnectionFactory from JNDI
  | 
  | Getting JMS session which will also enlist the corresponding XAResource in 
the ongoing TX
  | 
  | DataSource ds = (DataSource) ctx.lookup(java:/pxDS);
  | Connection con = ds.getConnection(); // Here JCA will enlist the 
connection(precisely XAResource) in ongoing JTA transaction transparently.
  | utx.commit();
  | 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184898#4184898

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184898
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Proper annotation matching pointcut

2008-10-27 Thread alesj
What's proper point-cut to intercept 
 - any method invocation on classes that are anotated with @FooBar
 - method invocation of method annotated with @FooBar

I have this

  |   bind xmlns=urn:jboss:aop-beans:1.0 pointcut=execution(* 
@org.jboss.demos.ioc.annotations.FooBar-*(..)) OR execution(* 
*-@org.jboss.demos.ioc.annotations.FooBar(..))
  |  interceptor-ref name=StopWatchInterceptor/
  |   /bind
  | 
is it OK?

As I don't see it intercept this

  |   bean name=SimpleExecutorOnMethod 
class=org.jboss.demos.ioc.annotations.SimpleExecutor
  | install method=execute
  |annotation@org.jboss.demos.ioc.annotations.FooBar/annotation
  | /install
  |   /bean
  | 
but this could be an issue with what MC provides as pushed metadata in install 
element.

Note: I don't expect it to be intercepted from MC's install - as that would 
probably require additional reflection+aop handling.
I have an extra call to the bean's execute method from some other 'user' code.

I'll take RTFM for an answer as well ... :-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184899#4184899

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184899
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss errors - help needed

2008-10-27 Thread sujan.one
Thanks for the quick response.
I am starting the instance using the below command:
#/opt/jboss-4.0.5/bin/run.sh -c tril 

tril is the name of instance.
Below is my /etc/hosts file:

127.0.0.1   localhost.localdomain localhost
192.168.12.66   syncsort66
64.106.164.2  sports-db01
64.106.164.3  sports-www01
64.106.164.4  sports-www02

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184900#4184900

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184900
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Proper annotation matching pointcut

2008-10-27 Thread [EMAIL PROTECTED]
Your pointcut looks fine. I haven't got any tests for metadata pushed as part 
of install, I didn't even know that was possible. I do however have tests 
checking if properties etc. are annotated as using metadata.

The choice whether to make a proxy or not is done during the instantiation 
phase, and this is also when the proxies advices are populated. So doing it as 
part of install is probably too late. Also, if the aspect has dependencies, 
those are determined during the describe phase

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184902#4184902

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184902
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss errors - help needed

2008-10-27 Thread PeterJ
What is/are the IP address(es) of your host?

If you remove the dashes (-) from the last three host names, does it work?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184904#4184904

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184904
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to stream a pdf at portlet?

2008-10-27 Thread sessa
Hi !

I have the same problem as littleprince.

Streaming a PDF through a portlet with resourceServing works fine with the 
JSPHelloUserPortlet Example. (I'm using the bundle JBoss AS 4.2.3 + Portal 
2.7.0 CR 1)
But if it put the code in a Richfaces Example i get the same nonesense as 
littleprince wrote:

the result i got is
  | %PDF-1.4 %âã

Where lies the problem ? Is ist the jboss portlet bridge ?
I am using the RBasic RichFaces Project from the Wiki JBoss Bridge Getting 
Startet http://www.jboss.org/community/docs/DOC-12740.

Thanks,

Sessa

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184908#4184908

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184908

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


[jboss-user] [JBossMQ] - Growing count of SelectorThread

2008-10-27 Thread FastBucks
Recently, we fixed a bug in our JMS message producer that was not closing the 
connection to the Queue it was interacting with. Due to this, the 
ActiveThreadCount kept growing. At that point, we did not take the thread dump 
to verify count of UIL threads. Now, after the fix, we see the 
ActiveThreadCount growing but not so fast. However, when we take the thread 
dump from the web console, we see a numerous occurences of SelectorThread. Is 
it related to JMS? We googled for this snippet but did not find any precedents. 
The thread description in the dump is as follows:

Thread: SelectorThread : priority:5, demon:true, threadId:328, 
threadState:RUNNABLE, threadLockName:null
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:275)
sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:257)
sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:138)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
com.sun.corba.se.impl.transport.SelectorImpl.run(SelectorImpl.java:249)

The JBoss installation in our system interfaces with Weblogic in two ways:
1. A message producer in Weblogic (8.1 sp6) posts a message to a Queue 
configured in JBoss (4.0.5). An MDB in JBoss listens for messages in this Queue 
and consumes them. We fixed the bug in the message producer where it was not 
closing QueueConnections to JBoss Queue.
2. A session bean is exposed as a webservice using Apache Axis. This session 
bean is deployed in JBoss. This session bean receives web service requests from 
our partners and synchronously calls an EJB in Weblogic. 

Is it possible that the SelectorThread is being spawned by the second scenario 
where our application code, residing in JBoss, is making calls into Weblogic?

Thanks in advance,
Abbas

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184910#4184910

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184910
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Jboss SEAM GWT Example not working

2008-10-27 Thread feroza
When I run the seam/remoting/gwt example, I get the following error when I 
click on the Ask button - Cannot find resource 'seam/resource/gwt' in the 
public path of module 'org.jboss.seam.example.remoting.gwt.HelloWorld'  

I am getting the error regardless of whether I run in hosted or web mode.  

I havent made any changes to the example.  What do I need to modify to get it 
to work?

any help would be appreciated.

posting here because I couldnt post to the jboss seam forum.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184912#4184912

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - How do I catch Exception invoking mbean methods?

2008-10-27 Thread thitoh
Hi!
I'm invoking remote methods using RMIAdaptor.
I'm using: invoke(javax.management.ObjectName pName, String pActionName, 
Object[] pParams, String[] pSignature)
But this method doesn't throw any exception. So, when a exception occours, it 
shows only in jboss's log
I would like to have it in my java code...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184914#4184914

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184914
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - how to set up proxy for Jboss to go through

2008-10-27 Thread peiguo
Hi,

In our company, we access internet through a http proxy server (with user name 
and password). One of my EJB3 application needs to access outside web service. 
But I don't know how to set up jboss, so that it realizes the existence of the 
proxy server and uses it. Because of that, I am getting a Caused by: 
java.net.UnknownHostException exception.

It is greatly appreciated if someone can help. Thanks in advance.

Peter

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184915#4184915

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss not starting from myeclipse properly.

2008-10-27 Thread denisputnam
Hi Jaikiran,

You are D MAN!  Thank you very much.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184918#4184918

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184918
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: connectionMap.remove in WrapperDatasourceService never c

2008-10-27 Thread dommarco
Hi Ludwig,

sounds good. If you want I can make some tests.

Best regards,
-rochi

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184919#4184919

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss errors - help needed

2008-10-27 Thread sujan.one
64.106.164.3 is the host IP.
It does not work even after removing -

-S

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184920#4184920

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - EJB does not take proxy and authentication settings

2008-10-27 Thread peiguo
We EJB needs to access internet, and in my company we go through http proxy, so 
I added the following to the beginning of my bean. However it didn't seem like 
JBoss actually take those configuration... 


  | Properties systemSettings = System.getProperties();
  |systemSettings.put(http.proxyHost, httpproxy.companyname.com);
  |systemSettings.put(http.proxyPort, 8080);
  |System.setProperties(systemSettings);
  | 
  | 
  |Authenticator.setDefault(new Authenticator() {
  |   protected PasswordAuthentication getPasswordAuthentication() {
  | return new
  |PasswordAuthentication(myusername,mypassword.toCharArray());
  | }});

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184922#4184922

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184922
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - No way to define an ignored stop method?

2008-10-27 Thread [EMAIL PROTECTED]
When building bean metadata (using BeanMetaDataBuilder), there seems to be no 
way of specifying a start/stop method that is ignored.  My concern is that the 
target class specifies a stop() method, but it is not a lifecycle method so I 
do not want it to be called (user manual 13.3 says that methods named start 
and stop are the defaults for lifecycle methods).

What is the right workaround?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184925#4184925

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Blank under Select content that will be added to the pag

2008-10-27 Thread hfn
I also have the following error:

ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet 
jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 178 in the jsp file: 
/WEB-INF/jsp/content/portlet_editor.jsp
Type mismatch: cannot convert from Object to PortletInfoInfo
175:private String getIcon(PortletInfo info)
176:{
177:   String iconLocation = 
PortletContentEditorPortlet.DEFAULT_PORTLET_ICON;
178:   PortletInfoInfo portletInfo = 
info.getAttachment(PortletInfoInfo.class);
179: 
180:   if (portletInfo != null)
181:   {


Stacktrace:
at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at 
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)

Please let me know if anyone has any insight into this problem.  Thank you very 
much!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184926#4184926

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184926
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Active Directory -- Unable to add portlets

2008-10-27 Thread hfn
I also have the following error: 

ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet 
jsp threw exception 
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 178 in the jsp file: 
/WEB-INF/jsp/content/portlet_editor.jsp 
Type mismatch: cannot convert from Object to PortletInfoInfo 
175: private String getIcon(PortletInfo info) 
176: { 
177: String iconLocation = PortletContentEditorPortlet.DEFAULT_PORTLET_ICON; 
178: PortletInfoInfo portletInfo = info.getAttachment(PortletInfoInfo.class); 
179: 
180: if (portletInfo != null) 
181: { 


Stacktrace: 
at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
 
at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) 
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) 

Please let me know if anyone has any insight into this problem.   This problem 
only occurs in JBoss-eap-4.3.

Thank you very much!



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184929#4184929

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Using Axis 1.4 WebServices on JBoss 4.2.3

2008-10-27 Thread donadriano
Hi,

I am migrating a demo application from jboss 3.2.5 to 4.2.3. The application is 
using Axis1.4 (it's using org.apache.axis.* classes, not the org.jboss.axis.* 
ones).

Can someone tell if it is possible to run Axis1 WebServices on JBoss 4.2.3 ? I 
tried by adapting jboss-net.sar but ran into multiple problems.

Thanks in advance for your suggestions!

Best Regards
Adriano

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184932#4184932

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: The use of Hotswapping

2008-10-27 Thread aquatr7
Hello,
I tried the example below, but the HotSwapping doesn't work, even the example 
dynamic aop where I change it by adding the loop for for the first call to 
execute, then I changed SimpleInterceptor by an other interceptor before 
the end of the loop for:

  |public static void main(String[] args) throws Exception
  |{
  |for(int i=0;i10;i++)
  |{
  |execute();
  |System.out.println(--);
  |}
  |   AdviceBinding binding = new AdviceBinding(execution(public * 
POJO-someMethod(..)), null);
  |   binding.addInterceptor(SimpleInterceptor.class);
  |   AspectManager.instance().addBinding(binding);
  |   execute();
  |}
But the application doesn't take account of the modification and display the 
old interceptor SimpleInterceptor in the second call to execute.
I'm using jboss-aop_1.5.6.GA configured under Eclipse 3.1 and I added, to run 
with hotSwap in VM arguments
anonymous wrote : -Djboss.aop.path=C:/Driverexemple/DynamicAOP/jboss-aop.xml  
-javaagent:C:/aop/jboss-aop_1.5.6.GA/lib-50/jboss-aop-jdk50.jar=-hotSwap
Please tell me what to do. 
Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184934#4184934

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184934
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: No way to define an ignored stop method?

2008-10-27 Thread alesj
You can do this

  | stop ignored=true/
  | 

Or is something similar missing on BMDBuilder?
If so, I'll add it tomorrow.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184939#4184939

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184939
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: No way to define an ignored stop method?

2008-10-27 Thread alesj
alesj wrote : 
  | Or is something similar missing on BMDBuilder?
  | 
Yup, missing.
 - 
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/kernel/src/main/java/org/jboss/beans/metadata/spi/builder/BeanMetaDataBuilder.java
I'll add ignored flag for all 4 states.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184940#4184940

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: No way to define an ignored stop method?

2008-10-27 Thread alesj
alesj wrote : I'll add ignored flag for all 4 states.
https://jira.jboss.org/jira/browse/JBMICROCONT-373

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184942#4184942

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Reading/Updating JBoss CMS Files via Java Batch Program

2008-10-27 Thread user.java
IS it Possible to Read/Write to JBoss Portal CMS via Java Batch program? Any 
directions is appreciated

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184943#4184943

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: EJB does not take proxy and authentication settings

2008-10-27 Thread peiguo
I noticed that the web service I called is https not http, so I modified my 
code to:
   systemSettings.put(http.proxyHost, httpproxy.companyname.com);
  |systemSettings.put(http.proxyPort, 8080);

However I got this exception explaining about truststore etc. How to solve this?


2008-10-27 13:25:31,234 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] 
Get locator for: 
[addr=https://demo.itemcentre.gs1ca.org/WebService/Service.svc,props={javax.xml.ws.service.endpoint.address=https://demo.itemcentre.gs1ca.org/WebService/Service.svc}]
  | 2008-10-27 13:25:31,234 DEBUG 
[org.jboss.remoting.security.SSLSocketBuilder] Could not find keystore url.  
Can not find store file for url because store url is null.
  | 2008-10-27 13:25:31,234 ERROR 
[org.jboss.remoting.transport.http.HTTPClientInvoker] Error creating SSL Socket 
Factory for client invoker.
  | java.io.IOException: Error initializing socket factory SSL context: Can not 
find truststore url.
  | at 
org.jboss.remoting.security.SSLSocketBuilder.initializeSocketFactorySSLContext(SSLSocketBuilder.java:1340)
  | at 
org.jboss.remoting.security.SSLSocketBuilder.createCustomSocketFactory(SSLSocketBuilder.java:451)
  | at 
org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:431)
  | at 
org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:381)
  | at 
org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.createSocketFactory(HTTPSClientInvoker.java:140)
  | at 
org.jboss.remoting.RemoteClientInvoker.init(RemoteClientInvoker.java:46)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.init(HTTPClientInvoker.java:105)
  | at 
org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.init(HTTPSClientInvoker.java:63)
  | at 
org.jboss.remoting.transport.https.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
  | at 
org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
  | at org.jboss.remoting.Client.connect(Client.java:459)
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(RemotingConnectionImpl.java:247)
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:165)
  | at 
org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
  | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  | at $Proxy120.signOn(Unknown Source)
  | at 
org.jboss.tutorial.entity.bean.ShoppingCartBean.getProductData(ShoppingCartBean.java:42)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 

[jboss-user] [Microcontainer] - Re: No way to define an ignored stop method?

2008-10-27 Thread [EMAIL PROTECTED]
Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184949#4184949

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to set the theme programatically

2008-10-27 Thread Andre1001
Hi,

JBoss Portal 2.7.0 CR1.

I have the same question, but I've noticed that it's possible to change the 
portal theme on a user basis using the dashboard area.

Is it possible to change themes for regular portal objetcs like admin and 
default on a user basis?!?

I've also noticed that users are children objects from dashboard object, but 
there's no users as children objects from default portal object, for example.

Thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184955#4184955

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - JAAS and OpenLdap configuration

2008-10-27 Thread jej2003
I am trying to setup a JAAS Domain to authenticate against an LDAP server, but 
I keep getting [LDAP: error code 49 - Invalid Credentials].  Can anyone help 
shed some light on this?  The googling I did seemed to point to the 
java.naming.security.principal being wrong, but it is not.  Any help would be 
appreciated.

LDIF:

  | #   This file was generated on 2008-10-27 at 13:52:13
  | #   by Softerra LDAP Administrator v4 [ http://www.ldapadministrator.com ]
  | dn: dc=test,dc=com
  | dc: test
  | description: test
  | objectClass: dcObject
  | objectClass: organization
  | o: test
  | 
  | dn: ou=people,dc=test,dc=com
  | ou: people
  | description: All the peoples in da hizzouse
  | objectClass: organizationalUnit
  | 
  | dn: description=Mr. Jamie Johnson 2008102372,ou=people,dc=test,dc=com
  | description: Mr. Jamie Johnson 2008102372
  | sn: Johnson
  | ou: test
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: uidObject
  | uid: jjohnson
  | telephoneNumber: 123-456-7890
  | title: Software Engineer
  | userPassword: jjohnson
  | cn: jjohnson
  | 
  | dn: description=Mr. Test User 2008102313,ou=people,dc=test,dc=com
  | telephoneNumber: 123-456-7890
  | description: Mr. Test User 2008102313
  | sn: User
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: uidObject
  | uid: tuser
  | userPassword: tuser
  | cn: tuser
  | 
  | 
  | dn: ou=groups,dc=test,dc=com
  | description: All the subservient minions
  | objectClass: organizationalUnit
  | ou: groups
  | 
  | dn: cn=Administrators,ou=groups,dc=test,dc=com
  | objectClass: top
  | objectClass: groupOfNames
  | member: cn=jjohnson
  | cn: Administrators
  | 
  | dn: cn=Users,ou=groups,dc=test,dc=com
  | objectClass: top
  | objectClass: groupOfNames
  | member: cn=tuser
  | 
  | cn: Users
  | 


  | application-policy name=testLDAP
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.LdapLoginModule flag=required
  | module-option 
name=java.naming.factory.initialcom.sun.jndi.ldap.LdapCtxFactory/module-option
  | module-option 
name=java.naming.provider.urlldap://LDAPSERVER:389/module-option
  | module-option 
name=java.naming.security.authenticationsimple/module-option
  | module-option 
name=java.naming.security.principaluid=Manager,dc=test,dc=com/module-option

  | module-option 
name=java.naming.security.credentialssecret/module-option  
  | module-option 
name=principalDNPrefixuid=/module-option
  | module-option 
name=principalDNSuffix,ou=people,dc=test,dc=com/module-option
  | module-option 
name=rolesCtxDNou=groups,dc=test,dc=com/module-option
  | module-option 
name=uidAttributeIDmember/module-option
  | module-option 
name=matchOnUserDNfalse/module-option
  | module-option 
name=roleAttributeIDcn/module-option
  | module-option 
name=roleAttributeIsDNfalse/module-option
  | module-option 
name=searchScopeONELEVEL_SCOPE/module-option
  | /login-module
  | /authentication
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184956#4184956

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: how to create new ejb project for use with seam project

2008-10-27 Thread elenctic87
There is no option for selecting the Seam Facet in project facets.  The only 
new available facet I see 3.0.0 alpha1 to nightly build of 10-24 is the ESB 
facet.  So, are you sure the Seam Facet is available?  I really can't find it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184957#4184957

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184957
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss errors - help needed

2008-10-27 Thread PeterJ
See if this helps: http://www.cpqlinux.com/hostname.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184960#4184960

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - SimplePrincipal ClassCastException

2008-10-27 Thread clevelam
I am trying to use a custom Princpal class with my custom JAAS LoginModule.   I 
am doing programmatic authentication and thus using Jboss' WebAuthentication 
class.   My LoginModule extends AbstractServerLoginModule. When declaring 
my login module within login-config.xml I added module-option 
name=principalClassName and referenced my custom login module.

When I try to cast to my custom type I get a classcastexception.   If anyone 
knows what I may be doing wrong, please advice.   I would greatly appreciate it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184963#4184963

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184963
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Strip Down Jboss 4.2.x version??

2008-10-27 Thread bronzeiii
Hi all

Is there a way to deploy web application (including EJB support) without using 
the deploy directory?  Inside of the jboss-service.xml, there is a attribute 
where users get to specify their own exploded directory.  By default, it has 
/deploy directory.  (my setting is default)

so now i don't frankly want to deploy the /deploy directory, so when I remove 
the /deploy line from the jboss-service.xml, i think the web container(tomcat) 
doesn't get started now once i remove the /deploy line from the xml file.

hope someone can give me some advises on this.  I'm a newbie with Jboss AS... 
it sounds like I need to have a strip down version of my own deploy directory 
which includes jboss-web.deployer 

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184964#4184964

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184964
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - ClassCastException using same jar file

2008-10-27 Thread pasalic.zaharije
Hi,

we are developing out project from 3 different eclipse projects. One is utils 
project which expose common.jar file. This file has simple interface that 
implements Serializable and class which implement :


public interface PublishCommand extends Serializable {
  |  // some methods 
  | }
  | 
  | public class PublishBaseCommand implements PublishCommand {
  | 
  | private String operationType;
  | 
  | public PublishBaseCommand() {
  | }
  | // some get/set methods
  | }


This will be class which will be sanded into queue1. 

Also, there is second project - Web application (on Spring) which instantiate 
upper class and send it to queue1. Deploy file is .war, and it contain 
common.jar in it's WEB-INF/lib path. Code for sending message:

   try {
  | jmsDistributionTemplate.send(new MessageCreator() {
  |  public Message createMessage(Session session) throws 
JMSException {
  | ObjectMessage oMessage = 
session.createObjectMessage();
  | oMessage.setObject(new 
PublishBaseCommand() );
  | return oMessage;
  |  }
  | }); 
  | }
  | catch(JmsException e) {
  |// ...
  | }
  | 
Third application is also Web application (also on Spring). This application 
contains listener:

 public void onMessage(Message message) {
  | if (message instanceof ObjectMessage) {
  | try {
  | ObjectMessage objectMessage = 
(ObjectMessage)message;
  | log.info(MSG   ===   + 
objectMessage.getObject());
  | log.info(MSG HASH  ===   + 
objectMessage.getObject().getClass().hashCode());
  | log.info(NED HASH  ===   + 
PublishBaseCommand.class.hashCode());
  | PublishBaseCommand= 
(PublishBaseCommand)objectMessage.getObject(); 
  | }
  | catch(JMSException e) {
  | // ...
  | }
  | }
  | }

main problem is in thrid application - in part where we call getObject and 
convert it to PublishBaseCommand - we got ClassCastException:

[Thread-22] listener.SimpleMessageListenerContainer 
(AbstractMessageListenerContainer.java:634) - Execution of JMS message 
listener failed
  | java.lang.ClassCastException: publishing.service.impl.PublishBaseCommand
  | at 
updater.service.impl.PublishListenerImpl.onMessage(PublishListenerImpl.java:33)
  | at 
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
  | at 
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
  | at 
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
  | at 
org.springframework.jms.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:407)
  | at 
org.springframework.jms.listener.SimpleMessageListenerContainer.processMessage(SimpleMessageListenerContainer.java:290)
  | at 
org.springframework.jms.listener.SimpleMessageListenerContainer$2.onMessage(SimpleMessageListenerContainer.java:266)
  | at 
org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:153)
  | at 
org.jboss.jms.client.remoting.MessageCallbackHandler$ListenerRunner.run(MessageCallbackHandler.java:884)
  | at 
EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:89)
  | at java.lang.Thread.run(Unknown Source)

Also following output is traced from upper log.info:


MSG   ===  [EMAIL PROTECTED]
  | MSG HASH  ===  13712958
  | NEED HASH  ===  13628909


P.S.
I removed most of the code for readability.

Thanks,
Zaharije Pasalic





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184968#4184968

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Port already in use: 1098 - Change ReservedPorts in Regist

2008-10-27 Thread pxstein
When I start JBoss v4.2.3 on my computer I get always an startup error

java.rmi.server.ExportException: Port already in use: 1098

netstat -ano 

shows no other process which is blocking this port.
So I decided to reserve ephemeral ports like described e.g. here:

http://www.jboss.com/index.html?module=bbop=viewtopict=64248

with a *.reg file like:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
ReservedPorts=hex(7):31,00,30,00,39,00,38,00,2d,00,31,00,30,00,39,00,39,00,\
  00,00,00,00

However this did not help.

Why?

The only way was to change the RmiPort in jboss-service.xml from 1098 to 1198

Why did the Registry patch not help?
Do I have to re-boot for getting the Registry patch be active?

Are there any problems when changing the jboss-service.xml RmiPort?

Peter

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184969#4184969

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - packaging log4j.properties with a server jar

2008-10-27 Thread prpo
Hello All,

I have a wrapper class around log4j which needs to be packaged with an ejb.
How do I package the log4j.properties?
I do not want to modify the server/conf/jboss-log4j.xml file as that would mean 
changes to every deployment.
I am using EJB3 and do not have any deployment descriptors for the MDB.

Thanks for your  suggestions.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184970#4184970

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184970
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Which wconsume artefacts are for the test client?

2008-10-27 Thread pxstein
I created a sample web service with the WSDL shown at the bottom of this post.

wsconsume now creates all relevant artefacts. In detail:

- Greet.java
- GreetResponse.java
- ObjectFactory.java
- package-info.java
- TestWs.java
- TestWsService.java

Which of these files (resp. the classes) should be put into the client *.jar 
file 
(which in turn call the web service later) ?

Are really all *.classes necessary FOR THE CLIENT?





definitions name=TestWsService targetNamespace=http://dhanago.test.com/; 
xmlns=http://schemas.xmlsoap.org/wsdl/; 
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns:tns=http://dhanago.test.com/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;




xs:schema targetNamespace=http://dhanago.test.com/; version=1.0 
xmlns:tns=http://dhanago.test.com/; 
xmlns:xs=http://www.w3.org/2001/XMLSchema;
  
xs:element name=greet type=tns:greet /


   
xs:element name=greetResponse type=tns:greetResponse /


   
xs:complexType name=greet   


   
xs:sequence   


   
xs:element minOccurs=0 name=name type=xs:string /   


   
/xs:sequence  


   
/xs:complexType   


   
xs:complexType name=greetResponse   


   
xs:sequence   


   
xs:element minOccurs=0 name=return type=xs:string / 


   
/xs:sequence  


   
/xs:complexType   


   
/xs:schema


   



   


  

   

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Strip Down Jboss 4.2.x version??

2008-10-27 Thread PeterJ
If you change the URLs attribute so that it no longer contains the deploy 
directory, then yes, none of the services currently located in that directory 
will get deployed. Considering that these services include the web application 
deployer and the servlet container, not deploying them will prevent web apps 
from working also.

You have several options:

A) Succumb to conventions and deploy your web app to the deploy directory.

B) Rather than replacing the URLs attribute value, add a second entry to it, 
using a comma to separate the entries:

  attribute name=URLs
  |  deploy/,
  |  /full/path/to/your/app.war
  |   /attribute
  | 

Note that you can add as many paths as you like, all comma-separated. Note, 
however, that only the first path is hot-deployed (if you do not understand 
what this means, you should use option A until you do understand it).


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184972#4184972

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184972
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Which wconsume artefacts are for the test client?

2008-10-27 Thread PeterJ
All of the generated classes should be placed into your client's JAR file.

By the way, when posting XML source, enclose your XML text in UBBCode code 
tags  - you can do this by selecting the XML 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.com/index.html?module=bbop=viewtopicp=4184973#4184973

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Remote Classloading

2008-10-27 Thread [EMAIL PROTECTED]
bbb321 wrote : 
  | Is it possible to use remote classloading for this case? The class provider 
should be on the client.
  | 

As of Remoting 2.x, remote classloading is supported in the server to client 
direction only.  It will be supported in both directions in Remoting 3.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184974#4184974

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Strip Down Jboss 4.2.x version??

2008-10-27 Thread bronzeiii
Hey Peter

Thanks for your reply!.. i understand both options, and already experimented 
both already.. but honestly, I don't like neither of them.  I'm seeking to see 
if it's possible to relocate the web application deployer and EJB container to 
my own exploded directory, instead of depending on the /deploy directory. 

Please let me know. 

Thanks a lot



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184975#4184975

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: ClassCastException using same jar file

2008-10-27 Thread pasalic.zaharije
Little more info: I can reproduce this on JBoss 4.2.2 and JBoss Messaging 1.3.0 
and also on latest JBoss Messaging 1.4.0 SP3.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184976#4184976

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: How to annotate in opposite way

2008-10-27 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : You don't annotate the methods. You either use 
@DeclareError/Warning with pointcut expressions in a @Aspect annotated class as 
shown here 
https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/src/test/org/jboss/test/aop/annotateddeclare/DeclareAspect.java
 or you use xml.

Thanks lots Kabir.

I still stuck on the expression.

How to expression that if access is from com.b, then only some of methods 
(about 10 in total) defined in com.a are allowed (totaly 1000 public methods 
defined in com.a);

Any idea?

--
John

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184977#4184977

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184977
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: NPE from one way message dispatch

2008-10-27 Thread [EMAIL PROTECTED]
adinn wrote : 
  | I suspect WS needs the unmarshaller to be called in both  cases even when 
the stream is null i.e. we may need to back out this fix. Ho wsensible this is 
as regards any other remoting clients I am not in a position to say. Perhaps 
you could comment? 
  | 

Well, logically, I think it doesn't make sense to call an unmarshaller with a 
null InputStream.  Having fixed what I think should be considered a bug, I 
think rolling back the fix would amount to building in special treatment for a 
particular case (SOAP unmarshaller).  On the other hand, by eliminating a call 
to the unmarshaller, I have changed the behavior of Remoting in an SP release, 
something I try to avoid.  So I think I'll reopen the case and add a parameter, 
say unmarshalnullstream, such that HttpClientInvoker defaults to the original 
behavior which can be changed to the new behavior by setting 
unmarshalnullstream=true.

If you use the SOAP unmarshaller in both (one way / two way) cases, then I 
assume this change would fix your problem.  

I was going to release a version 2.5.0.SP1 today, but I'll hold off briefly 
while we resolve this problem.  I'll attach another jboss-remoting.jar to 
JBREM-1046.

adinn wrote : 
  | Sorry, for the previous misdiagnosis
  | 

I'd say it was a partial diagnosis, treated with a partial cure, rather than a 
misdiagnosis.  Anyway, np, it's all good.

-Ron

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4184979#4184979

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4184979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >