[jboss-user] [JBossCache] - Re: Please vote for your favorite issues -- mine :-)

2006-12-04 Thread [EMAIL PROTECTED]
The view idea is interesting, and we should discuss it further and put it on 
the roadmap.
IMO it is an orthogonal issue from functors though, as functors are a generic 
way of applying a function to a subset of all nodes. Functors are not 
restricted to queries.

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

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


[jboss-user] [Beginners Corner] - Re: Sending Email using JBoss AS 4.0.4GA??

2006-12-04 Thread mp123
Hello,
[EMAIL PROTECTED] wrote : 
  | 
  | The only *real* difference is in how a Mail Session is acquired. This is 
done via JNDI and should be done using a resource reference. 
  | 

Now, I have stuck with this point on how to create Mail Session using JNDI and 
how to edit the ejb-jar.xml and jboss.xml of my application.

Please tell me, how can I add the entry in ejb-jar.xml for mail sending?


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

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


[jboss-user] [JBoss Seam] - Re: Excessive [could not destroy component] 1.1B1 to 1.1CR1

2006-12-04 Thread lowecg2004
I had created this quick setup guide for our developers based on the 
information in this thread:

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

I hope this helps you out.

Chris.


There are a few important timeout values in the Seam environment that any Seam 
developer needs to be aware of.

The first one is obvious and it is the well known HTTP session-timeout value 
(the one that you set in web.xml). What catches most people out is that there 
also is a separate EJB3 SFSB timeout value.  These SFSB timeout values must be 
set in 2 places.

Since Seam freely integrates these two environments, a difference in the two 
timeouts can cause apparently random exceptions like:

19:23:07,124 WARN  [Contexts] Could not destroy component: login
  | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 
5r4m5v-man6m0-etofwmzy-1-etog131z-
  | g
  | at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:268)
  | at 
org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor
  | .java:127)
  | at 
org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:8
  | 7)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.jav
  | a:77)
  | ...

It is worth mentioning that there is a @CacheConfig annotation that allows you 
to specify the SFSB timeout on a per class basis.  This offers a fine grained 
level of control, however you often just need to set the value once and have 
done with it. So in order to align the HTTP session and the SFSB timeouts, you 
must amend configuration files.  Also note that this example sets these values 
to be exactly the same.  It is sometimes recommended that the SFSB timeouts are 
set to be longer than the HTTP session timeout.

1. HTTP Session Timeout

File: WEB-INF/web.xml

session-config
  |   session-timeout15/session-timeout
  | /session-config

Note: Value is in minutes;

2. SFSB Timeout Part 1 

File: PROJECT_HOME/embedded-ejb/conf/ejb3-interceptors-aop.xml

Find entry matching 'domain name=Stateful Bean extends=Base Stateful Bean 
inheritBindings=true':

domain name=Stateful Bean extends=Base Stateful Bean 
inheritBindings=true
  |   ...
  |   !-- OCSS: Align this value with session timeout in web.xml --
  |   annotation 
expr=!class(@org.jboss.annotation.ejb.cache.simple.CacheConfig) AND 
!class(@org.jboss.annotation.ejb.Clustered)
  |  @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=10, 
idleTimeoutSeconds=900)
  |   /annotation

Set the idleTimeoutSeconds value.

Note: Value is in seconds;


3. SFSB Timeout Part 2

File: JBOSS_HOME\server\default\conf\standardjboss.xml

Find entry for 'container-nameStandard Stateful SessionBean/container-name':

  | container-configuration
  |   container-nameStandard Stateful SessionBean/container-name
  |   ...
  |   container-cache-conf
  | ...
  | cache-policy-conf
  |   remover-period900/remover-period
  |   max-bean-life900/max-bean-life
  | ...

Note: Value is in seconds; Also this config is required for every server that 
the Seam code is deployed to.

That is all. Aligning these three timeout values will prevent those Could not 
destroy component:  exceptions and prevent some strange behaviour in your 
apps.

Further information and discussion, see the thread referenced at the start of 
this post.

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

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


[jboss-user] [JBoss jBPM] - Building from source

2006-12-04 Thread onizuka82
Hi everyone,

I am facing problem when try to build from the source. 

1. I use Eclipse to import the jbpm.3 and build class path to the repository.
2. When i run ant build in jbpm.3 \build folder, error occured.


The error message is a bit shorter than the orginal. I couldnt paste all in 
here as it will be too long.

Error message from the eclipse console
===

BUILD FAILED
C:\workspace\source\jbpm.3\build\build.xml:54: The following error occurred 
while executing this line:
C:\workspace\source\jbpm.3\jboss\db\build.xml:38: 
java.io.FileNotFoundException: JAR entry org/jbpm/ant/jbpm.ant.tasks.properties 
not found in C:\workspace\source\jbpm.3\jpdl\jar\target\jbpm-jpdl.jar

Total time: 1 minute 48 seconds

===


3. So i try to use the Ant to build it again without closing the eclipse but 
another error message show.


Error message from the eclipse console 
===
check.project.dirs:
checkout.docs:
  [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d 
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.docs
 -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.docs error=2
checkout.site:
  [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d 
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.site
 -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.site error=2
checkout.feature:
  [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d 
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.feature
 -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.feature error=2
checkout.help:
  [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d 
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.help
 -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help error=2
checkout.ui:
  [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d 
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.ui
 -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.ui error=2
checkout.core:
  [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:anonymous:@anoncvs.forge.jboss.com:/cvsroot/jbpm checkout -d 
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build/target/projects/org.jbpm.gd.jpdl.core
 -r jbpm_gpd_3_0_12_1 jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.core error=2
get.projects:
all:
install.eclipse:
   [delete] Deleting directory C:\eclipse

BUILD FAILED
C:\workspace\source\jbpm.3\build\build.xml:56: The following error occurred 
while executing this line:
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:57: 
The following error occurred while executing this line:
C:\workspace\source\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:73: 
Unable to delete file 
C:\eclipse\configuration\org.eclipse.core.runtime\.extraData.7

Total time: 2 minutes 28 seconds

=


4. After this error, i coudlnt open the eclipse again. The whole eclipse 
crashed.


Error message from the Eclipse log

=


!MESSAGE Missing required bundle org.eclipse.ui.editors_0.0.0.
!SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
!MESSAGE Missing required bundle org.eclipse.ui.forms_0.0.0.
!SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
!MESSAGE Missing required bundle org.eclipse.wst.common.ui_0.0.0.
!SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
!MESSAGE Missing required bundle org.eclipse.jdt.debug.ui_0.0.0.
!SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
!MESSAGE Missing required bundle org.eclipse.debug.core_0.0.0.
!SUBENTRY 2 org.jbpm.gd.jpdl.ui 2 0 2006-12-22 15:10:01.979
!MESSAGE Missing required bundle org.eclipse.core.variables_0.0.0.



Can anyone please tell me what is the problem behind this or provide any guide 
on how to overcome this.

Thank you.


Warmest regards,
Andrew 

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

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

[jboss-user] [JBossWS] - Multiple SEI's with wstools

2006-12-04 Thread Duffcase
I've been trying to figure out how to do this with wstools, but I can't seem to 
find info about it anywhere.

Anyone care to outline how to do it?

This is my config file. I've tried duplicating the sections on different levels 
for the new seo, but with no luck.


  | ?xml version=1.0 encoding=UTF-8?
  | 
  | configuration xmlns=http://www.typo.no/trim;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://www.jboss.org/jbossws-tools 
http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd;
  | 
  | 
  | java-wsdl
  | service name=MainController style=document 
endpoint=main.MainControllerInterface /
  | namespaces target-namespace=http://typo.no/trim/ws/maincontroller; 
type-namespace=http://typo.no/trim/ws/maincontroller/types/; /
  | mapping file=jaxrpc-mapping.xml /
  | webservices servlet-link=MainController /
  | 
  | 
  | /java-wsdl
  | 
  | /configuration
  | 

It doesn't give any errors, just seem to ignore the first endpoint when there 
is more than one.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: myApp.spring deploting

2006-12-04 Thread ramar73
Thanks, but it still doesn't work.
I added the following entry:

jboss.spring:service=SpringApplicationContextDeployer

but nothing changed.

Regards.

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

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


[jboss-user] [JBoss jBPM] - need help to set a task

2006-12-04 Thread blai
Hi you there,

I am testing JBPM and in doing so I am building my first application. I mean to 
set a task that would send emails. I looked throughout this forum and all docs 
at hand but no luck in finding an answer to my problem: I want to know how to 
set a task that send emails within the XML configuration file and how can I 
provide the task handler class the parameters needed to do so.
Honestly I haven`t found a clear example.

May anyone help me?

Thanks a lot for your help.

Blai

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

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


[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread petemuir
It shouldn't be, no.  

Put it in META-INF/ if you are putting the facelets in a jar included in 
WEB-INF/lib.  Put it in WEB-INF if you are just putting the facelets straight 
into your war.

BTW I never needed that parameter for tomahawk if I put the tomahawk.taglib.xml 
in WEB-INF (or a sub directory).

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

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


[jboss-user] [JBoss.NET] - properties file not read by webservice

2006-12-04 Thread amit_sri
Hi, 

I am new to Axis style webservice, I have deployed and able to invoke the 
webservice using a test client. I have a few configuration/ properties file 
which are used by that deployed application, there I am facing some issues as 
they are not getting located by the application during runt time. Can anyone 
tell me where is the appropriate place/ what the correponding changes should be 
made to enable my application to read those properties/ configuration?

Thanks in advance,
Amit Srivastava..

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

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


[jboss-user] [Security JAAS/JBoss] - Re: LDAP Newbie - LdapLoginModule

2006-12-04 Thread jaikiran
LoginException is thrown when the authentication fails (one of them being 
invalid password). Yes, you can implement your use case of checking the number 
of attempts when LoginException is thrown. But remember that there might be 
various other reasons why the LoginException is thrown. 

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Error during queue setup

2006-12-04 Thread jaikiran
Use the Code button to post the contents of the xml and even the stacktrace

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ message persistence with SQLServer (Urgent help)

2006-12-04 Thread Zgreugneugneu
Hi all,

i have the same issue using SQL Server 2005 Persistence with JBoss 4.0.5,
i have also tried the sqljdbc.jar v1.1 but i'm still having this exception :

Caused by: org.jboss.resource.JBossResourceException: SQLException; - nested 
throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: Le démarrage
  |  d'une nouvelle demande n'est pas autorisée car celle-ci doit être 
accompagnée d'un descripteur de transaction valide.)
  | at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:636)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.commit(LocalManagedConnection.java:73)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.commit(TxConnectionManager.java:905)

the JDBC driver seems require a valid transaction descriptor ...
Is there a solution for this ?

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

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: DeploymentException: No ejb-relationship-role-name eleme

2006-12-04 Thread nsv
Hi 

I get an error No Password credentials found in jboss when i try to initialize

Please tell me where i can set the password credentials?

Thanks
Vishnu

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: DeploymentException: No ejb-relationship-role-name eleme

2006-12-04 Thread jaikiran
nsv wrote : Hi 
  | 
  | I get an error No Password credentials found in jboss when i try to 
initialize
  | 
  | Please tell me where i can set the password credentials?
  | 
  | Thanks
  | Vishnu

Please do not hijack someone else's posts. Create a new topic, explaining the 
problem that you are running into along with the exception stacktrace.

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

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


[jboss-user] [JBoss jBPM] - Re: starters-kit: unable to deploy selfbuild jbpm.sar

2006-12-04 Thread misel
Hi mate,
don't know if you solved the problem, but I had _exactly_ the same problem, i.e 
the database was up and running and all tables were created. After a lot of 
hair-pulling I finally discovered that the hibernate.cfg should be updated. So 
in

$JBPM_HOME/src/config.files/hibernate.cfg.xml

i replaced the jdbc properties

!-- jdbc connection properties --


with

property 
name=hibernate.dialectorg.hibernate.dialect.HSQLDialect/property
  | property 
name=hibernate.connection.datasourcejava:/DefaultDS/property
  | 
(Then of course a build.deploy) and it finally worked.

Cheers,
ml

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: DeploymentException: No ejb-relationship-role-name eleme

2006-12-04 Thread nsv
hi 

I am sorry

Thanks
Vishnu

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

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


[jboss-user] [Installation, Configuration Deployment] - javax.resource.spi.SecurityException

2006-12-04 Thread nsv
Hi

I get an error No Password credentials found in jboss when i try to initialize

Please tell me where i can set the password credentials?

Thanks
Vishnu



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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
i am actually sending message a queue

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

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


[jboss-user] [JBoss Getting Started Documentation] - What exactly is JAWS?

2006-12-04 Thread jan.zitniak
Hello,

I'm sure that my question is little bit stupid, but I was already looking for 
JBoss forum and Google searcher and I didn't find some full-value information 
about JAWS. Can somebody tell me more about that? Or please give me a some 
link, explanation, etc. Thank you.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread jaikiran
When do you see this error? Is it during JBoss startup? Post the entire 
exception stacktrace that you are seeing and also provide more details about 
your application

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

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


[jboss-user] [JBoss jBPM] - Re: Never ending processes

2006-12-04 Thread kukeltje
Personally, although I like jBPM a lot, would do this with an esb or other 
solution. 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
Below is the stack trace

2006-12-04 15:02:51,705 DEBUG 
[org.jboss.mq.referenceable.SpyDestinationObjectFactory] 
SpyDestinationObjectFactory-getObjectInstance()
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.Destination] Exiting 
initializeConnections()...
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.Destination] Connected to 
Destination: queue/AlarmMgrRecvQueue and Factory: java:AlarmMgrConnectionFactory
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.Destination] Connected. Exiting 
init(String)...
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.Sender] Entering initSender()...
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.Sender] Creating Queue Session...
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.ConnectionWrapper] Entering 
createQueueSession()...
  | 2006-12-04 15:02:51,705 DEBUG [com.tlc.jms.ConnectionWrapper] Exiting 
createQueueSession()...
  | 2006-12-04 15:02:51,705 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: 
registering pool with interval 90 old interval: 45
  | 2006-12-04 15:02:51,705 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null
  | javax.resource.spi.SecurityException: No Password credentials found
  | at org.jboss.resource.adapter.jms.JmsCred.getJmsCred(JmsCred.java:75)
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:101)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:539)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:228)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:389)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:144)
  | at 
com.tlc.jms.ConnectionWrapper.createQueueSession(ConnectionWrapper.java:63)
  | at com.tlc.jms.Sender.initSender(Sender.java:162)
  | at com.tlc.jms.Sender.init(Sender.java:120)
  | at com.tlc.re.AlarmAction.init(AlarmAction.java:86)
  | at com.tlc.re.AlarmAction.init(AlarmAction.java:45)
  | at 
com.tlc.re.RuleContext.jsFunction_createAlarmAction(RuleContext.java:157)
  | at inv20.invoke()
  | at 
org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:498)
  | at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:413)
  | at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1191)
  | at org.mozilla.javascript.gen.c3.call(...:194)
  | at 
org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:275)
  | at org.mozilla.javascript.gen.c25.call(Case-Related Event Rules:30)
  | at org.mozilla.javascript.gen.c25.exec(Case-Related Event Rules)
  | at com.tlc.re.Rule.execute(Rule.java:80)
  | at com.tlc.re.RuleSet.execute(RuleSet.java:109)
  | at com.tlc.re.RuleEngine.execute(RuleEngine.java:301)
  | at com.tlc.re.RuleEngine.exec(RuleEngine.java:339)
  | at com.tlc.re.RuleEngine.exec(RuleEngine.java:325)
  | at com.tlc.event.EventManager.onMessage(EventManager.java:111)
  | 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.invocation.Invocation.performCall(Invocation.java:359)
  | at 
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
  | at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
  | at 
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
  | at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
  | at 

[jboss-user] [JBoss Portal] - Re: Problem with HelloWorld IPC sample

2006-12-04 Thread sirishy
Thanks a lot.

regards,
sirishy

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - What exactly is JAWS?

2006-12-04 Thread jan.zitniak
Hello,

I'm sure that my question is little bit stupid, but I was already searching in 
JBoss forum and Google and I didn't find some full-value information about 
JAWS. Can somebody tell me more about that? Or please give me a some link, 
explanation, etc. Thank you.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread jaikiran
Is your queue secured? Which API are you using on the QueueConnectionFactory to 
create a queue session, is it the one which accepts the user name and password? 
Can you post the code where you are doing this?

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
Below is the java file AlarmAction.java

i have also added the 

public class AlarmAction implements Action {
  | private static final String JMS_ALARM_CFG = AlarmMgrRecvQueue.xml;
  | private static Category logger = 
Category.getInstance(AlarmAction.class.getName());
  | private static Sender eventSender;
  | private static boolean initialized = false;
  | 
  | private HashMap map = null;
  | 
  | public AlarmAction(String cid) {
  | map = new HashMap();
  | map.put(CID, cid);
  | if (!initialized) {
  | try {
  | init();
  | initialized = true;
  | }
  | catch (Exception e) {
  | // ignore - it'll be detected later in act()
  | logger.error(Utility.getStackTrace(e));
  | }
  | }
  | }
  | 
  | public void setExpiration(Date d) {
  | map.put(TIMESTAMP, d);
  | }
  | 
  | public void setUserId(String uid) {
  | map.put(USERID, uid);
  | }
  | 
  | public void setEventObject(Object o) {
  | String key = EventObject;
  | if (o instanceof WFWorkItem) {
  | WFWorkItem wfwi = (WFWorkItem)o;
  | String id = (new Long(wfwi.getId())).toString();
  | WFWorkItemRef wfwir = new WFWorkItemRef(id);
  | map.put(key, wfwir);
  | } 
  | else {
  | map.put(key, o);
  | }
  | }
  | 
  | public void addProperty(String key, Object value) {
  | if (key != null)
  | map.put(key, value);
  | }
  | 
  | private synchronized void init() throws Exception {
  | logger.debug(In init()...);
  | Properties globalProps = Utility.getTLProps(true);
  | String tl_dom = globalProps.getProperty(tl_domain);
  | eventSender = new Sender();
  | if (eventSender.init(tl_dom + / + JMS_ALARM_CFG) == false)
  | throw new TLException(Could not initialize Sender for:  + 
JMS_ALARM_CFG);
  | eventSender.start();
  | }
  | 
  | /**
  |  * 
  |  *  This evaluates every value in the stored HashMap, creates an 
ObjectMessage of type MSG_ADD_ALARM,
  |  * and passes it to the AlarmMnager's queue.
  |  *
  |  */
  | public void act() throws REException {
  | try {
  | if (!initialized)
  | throw new REException(Not initialized.);
  | 
  | if (map.get(TIMESTAMP) == null || map.get(EventObject) == 
null)
  | throw new REException(Properties not set properly);
  | 
  | ObjectMessage omsg = null;
  | 
  | synchronized (eventSender) {
  | omsg = eventSender.getObjectMessage();
  | omsg.setStringProperty(AlarmManager.MSGTYPE, 
AlarmManager.MSG_ADD_ALARM);
  | omsg.setObject(map);
  | eventSender.sendObjectMessage(omsg);
  | }
  | } 
  | catch (Exception e) {
  | logger.error(Utility.getStackTrace(e));
  | throw new REException(e.getMessage());
  | }
  | }   
  | }
  | 


below is the AlarmMgrRecvQueue.xml which is used in the above java file

!DOCTYPE JMSConfig SYSTEM JMSConfig.dtd
  | 
  | JMSConfig
  | Destination 
  | destType=queue
  | providerURL=jnp://localhost:3099
  | connFactoryJNDIName=java:AlarmMgrConnectionFactory
  | destJNDIName=queue/AlarmMgrRecvQueue
  | timeToLive=100
  | receiveTimeout=1000
  | 
  | /
  | /JMSConfig

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
This code is working fine on weblogic , we migrated from weblogic to jboss 

I think this  queue is secured



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

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


[jboss-user] [JBoss/Spring Integration] - Re: NoSuchMethodError when trying to deploy sample ear

2006-12-04 Thread sneha.munnangi
Hi Ales,

I upgraded my spring from spring-1.2.7 to spring-2.0 and I am using the jboss 
spring deployer jboss-spring-version4, still I am getting the same error.
I have my spring.jar in server/default/lib
Besides my jboss-spring.deployer contains following items.

spring-aop.jar
spring-beans.jar
spring-context.jar
jboss-spring.jar
spring-core.jar
META-INF/jboss-service.xml.
The error which I am getting is



  | ERROR [MainDeployer] Could not create deployment: 
file:/usr/local/jboss/server/default/deploy/jboss-spring.xml
  | INFO   | jvm 1| 2006/12/03 05:06:58 | 
org.jboss.deployment.DeploymentException: Unexpected exception parsing XML 
document from URL [file:/usr/local/jboss/server/
  | fault/tmp/deploy/tmp31505jboss-spring.xml]; nested exception is 
java.lang.NoSuchMethodError: 
org.jboss.spring.factory.NamedXmlBeanDefinitionReader: method createRead
  | 
Context(Lorg/springframework/core/io/Resource;)Lorg/springframework/beans/factory/support/ReaderContext;
 not found; - nested throwable: (org.springframework.beans.fa
  | ory.BeanDefinitionStoreException: Unexpected exception parsing XML document 
from URL 
[file:/usr/local/jboss/server/default/tmp/deploy/tmp31505jboss-spring.xml]; nest
  |  exception is java.lang.NoSuchMethodError: 
org.jboss.spring.factory.NamedXmlBeanDefinitionReader: method 
createReaderContext(Lorg/springframework/core/io/Resource;)L
  | g/springframework/beans/factory/support/ReaderContext; not found)
  | 
Please suggest.I have been struck at it from quite a long time.
Is this some problem with the order of deployment?

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

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


[jboss-user] [EJB/JBoss] - Re: FATAL [org.jboss.serial.persister.RegularObjectPersister

2006-12-04 Thread murtuza52
I am sure there are many more who are having performance issues. Can anyone 
spare some time to look into the problem.

Thanks


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

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


[jboss-user] [JBoss jBPM] - Re: Jbpm-BPEL on tomcat

2006-12-04 Thread kukeltje
jbpm bpel needs jms, tomcat does not have this out of the box. Not sure if you 
can add a separate jms module in tomcat and then deploy jbpm bpel. My gut 
feeling is to not try this and use JBoss AS or an alternative full blown 
appserver.

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

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


[jboss-user] [JBoss Portal] - AJAX Integration with a Struts portlet application

2006-12-04 Thread jontydun
 Hi ,

  I'm working on a portlet application where i'm using ajax also and is 

  based on struts.

  The problem is that when i map a jsp page through the forward struts tag.

  It tries to render the complete JBoss web page inside that single portlet as 

  ajax is being used for performing action.

  Conclusion : I think i need to display using empty renderer and only 

  the target portlet is renderd using it.

 For the same i came across to a forum where he has written his own 

 portlet class and then handled ajax implementation.

  Link:http://jboss.org/index.html?module=bbop=viewtopict=90764view=previous

 So do i also need to implement all the classes on my own inheriting from 
 
 the classes in package org.apache.portals.bridges.struts or there is some 

 direct way to implement ajax with struts-portlet application.

 Thanks.  

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
Any updated please

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

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


[jboss-user] [JBoss Seam] - Re: Oracle ADF

2006-12-04 Thread lowecg2004
Gavin,

Yes a good advert for don't drink and drive ;)  Apology accepted.

As stated in my post, it was only speculation and I was clearly wrong.  While 
my assumption now appears rather naive (and, yes, I feel suitably embarrassed) 
please appreciate that many us on the forum are not yet well versed in the 
subtleties of AOP and classloading. In my class cast example I was able to bind 
to a regular managed bean but not via a Seam binding because Seam used a 
different classloading mechanism to get the underlying class. Surely this IS 
quite subtle from a regular Seam programmers pov?  Is this something that could 
be cleared up in the Seam reference, say introduce a section from a Seam and 
the JEE environment interaction perspective?

I would have taken the time to acquaint myself with the subtleties of JEE 
classloading but having read that documentation you'll know that stuff is not 
exactly 'light' reading hence my polite request for direction to the required 
material.  RTFM is often a fair response but when the 'M' is something as big 
and vague as the JEE spec then some direction would be appreciated.

I agree with you that preprender does not work under Seam.  I personally DO NOT 
want to be dealing with the raw JSF component instances.  But let's face it, 
there will be a lot of people migrating to Seam from JSC who are used to having 
exactly that sort of experience of JSF programming.  I only got onto to this 
because of the way in which the  Trinidad built-in table selections work.  
Again, maybe something in the Seam reference could 'educate' people who may be 
used to other JSF programming models?

Anyway please accept my apologies if I upset you.  I really appreciate the help 
you are giving myself and others on this forum. I will refrain from speculation 
from now on and I will now go away to read up on classloading and try to 
understand what's going on.

Best Regards,

Chris.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread jaikiran
!DOCTYPE JMSConfig SYSTEM JMSConfig.dtd
  | 
  | JMSConfig
  | Destination 
  | destType=queue
  | providerURL=jnp://localhost:3099
  | connFactoryJNDIName=java:AlarmMgrConnectionFactory
  | destJNDIName=queue/AlarmMgrRecvQueue
  | timeToLive=100
  | receiveTimeout=1000
  | 
  | /
  | /JMSConfig

Pardon my ignorance, but i havent seen such a JMSConfig file before in JBoss.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
i checked the queue and the queue is secured

can you tell me about creating jmstemplate in jboss

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
but i have an other xml file in the same format for Topic and it works fine

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

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


[jboss-user] [JBoss Portal] - IPC using AJAX

2006-12-04 Thread sirishy
I'm using Jboss Portal 2.4 bundled version.

Currently I've implemented IPC scenario without Ajax as follows:
I made the image as a link and onclick of the image in portlet A, I'm sending 
the imageName as hidden parameter using javascript to the portletA.java.  
In this java file, in processAction() method, I'm getting the imageName and 
setting it in the portlet session (APPLICATION_SCOPE).

In portletB.java, in doView() method I'm getting the imageName from the 
APPLICATION_SCOPE. Depending on this value (i.e., if imageName != null)I'm 
displaying a HTML page in portlet B. 

I have both the portlets in the same war file.

portlet A and portlet B are visible on the page for the first time.
It reloads the entire page onclick of the image in portlet A, thus influencing 
the portlet B.


I want the scenario to be as follows:
Only portlet A should be visible for the first time.
Onclick of the image in portlet A, on the fly portlet B should come up without 
reloading the entire page.

thanks,
sirishy

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

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


[jboss-user] [JBossWS] - problems in deploying jbossws-1.0.4 with jboss-4.0.5.GA

2006-12-04 Thread MmarcoM
HI ALL,
 i have just installed jboss-4.0.5.GA (was coming wth jbossws-1.0.3)...
deployed my app (J2EE-1.4 WS), everything is fine

i have then upgraded to jbossws-1.0.4 (replacing proper files)..and when i 
restart the server i got following exception


  | 2006-12-04 11:09:50,359 ERROR [org.jboss.deployment.MainDeployer] Could not 
create deployment: 
file:/D:/Sw/jboss-4.0.5.GA/server/default/tmp/deploy/tmp16811ngenMiddlewareEAR-1.0-SNAPSHOT.ear-contents/ngenMiddleware-1.0-SNAPSHOT.jar
  | java.lang.NullPointerException
  | at 
org.jboss.ws.integration.jboss.DeployerInterceptor.getServiceEndpointDeployer(DeployerInterceptor.java:142)
  | at 
org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
  | at 
org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
  | 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 $Proxy27.create(Unknown Source)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.GeneratedMethodAccessor13.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.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 $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 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.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 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.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 

[jboss-user] [JBoss jBPM] - Installing jBPM 3.2

2006-12-04 Thread NiB
Hi,

I am trying to install JBPM 3.2 on Jboss 4.0.4 GA. All seems to work fine and I 
can access http://localhost:8080/jbpm-console. Unfortenately I can't login. How 
do I configure security to run jbpm-console? I figured out how do  give the 
right security domain, but I don't know how to configure it for jbpm.

anonymous wrote : 
  | type Status report
  | 
  | message /jbpm-console/j_security_check
  | 
  | description The requested resource (/jbpm-console/j_security_check) is not 
available.
  | 

Can anyone give me the right link? ;-) Thank you!

Greetz
NiB

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
any updates.



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

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


[jboss-user] [JBoss AOP] - Re: Bug in SuperClassesFirstWeavingStrategy?

2006-12-04 Thread stalep
hm, its quite possible that we have several concurrent issues with the 
generated advisors instrumentation that uses SuperClassesFirstWeavingStrategy.
you can easily tell jboss aop to use a different instrumentor (its only from 
jboss aop 2.0 that generated advisors are default instrumentor).
add this property to either aopc or as a systemproperty when you run the 
program:

  | jboss.aop.instrumentor = org.jboss.aop.instrument.ClassicInstrumentor
  | 
then you will get the old instrumentor, please let us know if you still have 
the problem with this instrumentor.
to get more verbose output (and which instrumenter thats used) set this 
property to true: jboss.aop.verbose
- and yes, jboss aop will load all classes into its instrumentor to check if 
the class match any of the pointcuts/aspects/etc. if it doesnt match anything 
it doesnt do anything, but it will check all classes.
thanks for the info and good work btw, these kinds of bugs isnt very easy to 
reproduce in a test so real world apps and feedback are very appreciated.

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

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


[jboss-user] [JBoss jBPM] - Re: Installing jBPM 3.2

2006-12-04 Thread kukeltje
see the source. There are jboss config items in there that help you configure 
the correct security in jboss as

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Error while starting the Jboss Application Server.

2006-12-04 Thread manjunath_n156
Hi, 
I am getting the same error and i am trying to enable clustering to my jboss 
AS. Can any one tell me how can i overcome this error?

Regards
Manjunath

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

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


[jboss-user] [JBoss Getting Started Documentation] - enable clustering in jboss AS

2006-12-04 Thread manjunath_n156
Hi, 
I am trying to enable clustering to my Jboss AS. Can any one tell me how i can 
I do that..and where can i get good documentation for this..

Thanxs
Manjunath

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

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


[jboss-user] [EJB 3.0] - SocketException converted into UndeclaredThrowableException

2006-12-04 Thread metelka
Hi,
I have a problem with exception reporting in EJB3 remote calls. My remote 
client has 20s timeout on remote calls and the timeout works fine, however the 
timeout exception is converted into UndeclaredThrowableException by jboss 
remoting/ejb3 invocation interceptors. I would expect to receive some kind of 
communication exception or remoting exception, which I could handle in my 
client code. Any ideas?
Thanks

SW versions: JBoss 4.0.4GA, EJB3 RC9, JBoss Remoting 1.4.4.

My stacktrace:
anonymous wrote : 
  | 2006-11-30 17:01:37,334 FATAL 
[cz.tipsport.pluginsys.gui.ApplicationUncaughtExceptionHandler] 
(AWT-EventQueue-0:) Unchecked exception thrown!
  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy44.findAddressees(Unknown Source)
  | at 
cz.tipsport.tip.dms.gui.addressee.gui.AddresseeSelectorPanelCtl.(AddresseeSelectorPanelCtl.java:156)
  | 
  | ... not important ...
  | 
  | Caused by: java.rmi.MarshalException: Socket timed out. Waited 2 
milliseconds for response while calling on InvokerLocator 
[socket://172.16.19.42:3673/?timeout=2]; nested exception is:
  | java.net.SocketTimeoutException: Read timed out
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:302)
  | at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
  | at org.jboss.remoting.Client.invoke(Client.java:525)
  | at org.jboss.remoting.Client.invoke(Client.java:488)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
  | ... 114 more
  | Caused by: java.net.SocketTimeoutException: Read timed out
  | at java.net.SocketInputStream.socketRead0(Native Method)
  | at java.net.SocketInputStream.read(SocketInputStream.java:129)
  | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
  | at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
  | at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200)
  | at 
java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2490)
  | at 
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2500)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1267)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
  | at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
  | ... 126 more
  | 

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

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


[jboss-user] [EJB/JBoss] - Almost identical session beans, one works one fails

2006-12-04 Thread Melladh
The failing one is looked up like this, and I get a not bound exception when 
activating the servlet it's called from.

Context context = new InitialContext();
  | Object listRef = 
context.lookup(java:comp/env/ejb/ListApplicants);
  | 

The working one is looked up the same way, except that it's called Applicant 
instead of ListApplicants. All the configurations look the same.

Home interface
package ejb;
  | 
  | /**
  |  * Home interface for ListApplicants.
  |  */
  | public interface ListApplicantsHome
  |extends javax.ejb.EJBHome
  | {
  |public static final String COMP_NAME=java:comp/env/ejb/ListApplicants;
  |public static final String JNDI_NAME=ejb/ListApplicants;
  | 
  |public ejb.ListApplicants create(java.lang.String param)
  |   throws javax.ejb.CreateException,java.rmi.RemoteException;
  | 
  | }
  | 

jboss.xml
  session
  |  ejb-nameListApplicants/ejb-name
  |  jndi-nameejb/ListApplicants/jndi-name
  |  local-jndi-nameListApplicantsLocal/local-jndi-name
  |   /session   

ejb-jar.xml
  session 
  |  description![CDATA[Description for 
ListApplicants]]/description
  |  display-nameName for ListApplicants/display-name
  | 
  |  ejb-nameListApplicants/ejb-name
  | 
  |  homeejb.ListApplicantsHome/home
  |  remoteejb.ListApplicants/remote
  |  ejb-classejb.ListApplicantsBean/ejb-class
  |   
  |  session-typeStateful/session-type
  |  transaction-typeContainer/transaction-type
  | 
  |   /session

This looks exactly the same for my ApplicantBean, with the names changed 
accordingly, and that one works! This one doesn't. Anyone have a clue about 
what's wrong?

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

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


[jboss-user] [JBoss AOP] - Re: inheritance of aspects

2006-12-04 Thread stalep
hi, i guess this question should be answered by kabir. atm he is on vacation, 
but he will answer you when he's back.
in the meantime i guess you have to add @Aspect on all subclasses (i dont know 
how many classes you got, but hopefully its not too big of a job :)

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

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


[jboss-user] [EJB 3.0] - Re: Unable to access tutorial example code

2006-12-04 Thread wolfc
The source has been moved to svn. You can access the svn repository here: 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/.

The unit test the turorial refers to is here: 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/ejb3/src/test/org/jboss/ejb3/test/consumer/.

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

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


[jboss-user] [JBoss Seam] - Seam UML diagrams

2006-12-04 Thread safyra
Hi! 
I'm developing a project for the university with Seam and i'm a little lost 
with uml diagrams. Somebody could send me some examples or told me where i can 
find some sequence diagrams or class diagrams, i have not found any.
Sorry for my english.
Thanks!

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

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


[jboss-user] [JBoss AOP] - Re: Can't read parameter annotations through reflection

2006-12-04 Thread stalep
hm, even though i havent tested it myself but i thought it should work. the 
code you are calling is CtMethod/CtBehavior which is javassist, but thats not 
your problem :)
have you tested .getAvailableParameterAnnotations() too?
if that doesnt work either, could i bother you to make a small test to 
reproduce it (even though your example was nice a working test makes it much 
easier for me :)

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
Hi

Actual error is from 

public QueueSession createQueueSession(boolean transacted,  
  | int acknowledgeMode) throws 
JMSException {
  | 
  | cat.debug(Entering createQueueSession()...);
  | try {
  | QueueConnection qcon = (QueueConnection) conn;
  | cat.debug(Exiting createQueueSession()...);
  | return qcon.createQueueSession(transacted, 
acknowledgeMode);
  | } catch (ClassCastException e) {
  | cat.debug(e.toString());
  | throw new JMSException(Invalid Connection object);
  | }
  | }

return qcon.createQueueSession(transacted, acknowledgeMode); line generates 
exception



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

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


[jboss-user] [EJB/JBoss] - Re: Almost identical session beans, one works one fails

2006-12-04 Thread Melladh
if I look up the jndi-name ejb/ListApplicants it works, but I'm wondering why 
one works with the COMP name and the other one doesn't

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

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


[jboss-user] [Management, JMX/JBoss] - using TargetModuleID

2006-12-04 Thread AlexGout
Hi,

Im posting this on this forum, because it's the best I could find. I want to 
get some Runtime information about the application server instance (it's name) 
my ear is deployed in. I concluded form the J2EE space that the  TargetModuleID 
and Target interface are what I need.

But I can't find how Im supposed to use them. I saw one example but I didnt get 
that one ;),
Anyone know where I can get the information from?

Does anyone know?

Regards,
Alex

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

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


[jboss-user] [JBossWS] - Re: problems in deploying jbossws-1.0.4 with jboss-4.0.5.GA

2006-12-04 Thread MmarcoM
Fixed.
solution is here
http://www.jboss.com/index.html?module=bbop=viewtopict=95374


again, apologize fornot being proactive enough..(unfortunatley my leisure time 
for jboss is very limited and if i dont find solution within 30 min from 
problem i ask list)

regards
 marco

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ Fails under load - Exiting on IOE

2006-12-04 Thread alchemista
I'm still having the same problem.  If there is an ERROR in the log, I would 
not ignore it, if it's just a DEBUG or INFO maybe.  My connection will hard-die 
(i.e. never come back to life) after this error occurs too often.

On the server-side, the server.log throws the following error around the time 
the client gives the error posted earlier.

2006-11-30 16:31:34,159 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpected
Error in method: public abstract void 
javax.jms.MessageListener.onMessage(javax.jms.Message)
java.lang.OutOfMemoryError: Java heap space
2006-11-30 16:31:34,160 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Exception in JMSCI message listener
javax.ejb.EJBException: Unexpected Error
java.lang.OutOfMemoryError: Java heap space
at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:395)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
at org.jboss.ejb.Container.invoke(Container.java:873)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1090)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
at org.jboss.mq.SpySession.run(SpySession.java:333)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)

2006-11-30 16:33:32,663 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
2006-11-30 16:33:32,663 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
2006-11-30 16:33:32,663 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
2006-11-30 16:33:32,663 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2006-11-30 16:33:32,667 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler]
Setting up the UILClientIL Connection
2006-11-30 16:33:32,667 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler]
The UILClientIL Connection is set up
2006-11-30 16:34:59,549 ERROR [org.jboss.mq.il.uil2.SocketManager] Failed to 
handle: org.jboss.mq.il.uil2.msgs.AddMsg20684031[msgType: m_addMessage, msgID: 
-2147473491, error: null]
java.lang.OutOfMemoryError: Java heap space

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

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


[jboss-user] [EJB 3.0] - Re: @PrePersist @PreUpdate within @AroundInvoke results in c

2006-12-04 Thread gnulp
but that means that you have NO chance to intercept a business-logic call from 
a client who is doing an update on an entity that has cascading enabled !!!

Assume 2 entities e.g. person [1:n] address. You have got a business-method 
that can be called with person as an attribute only, and the client changed a 
referenced address-object (remember cascade all is enabled !). So we get a 
call-back in the pre-update-Method of the address, but we will never know that 
in the interceptor of the business-logic call, due to the late update-callback 
(unfortunaltelly we can not use an entityManager in listener-callbacks, but we 
have also no chance doing this in an interceptor !!!)

In other words I would have to check weather any address-object has changed 
myself although I am using ejb3 that is doing these things anyhow !  So why am 
I using ejb3, if I have to reinvent the wheel ?

Thx for any feedback







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

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


[jboss-user] [JBoss Portal] - unable to deploy jboss portal (build created from open sourc

2006-12-04 Thread anjana
I have created the jboss-portal.sar from open source jboss portal  version 2.4. 
when i try to deploy onn jboss 4.04.GA if fails with following exception 

2006-12-04 16:26:34,055 DEBUG 
[org.jboss.portal.portlet.container.PortletContainer] Loading portlet class 
org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,055 DEBUG 
[org.jboss.portal.portlet.container.PortletContainer] Creating portlet object 
org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,070 DEBUG 
[org.jboss.portal.portlet.container.PortletContainer] Created portlet object 
org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,070 DEBUG 
[org.jboss.portal.portlet.container.PortletContainer] Initialized portlet 
object org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,070 DEBUG 
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Looking for the 
WEB-INF path of samples
2006-12-04 16:26:34,084 ERROR 
[org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Error when 
creating instances
org.hibernate.HibernateException: Unable to locate current JTA transaction

i have create the portal-mysql-ds.xml with following entries

?xml version=1.0 encoding=UTF-8?

  local-tx-datasource
jndi-namePortalDS/jndi-name

connection-urljdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=falseamp;jdbcCompliantTruncation=false/connection-url
driver-classorg.gjt.mm.mysql.Driver/driver-class
user-nameportal/user-name
portalpassword
  /local-tx-datasource


the above file is copied into Jboss folder
\server\default\deploy

can anyone pls guide what is missiing in my environment



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

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


[jboss-user] [JBossCache] - Problem with JBoss JDBCCacheLoader

2006-12-04 Thread archanaa_panda
Hello, 

We are using JBoss Cache 1.3 for our project which is under development. 
Recently while doing some performance testing we found a problem with the JDBC 
Cache Loader (we are using an Oracle database as the backing store for our 
JBoss Cache). When we run with multiple threads or sometimes even one thread, 
we get the following exception:

java.lang.RuntimeException: java.lang.IllegalStateException: Failed to insert 
node: ORA-1: unique constraint (FASTDEV.JBOSSCACHE_PK) violated  at 
org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4810)
 at org.jboss.cache.TreeCache.put(TreeCache.java:3242)
 at 
com.sisl.ashleycomm.cache.CacheTimeoutManager.putCacheable(CacheTimeoutManager.java:452)
 at 
com.sisl.ashleycomm.cache.push.command.MobilePushCacheTimeoutManager.putCacheable(MobilePushCacheTimeoutManager.java:168)
 at 
com.sisl.ashleycomm.cache.DefaultCacheableVersionProxy.processEvent(DefaultCacheableVersionProxy.java:134)
 at 
com.sisl.ashleycomm.cache.push.command.MobilePushCacheTimeoutManager.getMobilePushCommandsForGprsSend


Caused by: java.lang.IllegalStateException: Failed to insert node: ORA-1: 
unique constraint (FASTDEV.JBOSSCACHE_PK) violated 
 at org.jboss.cache.loader.JDBCCacheLoader.insertNode(JDBCCacheLoader.java:982)
 at org.jboss.cache.loader.JDBCCacheLoader.put(JDBCCacheLoader.java:325)
 at 
org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:202)
 at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67)
 at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:187)
 at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67)
 at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
 at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67)
 at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:32)
 at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67)
 at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:328)
 at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:139)
 at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:67)
 at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:153)
 at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4804)


Actually the scenario is like this:
A thread gets a node on the cache and then does some modification on the node 
and tries to put it back on the cache.
There may be multiple threads accessing the same node.

Looking at the source code of JBoss Cache 1.3, I find that when put() is called 
on JDBCCacheLoader, loadNode() method is called. Apparantly this is returning 
null so the insertNode() is being called. But then when it tries to do the 
insertNode, it gets the PK violated error which indicates the row was existing 
in the database already!!!

What are the precautions we need to take to avoid this problem? Is our setting 
wrong? 

A quick reply would be very much appreciated. Please let me know if there are 
more details required for diagnosing the problem

Thanks and Regards,
Archanaa Panda

Following are the details of our cache config xml file-

attribute 
name=TransactionManagerLookupClassorg.jboss.cache.DummyTransactionManagerLookup/attribute
  |  attribute name=IsolationLevelREAD_COMMITTED/attribute
  | attribute name=CacheModeREPL_SYNC/attribute
  | 
  | 
  | attribute name=CacheLoaderConfiguration
  | config
  | passivationfalse/passivation
  | preload//preload
  | sharedtrue/shared
  | cacheloader
  | 
classorg.jboss.cache.loader.JDBCCacheLoader/class
  | properties
  | cache.jdbc.table.name=jbosscache
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=false
  | 
cache.jdbc.table.primarykey=jbosscache_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=blob
  | cache.jdbc.parent.column=parent
  | 
cache.jdbc.driver=oracle.jdbc.driver.OracleDriver
  | 
cache.jdbc.url=jdbc:oracle:thin:@132.186.106.26:1541:ACRMDEV
  | cache.jdbc.user=FASTDEV
  | cache.jdbc.password=fastdev123$
  | /properties
  | asyncfalse/async
  | 
fetchPersistentStatetrue/fetchPersistentState
  | 

[jboss-user] [JCA/JBoss] - Re: Problem with writing JCA adapter

2006-12-04 Thread LGSW_Sam
Hi Weston!
It seem that this problem was caused because FTP server had already cut the 
connection and throwed exception when disconnecting failed... I changed my 
disconnect method so it doesn't throw exception just catceh it and writes it to 
log.

Thanks for your help!

Br,
Sami Männistö



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

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

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


[jboss-user] [JNDI/Naming/Network] - Re: After 7 minutes of startup - SocketException connection

2006-12-04 Thread alchemista
What does your server.log report on the JMS server?

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

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


[jboss-user] [JBoss/Spring Integration] - Re: myApp.spring deploting

2006-12-04 Thread alesj
Hmmm ... post the mbean description with this dependency.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: NoSuchMethodError when trying to deploy sample ear

2006-12-04 Thread alesj
Follow some simple info from the blog:
 - http://jboss.org/jbossBlog/blog/alesj/

If you have a full spring.jar in server/default/lib, you don't need any other 
Spring libs in the jboss-spring.deployer (only deployer's jboss-spring.jar).

I see you are using java1.4 Spring deployer, rigth?

I only fixed the java5 SpringDeployer jar, but if you need the old compatible, 
let me know.

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

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


[jboss-user] [JBoss Portal] - Navigation tabs in portlet

2006-12-04 Thread sirishy
Hi 

I'm able to create Catalog Instances as shown in Pages Portlet Window of the 
default jboss portal page.
Also I'm able to create Navigation Tabs for several pages as is the case with 
Admin,Test,default pages of jboss portal home page.

But what I need is whether I can have navigation tabs for a portlet window in 
jboss-portal 2.4 version? For example when you click on MyComputer--Properties 
on your Windows XP desktop, you'll see the System Properties window having 
several tabs. In the similar fashion I want to implement it using portlets. Is 
it possible or am I thinking in wrong way?

Please help me out 


thanks,
sirishy

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

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


[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread dgallego
OK, if i move the tomahawk.taglib.xml to tomahawk.jar!META-INF , it works, but 
with my tags this doesn't work :( any idea?

My my.jar!META-INF content:
taglib.tld (tags for MyFaces without facelets, for example).
faces-config.xml (the JSF components).
nt.taglib.xml (the link between the component-type and the component-class, the 
facelets)

Thanks for your help petemuir

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Error during queue setup

2006-12-04 Thread chaituu

  |   mbean code=org.jboss.jms.server.destination.Queue
  |   name=jboss.messaging.destination:service=Queue,name=empQueue
  |   xmbean-dd=xmdesc/Queue-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   attribute name=SecurityConfig
  |  security
  | role name=guest read=true write=true/
  | role name=publisher read=true write=true create=false/
  | role name=noacc read=false write=false create=false/
  |  /security
  |   /attribute
  |/mbean
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread petemuir
You should see log messages when you access your first facelets page

13:20:37,850 ERROR [STDERR] 04-Dec-2006 13:20:37 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/Z:/jboss/jboss-4.0.5.GA/server/default/./deploy/spm-seam.ear/spm-seam.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml

for all the tag libraries facelets can load (for the entire app).  If your 
nt.taglibrary.xml isn't mentioned please post your war structure.

If it is then you've probably got a namespace typo between nt.taglib.xml and 
your facelet.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JEMS Installer 1.2.0.CR1: Errors when starting JBoss

2006-12-04 Thread gregsting
Same here, as it is classified as info, I don't think it really matters

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JEMS Installer 1.2.0.CR1: Errors when starting JBoss

2006-12-04 Thread gregsting
gregsting wrote : Same here, as it is classified as info, I don't think it 
really matters
Sorry I was browsing Google cache.. did not see the replies

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Error during queue setup

2006-12-04 Thread Byorn
looks like Jboss cant locate the JMS provider. Are you using the default HSQLD 
configs or any other database?


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Error during queue setup

2006-12-04 Thread chaituu
i am using Oracle as DB

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError

2006-12-04 Thread alchemista
I use my JMS client as an appender for log4j.  In log4j, since append is called 
very frequently, it's not recommended to close the sender/session/connection 
each time.

Apache's log4j JMS Appender does not close the publisher/session/connection 
with each log send.  The doAppend method is synchronized luckily :)

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss IDE 2.0.0Beta2 problems starting JBoss-4.0.5.GA

2006-12-04 Thread alexg79
I have never encountered this problem with any version of JBoss, including 
4.0.5GA. If you start the server manually (and not from Eclipse), will it still 
give you the same error? Have you tried installing it on different machines?

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: enable clustering in jboss AS

2006-12-04 Thread visolvejboss
Hello,

Enabling clustering is very simple, as it only involves running the JBoss AS in 
the all configuration mode. To the new comer of JBoss clustering, 
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA is one of the bast places to 
start.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ExternalContext Classload error

2006-12-04 Thread xbrenuchon
It's not javax.naming.IntialContext but javax.naming.InitialContext



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

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


[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException when connecting

2006-12-04 Thread tobinibot
Steven, I don't know about sklerche, but I am using 1.5.

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

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


[jboss-user] [JBoss jBPM] - Re: Never ending processes

2006-12-04 Thread cpob
I think it is honestly how *you* want it to work.

Both scenarios you mention (never-ending or ending to be later restarted) are 
easily supported, and just depends with what code you want to put in place in 
front of jBPM.

Even if you support your 2nd scenario, anyone designing a flow could always put 
endless loops into it.

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

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


[jboss-user] [EJB/JBoss] - Re: Almost identical session beans, one works one fails

2006-12-04 Thread jaikiran
Post the entire contents of the ejb-jar.xml, jboss.xml and jboss-web.xml(if you 
have that). I guess for Applicant bean there is a ejb-ref that has been 
mentioned in one of those files because of which the lookup is successful using 
a COMP_NAME in case of Applicant.

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

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


[jboss-user] [JCA/JBoss] - [JBoss + M$ SQLServer 2005 driver] XA Datasource definition

2006-12-04 Thread bulledesavon
Hi,

I'm trying to define a XA DataSource on JBoss 4.0.3SP1 (same problem with 
4.0.4GA) using the Microsoft SQLServer 2005 driver version 1.1.

Here is the content of my datasource-ds.xml file : 
?xml version=1.0 encoding=UTF-8?


  xa-datasource
  jndi-namejdbc/mydatasource/jndi-name
  track-connection-by-txTrue/track-connection-by-tx
  connection-urljdbc:inetdae7/connection-url
  
xa-datasource-classcom.microsoft.sqlserver.jdbc.SQLServerXADataSource/xa-datasource-class

  xa-datasource-property name=DatabaseNamemyDB/xa-datasource-property
  xa-datasource-property 
name=ServerNamemyServer/xa-datasource-property
  xa-datasource-property name=Port1433/xa-datasource-property
  xa-datasource-property 
name=ApplicationNamemyAppName/xa-datasource-property
  xa-datasource-property 
name=SelectMethodcursor/xa-datasource-property
  xa-datasource-property 
name=SendStringParametersAsUnicodetrue/xa-datasource-property

  user-namemyUser/user-name
  
  min-pool-size1/min-pool-size
  max-pool-size5/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



Pay attention to the port number property line.

When the DataSource is created, I get the following exception : 

2006-11-30 10:11:45,667 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Could not find 
accessor on XADataSource: ; - nested throwable: 
(java.lang.NoSuchMethodException: 
com.microsoft.sqlserver.jdbc.SQLServerXADataSource.setPort(java.lang.String)))
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:153)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:208)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:529)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:410)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:342)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:462)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)


It is showed in the log file as a Warning, but the DataSource is not useable at 
all.
It seems that JBoss can't find out that the parameter of the setPort method is 
an int and not a String...

If I comment out the port property line, everything is fine.


Any hint?
Is this JBoss related or driver related?

Thanks,

BdS


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

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


[jboss-user] [Beginners Corner] - Error with JBoss 5, Web module and java:comp/UserTransaction

2006-12-04 Thread xbrenuchon
Hello,
I'm in my web module (in a Servlet), and i want to have the UserTransaction :

UserTransaction utx = 
(UserTransaction)context.lookup(java:comp/UserTransaction);

With JBoss 4, it's work very well, but with the new JBoss 5 b1, I have a 
exception.

JBoss 5 don't support java:comp/UserTransaction in web module ?

javax.naming.NameNotFoundException: UserTransaction not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:628)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:719)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at fr.unedic.test.web.TestServlet.runUsrTransaction(TestServlet.java:73)
at fr.unedic.test.web.TestServlet.doGet(TestServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Error while starting the Jboss Application Server.

2006-12-04 Thread KirCuv
I'm having the same problem.
In my configuration, I'm using JGroups in addition to standard JBoss clustering.

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

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


[jboss-user] [JBoss Seam] - Re: ICEfaces

2006-12-04 Thread evdelst
Hi, 
I also posted this on the icefaces.org forum, but maybe someone watching this 
thread can help.

I have been struggling for a couple of days to get the auto-complete 
functionality working with Seam.
However, the popup with possible values never appears. 
If I look (with Ctrl+shift+T), I see the possible values in the response within 
div tags. 

Am I trying something that wil not work with the current version? (Please let 
me know, so I can stop trying)

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

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


[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread dgallego
This is the structure of the jar under my /WEB-INF/lib/:

META-INF:
 - faces-config.xml
 - nt.taglib.xml
 - taglib.tld
and the packets structure containing my tags and JSF components.

My tags work only if I specify facelets.LIBRARIES option under web.xml.

faces-config.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE faces-config PUBLIC   -//Sun Microsystems, Inc.//DTD 
JavaServer Faces Config 1.0//EN
  | 
http://java.sun.com/dtd/web-facesconfig_1_0.dtd;
  | faces-config
  | 
  | component
  | component-typecomponent.Version/component-type
  | component-classcomponent.Version/component-class
  | /component
  | /faces-config
  | 

nt.taglib.xml:

  | ?xml version=1.0?
  | !DOCTYPE facelet-taglib PUBLIC
  |-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN
  |facelet-taglib_1_0.dtd
  |
  | facelet-taglib
  | 
  | namespacehttp://www.ntrying.com/namespace
  | 
  | tag
  | tag-nameversion/tag-name
  | component
  | component-typecomponent.Version/component-type
  | /component
  | /tag
  | 
  | 
  | /facelet-taglib
  | 

taglib.tld:

  | ?xml version=1.0?
  | !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 
1.2//EN
  |  http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd;
  | taglib
  | 
  | tlib-version1.0/tlib-version
  | jsp-version1.2/jsp-version
  | short-nament/short-name
  | urihttp://www.ntrying.com/uri
  | display-nameNTrying.com./display-name
  | 
  | !-- nt:version / --
  | tag
  | nameversion/name
  | tag-classtaglib.VersionTag/tag-class
  | body-contentempty/body-content
  | description
  | The current version of the Ntrying library.
  | /description
  | /tag
  | /taglib
  | 

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

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


[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException when connecting

2006-12-04 Thread tobinibot
Couple more details.  I'm working with 2 other guys on a project.  I wrote a 
basic web service and deploying on my machine.  All 3 of us can successfully 
hit my web service.

I then checked the web service into source control, and had the other 2 guys 
check it out.  On one of these guy's computer, it works just fine.  All 3 of us 
can hit his web service.

When the 3rd guy deploys it, it deploys fine, but none of us can hit his web 
service (the aforementioned exception is thrown).  We used 2 different clients 
to call the web service (XFire and soapUI) to make sure there wasn't a client 
generation problem, so it seems like it's something on the server side.  I 
installed his JBoss instance for him, and it's just the same as mine.  We can't 
figure out what's going on.

Tobin

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: enable clustering in jboss AS

2006-12-04 Thread manjunath_n156
Thanxs for the reply.. i have run the server as instructed and server is now 
running in clustered mode(i have checked this using jmx-console). but, i am 
getting an error like:

19:38:27,835 WARN  [UDP] packet from /10.43.68.96:1773 has different version 
(0227?)
from ours (02271). This may cause problems
19:38:27,835 ERROR [UDP] exception=java.io.StreamCorruptedException: invalid 
stream h
eader
at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
at java.io.ObjectInputStream.(ObjectInputStream.java:253)
at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:670)
at org.jgroups.protocols.UDP.run(UDP.java:249)
at java.lang.Thread.run(Thread.java:534)


and i have deployed jboss-portal-ha.sar (binary) and its not getting deployed.

Regards
Manjunath

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ Fails under load - Exiting on IOE

2006-12-04 Thread alchemista
Also, if I try to do a Twiddle thread-dump while in the failed state I get the 
following errors:

[EMAIL PROTECTED] bin]# sh twiddle.sh invoke jboss.system:type=ServerInfo 
listThreadDump
08:58:12,403 ERROR [Twiddle] Exec failed
org.jboss.util.NestedRuntimeException: - nested throwable: 
(javax.naming.CommunicationException [Root exception is 
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception 
is:
java.io.EOFException])
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:137)
at 
org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:47)
at 
org.jboss.console.twiddle.command.MBeanServerCommand.queryMBeans(MBeanServerCommand.java:54)
at 
org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand.java:262)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:293)
Caused by: javax.naming.CommunicationException [Root exception is 
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception 
is:java.io.EOFException]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:244)
at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:262)
at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:56)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:133)
... 4 more
Caused by: java.rmi.UnmarshalException: Error unmarshaling return header; 
nested exception is:
java.io.EOFException
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
... 10 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:243)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189)
... 13 more

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JAAS newbie - missing something that should be obvious

2006-12-04 Thread [EMAIL PROTECTED]
Right - same problem (NameNotFoundException) after changing jboss.xml and 
jboss-web.xml to a security-domain of SPDB instead of java:/jaas/SPDB...

I'm going to dig into that and see why login-config.xml is (seemingly) not 
being read. 

I'm not sure I fully understand the relationship between login-config.xml and 
client/auth.conf yet. I'm going to see if I can find more documentation on 
that. I have tried this both with an entry for SPDB in auth.conf and without an 
entry there, and it doesn't make a difference either way...


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

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


[jboss-user] [JBoss Portal] - Re: Modifying Update Profile Screen

2006-12-04 Thread bmcgovern
ANyone have any ideas?

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

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


[jboss-user] [EJB 3.0] - ejb3 in sar

2006-12-04 Thread asioanid
hello guys,

is it possible to pack an ejb3 jar inside a sar? seems that the ejb3 deplyer 
can't handle this .. 

another question: how can I override the default jndi bindings, if I have an 
ejb-jar inside an ear? 
background: everything is built by maven 2 (so my ear name change with every 
release eg. foo-1.0-SNAPSHOT.ear).

thanx in advance,
andreas

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

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


[jboss-user] [EJB 3.0] - Re: Getting reference on Persistence Unit

2006-12-04 Thread straiver
thanks

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.0 and env-entry injection

2006-12-04 Thread jahlborn
I don't know if anyone noticed, but the original problem case was using a 
Service bean, not a Stateless bean.  I'm also using Service beans and running 
into the exact same problem: there does not seem to be any way to provide 
external configuration for them.  If anyone has a working example for Service 
beans, I'd love to see it.
thanks,
-james

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

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


[jboss-user] [JCA/JBoss] - Re: Not getting XADataSource

2006-12-04 Thread pkdj
Thanks. I'm not as knowledgeable on JCA as I should, I guess. A quick follow up 
on scope. Over what boundaries will JCA's transaction enlistment traverse? Will 
it enlist any XA data source used in the same thread? Across contexts? Across 
JVMs?

Thanks,
Paul

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

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


[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread petemuir
I'm not sure then, I suggest you ask on the facelets list.

https://facelets.dev.java.net

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

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


[jboss-user] [JBossCache] - Re: Please vote for your favorite issues -- mine :-)

2006-12-04 Thread [EMAIL PROTECTED]
I agree.  Functors would apply some transformation to a node, not a 
query/selection.

Still, important and interesting ideas here.  Could we perhaps create JIRA 
tasks for these (so they don't get lost) and target them for, say, 2.3.0 for 
now?

The 3 items here would be:

1) OrderedNode
2) Functors
3) Cache querying

And create wiki pages to make a note of ideas, etc. and link to these pages 
from the JIRA tasks?

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

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


[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread dgallego
Thanks!

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

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


[jboss-user] [JBossCache] - Re: Overflow berfore OutOfMemory

2006-12-04 Thread [EMAIL PROTECTED]
Have you configured an eviction policy?

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

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


[jboss-user] [EJB 3.0] - Re: SocketException converted into UndeclaredThrowableExcept

2006-12-04 Thread wolfc
ex.getCause().getCause() should lead you to the SocketTimeoutException.

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

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


[jboss-user] [JBoss AOP] - Re: inheritance of aspects

2006-12-04 Thread flavia.rainone
Hi,
It is not allowed to put an expression in the 'class' attribute of 'aspect' tag.
Still, you can simulate the inheritance of aspect advices. As Stalep said, you 
need to declare the subclasses as aspects in the xml file, and declare the 
bindings like in the following example.


  |  ASPECTS
  | 
  | class MyAspect1 extends MySuperAspect
  | {
  |public Object advice(Invocation invocation) throws Throwable
  |{
  | // do something I want to and then invoke super aspect
  |  return super.advice(invocation);
  |}
  | }
  | 
  | class MyAspect2 extends MySuperAspect
  | {
  |public Object advice(Invocation invocation) throws Throwable
  |{
  | // do only what I want to, don't call super aspect
  |.
  |return invocation.invokeNext();
  | }
  | }
  | 
  | public abstract class MySuperAspect
  | {
  | public Object advice(Invocation invocation) throw Throwable
  | {
  |   
  |  }
  | }
  |  
  |  XML FILE
  | 
  | ?xml ?
  | aop
  |   aspect class=MyAspect1 scope=PER_VM /
  |   aspect class=MyAspect2 scope=PER_VM /
  | 
  |   bind pointcut=whatever you want here /
  | advice name=advice   aspect=MyAspect1/
  | advice name=advice   aspect=MyAspect2/
  |   /bind
  | /aop
  | 

Notice MySuperAspect can also be an interface or a concrete class.

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

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


[jboss-user] [JBoss Seam] - Broken CVS? CNF org.jboss.seam.ui.UISecure

2006-12-04 Thread lowecg2004
The current CVS build appears to be broken:
14:21:07,088 ERROR [ApplicationImpl] Component class org.jboss.seam.ui.UISecure 
not found
  | javax.faces.FacesException: java.lang.ClassNotFoundException: No 
ClassLoaders found for: org.jboss.seam.ui.UISecure
  | at 
org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:162)
  | at 
org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:269)
  | at 
org.jboss.seam.jsf.SeamApplication11.addComponent(SeamApplication11.java:43)
  | at 
org.jboss.seam.jsf.SeamApplication11.addComponent(SeamApplication11.java:43)
  | at 
org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:479)
  | at 
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
  | at 
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
  | at 
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | 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 sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | 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 $Proxy42.start(Unknown Source)
  | at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 

[jboss-user] [Installation, Configuration Deployment] - Re: javax.resource.spi.SecurityException

2006-12-04 Thread nsv
Hi 

I got the No Password credentials exception fixed

solution was to remove the 
security-domain-and-applicationJmsXARealm/security-domain-and-application

from connectionfactory declaration in jms-ds.xml in server\default\deploy\jms 
directory

  | tx-connection-factory
  |   jndi-nameAlarmMgrConnectionFactory/jndi-name
  |   xa-transaction/
  |   rar-namejms-ra.rar/rar-name
  |   
connection-definitionorg.jboss.resource.adapter.jms.JmsConnectionFactory/connection-definition
  |   config-property name=SessionDefaultType 
type=java.lang.Stringjavax.jms.Queue/config-property
  |   config-property name=JmsProviderAdapterJNDI 
type=java.lang.Stringjava:/DefaultJMSProvider/config-property
  |   max-pool-size20/max-pool-size
  |   
security-domain-and-applicationJmsXARealm/security-domain-and-application
  |   /tx-connection-factory

Thanks for all you help

-Vishnu

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

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


[jboss-user] [EJB 3.0] - Re: external configuration for service beans

2006-12-04 Thread jahlborn
At this point, I pretty convinced this is not currently possible, so I've filed 
a feature request: 

http://jira.jboss.com/jira/browse/EJBTHREE-801


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

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


  1   2   3   >