[jboss-user] [JBoss Messaging] - Messaging test suite unavailable

2006-11-26 Thread bod1
Hi all,
I was going through the Messaging tutorial 
(http://docs.jboss.org/ejb3/app-server/tutorial/consumer/consumer.html)
and I found that the link on this page to the test suite: 
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss-ejb3/src/test/org/jboss/ejb3/test/consumer/

produces the error:

Server Error
 The following error occurred:
 [code=CANT_CONNECT] Could not connect because of networking problems. Contact 
your system administrator. 
 Please contact the administrator. 

Does anyone know of another way to get to the test suite?

Thanks

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

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


[jboss-user] [JBossCache] - Re: Error starting cache with TCP and TCPPING

2006-11-26 Thread [EMAIL PROTECTED]
If you have the full stack trace, JGroups should spit out the reason why you 
cannot create the stack.
I also suggest you test this config with standalone JGroups, to see whether 
this works: http://wiki.jboss.org/wiki/Wiki.jsp?page=TestingJBoss

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

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


[jboss-user] [JBossCache] - Re: Error starting cache with TCP and TCPPING

2006-11-26 Thread urisherman
anonymous wrote : If you have the full stack trace, JGroups should spit out the 
reason why you cannot create the stack. 

That's what you'd think, but no. all I got was that error message I posted.

Anyway, I realized the distro's version I downloaded might be incompatible with 
the one jbosscache uses, so I downloaded an earlier JGroups distro and now it's 
starting up properly.

This is my configuration now - 
anonymous wrote :   
  | TCP start_port=7050 loopback=true
  | send_buf_size=10 recv_buf_size=20 /
  | TCPPING timeout=3000 
initial_hosts=10.106.124.240[7050],10.106.124.239[7050]
  | port_range=3 num_initial_members=2 /
  | FD timeout=2000 max_tries=4 /
  | VERIFY_SUSPECT timeout=1500 down_thread=false
  | up_thread=false /
  | pbcast.NAKACK gc_lag=100
  | retransmit_timeout=600,1200,2400,4800 /
  | pbcast.STABLE stability_delay=1000
  | desired_avg_gossip=2 down_thread=false 
max_bytes=0
  | up_thread=false /
  | VIEW_SYNC avg_send_interval=6 down_thread=false
  | up_thread=false /
  | pbcast.GMS print_local_addr=true join_timeout=5000
  | join_retry_timeout=2000 shun=true /
  | pbcast.STATE_TRANSFER down_thread=true
  | up_thread=true/
  | 
But I got a new problem - 
The first machine starts up just fine, I then add a node to the tree and start 
the second machine, which fails to retrieve the initial state - 

org.jboss.cache.CacheException: Initial state transfer failed: 
Channel.getState() returned false
at org.jboss.cache.TreeCache.fetchStateOnStartup()V(TreeCache.java:3191)
at org.jboss.cache.TreeCache.startService()V(TreeCache.java:1429)
at 
org.jboss.cache.example.j2eeservices.JBossCacheManager.main([Ljava.lang.String;)V(JBossCacheManager.java:75)
at 
jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
at 
weblogic.t3.srvr.StartupClassService.invokeMain(Ljava.lang.String;Ljava.lang.Class;Ljava.lang.String;)V(StartupClassService.java:229)
at 
weblogic.t3.srvr.StartupClassService.invokeClass(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(StartupClassService.java:160)
at 
weblogic.t3.srvr.StartupClassService.access$000(Lweblogic.t3.srvr.StartupClassService;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(StartupClassService.java:36)
at 
weblogic.t3.srvr.StartupClassService$1.run()Ljava.lang.Object;(StartupClassService.java:121)
at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at 
weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
at 
weblogic.t3.srvr.StartupClassService.invokeStartupClass(Lweblogic.management.configuration.StartupClassMBean;)V(StartupClassService.java:116)
at 
weblogic.t3.srvr.StartupClassService.initialize()V(StartupClassService.java:60)
at 
weblogic.t3.srvr.SubsystemManager.initialize()V(SubsystemManager.java:118)
at weblogic.t3.srvr.T3Srvr.initializeHere()V(T3Srvr.java:895)
at weblogic.t3.srvr.T3Srvr.initialize()V(T3Srvr.java:670)
at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:344)
at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)

I tried the solution suggested at the troubleshooting section, that the state 
might be taking longer to retrieve than configured as 
InitialStateRetrievalTimeout, but that wasn't it, I gave it 5 millis and 
it fails after less than 3 seconds, so it obviously has nothing to do with the 
timeout.
Any ideas?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: IDE2.0.0 packing and deployment

2006-11-26 Thread susnet
I also want to know when you think this feature will be available.

I am really looking forward to it!

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

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


[jboss-user] [JBoss jBPM] - work flow problem

2006-11-26 Thread Mohab
hi all
first of all i thank every one reading this thread even he couldnt help me in 
my question :)
the problem is i had installed Eclipse Version: 3.1.2, and installed plugin of 
JBPM , it worked ok and i made several workflows, but last day it started to do 
something else. when open old work flow i created before the digrame is all 
collapsed in one point, i uploaded a screen shot for the problem and here is 
the link for
http://www.uuploadit.com/Users/mohab/screen%20shot.JPG
the problem in each time i had to rearrange the digram again and after 
finishing the work and close the eclipse it collapse again, does any body knows 
how to solve this problem
N.B: if u found that this thread belongs to another forum please fell free to 
tell me, this might help
again thanks for ur time and passion

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

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


[jboss-user] [JBoss jBPM] - jboss-4.0.5.GA gets into a loop after calling http://localho

2006-11-26 Thread zauberlehrling
Hi,

I've installed jboss-4.0.5.GA together with jbpm-3.1.2.

For the installation I made two modifications: 

1)   I commented out the libraries in the directory  lib/dom4j and the file 
jaxen-*.jar in the build file jbpm-starters-kit-3.1.2/jbpm/build.deploy.xml
!-- = --
  |   !-- === BUILD === --
  |   !-- = --
  |   target name=build.webapp description=builds jbpm.war
  | ant antfile=build.xml target=build.webapp / 
  | mkdir dir=build/jbpm.war.dir / 
  | copy todir=build/jbpm.war.dir
  |   fileset dir=src/resources/jbpm.war / 
  | /copy 
  | copy todir=build/jbpm.war.dir/WEB-INF/lib
  |   fileset dir=build includes=jbpm-webapp-${jbpm.version}.jar / 
  |   fileset dir=lib/jsf includes=*.jar /
  |   !--
  |   fileset dir=lib/dom4j includes=*.jar /
  |   fileset dir=lib/hibernate includes=jaxen-*.jar /
  |   --
  |   fileset dir=lib/commons includes=commons-digester-*.jar, 
commons-beanutils-*.jar, commons-fileupload-*.jar /
  | /copy 
  | jar destfile=build/jbpm.war
  |   fileset dir=build/jbpm.war.dir /
  | /jar 
  |   /target

2)  I made modifications in the file hibernate.cfg.xml, which is part of the 
jar-file jbpm.sar.cfg.jar because of my mysql database. The file 
jbpm.sar.cfg.jar resides in the directory 
jboss-4.0.5.GA/server/jbpm/deploy/jbpm.sar
property 
name=hibernate.dialectorg.hibernate.dialect.MySQLInnoDBDialect/property
  | property name=hibernate.connection.datasourcejava:/MySqlDS/property
  | property name=hibernate.cache.use_second_level_cachefalse/property
  | property name=hibernate.cache.use_query_cachefalse/property

Afterwards I was able to start the application server with the command 
jboss-4.0.5.GA/bin/run.sh -c jbpm

Furthermore I deployed a simple process archive with the following ant task:

  | target name=deploy.par  
  | description=deploys the process archive myprocess.par
  |   taskdef name=deploypar 
  |classname=org.jbpm.ant.DeployProcessTask
  |classpathref=lib /
  |   deploypar process=${deploy.dir}/myprocess.par 
  |  
cfg=${src.dir}/main/config/hibernate.cfg.xml/ 
  | /target

I found on the following addresses information about my process:

http://localhost:8080/jbpm/faces/home.jsp
http://localhost:8080/jbpm/faces/admin.jsp
http://localhost:8080/jbpm/faces/monitor.jsp

I do not know why there is the part faces in the middle of these addresses.
Furthermore the application server raises an exception and gets into a loop 
when I call the address

http://localhost:8080/jbpm/faces

In the console I can see:


  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  | at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
  | at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
  | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  | at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
  | at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
  | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
  | ...
  | 

You can see the block beginning with  
javax.faces.webapp.FacesServlet.service(FacesServlet.java:95) up to
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) 
twice in the code above. It comes again and again.
 
What is wrong?

View the original post : 

[jboss-user] JBoss Tomcat

2006-11-26 Thread Mohsen Pahlevanzadeh
Dear all,I have delivered a server from my boss,It has many 
sites,PHP,JSP  etc.


When i see a site same acs.takfab.ir in httpd.conf ,It has a 
DocumentRoot that it has a one file : index.html


index.html has a JavaScript code that it is redirected to 
'http://acs.takfab.ir:8080/acs'


Now i wanna know main DocumentRoot of this site,I have a tomcat 
directory  JBoss directory.


Please help me...

Yours,Mohsen




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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JSTL xml tags, JAXEN conflict?

2006-11-26 Thread SideWinder
seems to be some kind of class loading problem maybe. but i didn't manage to 
understand how to use the wiki-stuff about class loading to solve my problem :(



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

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


[jboss-user] [JBoss Seam] - [DVD example] how to directly go back to the checkout page a

2006-11-26 Thread ellenzhao
I'm trying to do this based on the DVD example version 1.1.0 CR 1: A new user 
comes in and chooses a lot of DVDs. The checkout was blocked since he hasn't 
logged in yet. Now he starts registration and hopefully after the registration 
succeeded! confirmation he can go directly back to the checkout page. 

In the current code, both the newuser and checkout conversations are already 
marked as nested. After the registration during checkout, the user would be 
directed to homepage but not the checkout page. The DVDs chosen before are 
still there though. But directly go back to checkout page would be less 
confusing to a new shopper.  How many possibilities to achieve this with Seam?

By the way, the current signature of the saveUser() in the EditCustomer.java 
ispublic String saveUser(). I guess it could also be public void saveUser() 
since the pageflow for registration is managed by the jpdl configuration but 
not the navigation.xml. There is no from-outcomesuccess/from-outcome entry 
in the navigation.xml. So return success in the try block has no effect.  

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

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


[jboss-user] [JBoss Seam] - Injection and disinjection control

2006-11-26 Thread msystems
I have two Java Beans, Bean A (scope: session) and Bean B (scope: event). Bean 
A is injected
into Bean B. E.g.

Class A {
...
...
...
}

Class B {
protected Object var;

@In(value = ASession, create = true)
void setVar(Object var) {
this.var = var;

do something !
...
...
}

void doSomething1() {
}

void doSomething2() {
}

void doSomething3() {
}

...
...
}

Each method invocation on Bean B results in an injection and disinjection.

In mine particularly case it's totally unnecessary to inject and disinject at 
each method invocation. I only need
an injection when an instance of class B is created.

Because of the current design of Seam my setVar() method is executed between 
500 - 5000 (depends on the situation)
times by the BijectionInterceptor.bijectTargetComponent() and the state of the 
injected object is the same each time.

It would be very nice, if I could control the injection and disinjection, e.g.

@In(oneInjection = true, disinjection = false, value = ASession, 
create = true)
void setVar(Object var) {
this.var = var;

do something !
...
...
}
 
oneInjection = true // only inject one time.
disinjection = false // don't disinject

Could Seam support something like that?

Regards
Kenneth


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBossAS 4.0.5-GA dependency libraries version info relea

2006-11-26 Thread [EMAIL PROTECTED]
see docs/licenses/thirdparty-licenses.xml

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: jboss projects

2006-11-26 Thread [EMAIL PROTECTED]
http://www.jboss.org/products/jbossportal

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

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


[jboss-user] [JBoss Portal] - Re: Porlet Instances not showing

2006-11-26 Thread alittledog
Thank you. Got it working now.

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

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


[jboss-user] [JBoss Seam] - Recommended way to do SSL

2006-11-26 Thread sjmenden
What is the most recommended way to SSL protect specific pages, like login and 
register and any other sensitive ones.

Off the top of my mind, one could achieve this through URL rewriting with 
Apache as the front end.

Are there any other ways to do this?



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

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


[jboss-user] [JBossWS] - Re: 1.0.4 integration problem with EJB-3RC8

2006-11-26 Thread Christopher_P
Hi there,

I'm having exactly the same exception as oglueck when trying to run JBossWS 
1.0.4 on JBoss 4.0.4.GA (running on Win32). I tried removing javax.jws package 
from ejb3.deployer/jboss-ejb3.jar and also got oglueck's No wrapped types 
available exception.

Did anyone find a solution to this problem?

Cheers,
Chris



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

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


[jboss-user] [JBoss Seam] - Re: i18n validation message during test

2006-11-26 Thread rlhr
Hello,

I tried to setup custom messages for the hibernate validation annotation but 
without success yet.

I have a ValidatorMessages.properties (defining all the default message for 
hibernate validators) file in my ear file so that I don't get an exception at 
server startup.
All my properties file are under WEB-INF/classes in the war file.
In compoments.xml, I define all these files and everything works fine except 
validations still return the default Validation Error message.

I also tried to define the following in the faces-config.xml:

message-bundleValidatorMessages/message-bundle 
  | 
  | locale-config
  | default-localeen/default-locale
  | supported-localeen/supported-locale
  | supported-localefr/supported-locale
  | /locale-config
  | 
But it didn't change anything...

I tried to use both syntax:


  | @NotNull(message={validator.my.message})
  |  and 
  | @NotNull(message=#{messages['validator.my.message']})
  | 

Without much success.

Does anyone know how to set this up? I'm sure I must have missed something 
somewhere, but I can't see what.

Thanks,

Richard 

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

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


[jboss-user] [EJB 3.0] - Re: Bug in @OneToMany() table creation.

2006-11-26 Thread alexg79
How about specifying different join tables for each collection?

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

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


[jboss-user] [EJB 3.0] - Re: Problem with native query

2006-11-26 Thread alexg79
Variable placeholders are not supported in native queries.

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

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


[jboss-user] [JBoss Seam] - Re: Using seam-gen with JBoss IDE (Eclipse), where are all t

2006-11-26 Thread rlhr
Hi Ellen,

So I downloaded the beta version and everything seemed fine until I tried to 
run the server (in debug mode or not). The server and the webapp seem to start 
fine from what I see in the console, but the web app is not reachable from the 
browser...
Did you run into anything like this?
Which version of the JVM did you install?
I'm running the jdk1.5.0_09.

Richard

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

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


[jboss-user] [JBoss Seam] - Re: Using seam-gen with JBoss IDE (Eclipse), where are all t

2006-11-26 Thread ellenzhao
No I haven't had this problem. I'm using Sun's Java VM version 6.0 beta. (the 
latest beta from Sun's site). But it doesn't look like VM's problem. Is the 
context root on your browser right (Matches the context root in your 
application.xml)? 

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

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


[jboss-user] [EJB 3.0] - Re: Problem with native query

2006-11-26 Thread [EMAIL PROTECTED]
not true. both ? and named parameters are supported.

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

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


[jboss-user] [JBoss AOP] - Re: error when calling MethodInvocation

2006-11-26 Thread fabiocsilva
The problem is that the advice had not declared throws. But the error log  is 
very obscure, is difficult to find the error

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

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


[jboss-user] [EJB 3.0] - Re: PersistenceException on GeneratedValue property

2006-11-26 Thread Ganton
This turns out to be a class loading issue.

Due to the complex nature of the architecture I am attempting to build. When 
the new versions of the entities are hot deployed the persistence engine 
apparently gets confused, and refuses to cooperate.

If this sounds like a problem you are having as well, please contact me, and I 
can explain the issue farther, and how I got around it.


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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5.0.0 beta 1 and web-console

2006-11-26 Thread MichaelMuo
Thanks visolvejboss,

That was the first issue, but fixing some of the JRE  CLASSPATH issues did not 
resolve a problem. Finally, I added in applet.jsp some required jars and get 
rid of this problem.

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

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


[jboss-user] [JBoss Seam] - Re: [DVD example] how to directly go back to the checkout pa

2006-11-26 Thread ellenzhao
Just Got it with two pageflow definition files. :-)  (the names of the 
transition nodes and view ids are modified according to the requirement of my 
application. But the idea is not difficult to capture...

the boomBookingFlow.jpdl.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | pageflow-definition name=roomBookingFlow
  | start-state name=start
  | transition to=preference /
  | /start-state
  | 
  | page name=preference view-id=/reservations/preferences.xhtml
  | redirect /
  | transition name=pricing to=checkAvailability
  | action expression=#{roomBooking.doPricing} /
  | /transition
  | transition name=cancel to=cancelPage /
  | /page
  | 
  | decision name=checkAvailability
  | expression=#{roomBooking.roomAvailable}
  | transition name=true to=payment /
  | transition name=false to=preference /
  | /decision
  | 
  | page name=payment view-id=/reservations/payment.xhtml
  | no-conversation-view-id=/reservations/preferences.xhtml
  | redirect /
  | transition name=next to=checkLoggedIn /
  | transition name=back to=preference /
  | transition name=cancel to=cancelPage /
  | /page
  | 
  | decision name=checkLoggedIn expression=#{login.loggedIn}
  | transition name=true to=checkPayment /
  | transition name=false to=loginPage /
  | /decision
  | 
  | page name=loginPage view-id=/login.xhtml
  | transition name=login to=checkLoggedIn
  | action expression=#{login.login} /
  | /transition
  | transition name=newguest to=registerConversation
  | action expression=#{register.startEdit} /
  | /transition
  | transition name=continue to=checkPayment /
  | transition name=back to=payment /
  | transition name=cancel to=cancelPage /
  | /page
  | 
  | page name=registerConversation view-id=/register/account.xhtml /
  | 
  | 
  | decision name=checkPayment
  | expression=#{roomBooking.validPayment}
  | transition name=true to=review /
  | transition name=false to=payment /
  | /decision
  | 
  | page name=review view-id=/reservations/review-details.xhtml
  | no-conversation-view-id=/reservations/preferences.xhtml
  | redirect /
  | transition name=book to=confirmation
  | action expression=#{roomBooking.bookRoom} /
  | /transition
  | transition name=back to=payment /
  | transition name=cancel to=cancelPage /
  | /page
  | 
  | page name=confirmation view-id=/reservations/complete.xhtml
  | no-conversation-view-id=/reservations/preferences.xhtml
  | redirect /
  | end-conversation /
  | /page
  | 
  | page name=cancelPage view-id=/home.xhtml
  | no-conversation-view-id=/home.xhtml
  | redirect /
  | end-conversation /
  | /page
  | 
  | /pageflow-definition
  | 

the register.jpdl.xml:

  | pageflow-definition name=newguest
  | start-state name=start
  | transition to=account /
  | /start-state
  | 
  | page name=account view-id=/register/account.xhtml
  | redirect /
  | transition name=next to=checkPassword /
  | /page
  | 
  | decision name=checkPassword
  | expression=#{register.validNamePassword}
  | transition name=true to=detail /
  | transition name=false to=account /
  | /decision
  | 
  | 
  | page name=detail view-id=/register/detail.xhtml
  | no-conversation-view-id=/register/account.xhtml
  | redirect /
  | transition name=prev to=account /
  | transition name=next to=confirmation /
  | /page
  | 
  | page name=confirmation view-id=/register/confirmation.xhtml
  | no-conversation-view-id=/register/account.xhtml
  | redirect /
  | transition name=edit to=detail /
  | transition name=confirm to=complete
  | action expression=#{register.saveUser} /
  | /transition
  | 
  | /page
  | 
  | page name=complete view-id=/register/complete.xhtml
  | no-conversation-view-id=/register/account.xhtml
  | redirect /
  | end-conversation /
  | /page
  | 
  | /pageflow-definition
  | 
  | 

the diagrams are here:

The room booking flow:

[img]http://www.ningning.org/gallery/main.php/d/28-2/roomBooking-pageflow.png[/img]

The register flow

[img]http://www.ningning.org/gallery/main.php/d/26-2/register-pageflow.png[/img]

Here the register conversation is a nested conversation of the room booking 
conversation. 

View the original 

[jboss-user] [JBoss Seam] - Re: Using seam-gen with JBoss IDE (Eclipse), where are all t

2006-11-26 Thread rlhr
I think something goes wrong at one point. The CPU usage stays close to 100% 
even after the server is done starting. I'll investigate and try to find out 
what's going on. Maybe some options is not setup properly...

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Negotiate with Kerberos

2006-11-26 Thread hpkolasani
I followed the instructions from 
http://wiki.jboss.org/wiki/Wiki.jsp?page=NegotiateKerberos (using JBoss 4.02) 
and it appears that the SPNEGO/NTLM handshaking and getting the principal from 
token seems to be working fine. I can also see that the 'login()' method of 
'NegotiateLoginModule' is returning the Principal successfully. 

But the silent authentaication is not happening in the 'test' web app. 

It looks like in 'HttpServletRequestResponseValve.authenitcate()' , the 
following code is returning 'null' for the principal.

 // Start the authentication with the retrieved user, and a blank
// password. This will be mostly ignored by the login module, but needed
// to do this to allow role retrieval and other stuff to work properly
principal = getContainer().getRealm().authenticate(userId == null ?  : 
userId, );

 Here is some log info. from jboss server.log

***
2006-11-26 10:26:35,875 INFO  [org.apache.jk.server.JkMain] Jk running ID=0 
time=0/47  config=null
2006-11-26 10:26:35,875 INFO  [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 
13s:47ms
2006-11-26 10:27:58,515 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] Created [EMAIL 
PROTECTED]
2006-11-26 10:27:58,515 DEBUG 
[org.jboss.security.plugins.JaasSecurityManager.SPNEGO] CachePolicy set to: 
[EMAIL PROTECTED]
2006-11-26 10:27:58,515 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, [EMAIL 
PROTECTED]
2006-11-26 10:27:58,515 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] Added SPNEGO, [EMAIL 
PROTECTED] to map
2006-11-26 10:27:58,609 DEBUG 
[org.jboss.web.tomcat.security.AdvancedWebCallbackHandler] Got 
SecurityAssociationCallback: [EMAIL PROTECTED]
2006-11-26 10:27:58,609 DEBUG 
[org.jboss.web.tomcat.security.AdvancedWebCallbackHandler] Sending back 
authorization header
2006-11-26 10:27:58,640 DEBUG 
[org.jboss.web.tomcat.security.HttpServletRequestResponseValve] Realm returned: 
null
2006-11-26 10:27:58,640 DEBUG 
[org.jboss.web.tomcat.security.AdvancedWebCallbackHandler] Got 
NegotiateCallback: [EMAIL PROTECTED]
2006-11-26 10:27:58,640 DEBUG 
[org.jboss.web.tomcat.security.AdvancedWebCallbackHandler] Token was Type 1 NTLM
2006-11-26 10:27:58,687 DEBUG 
[org.jboss.web.tomcat.security.HttpServletRequestResponseValve] Realm returned: 
null
2006-11-26 10:27:58,687 DEBUG 
[org.jboss.web.tomcat.security.AdvancedWebCallbackHandler] Got 
NegotiateCallback: [EMAIL PROTECTED]
2006-11-26 10:27:58,687 DEBUG 
[org.jboss.web.tomcat.security.AdvancedWebCallbackHandler] Token was Type 3 NTLM
2006-11-26 10:27:58,687 DEBUG [org.jboss.security.auth.NegotiateLoginModule] 
Found NTLM token in SPNEGO: [EMAIL PROTECTED]
2006-11-26 10:28:00,062 DEBUG 
[org.jboss.web.tomcat.security.HttpServletRequestResponseValve] Realm returned: 
null

***


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

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


[jboss-user] [JBoss Seam] - Re: Using seam-gen with JBoss IDE (Eclipse), where are all t

2006-11-26 Thread ellenzhao
if you installed the 190mb all-in-one JBoss-IDE (the eclipse SDK is also 
included in that bundle). The server should be setup this way:

File -- new -- Other -- server -- next. 

At this point you'll see two JBoss categories in the list. One is JBoss and the 
other is JBoss Inc. You should choose the JBoss Inc folder and then choose the 
JBoss AS 4.0. Then just give it a name (whatever will do, mine is called 
athena) and the runtime directory, which is where your JBoss 4.0.5 server is 
installed. 

Does that help?

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

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


[jboss-user] [Installation, Configuration Deployment] - Shutting down JBOSS

2006-11-26 Thread kipper3d
Hello,

I've gotten several instances running on one server using:
$JBOSS_HOME/bin/run.sh -c jb-user1  /dev/null 2 /dev/null 
$JBOSS_HOME/bin/run.sh -c jb-user2  /dev/null 2 /dev/null 
$JBOSS_HOME/bin/run.sh -c jb-user3  /dev/null 2 /dev/null 

Commands are performed by the respective unix user.

My question is how do you shutdown from the users perspective?

$JBOSS_HOME/bin/shutdown.sh -s jb-user1  doesn't work.

(i know it can be done from the jvm-console - but I need the shell equivalent 
so that I can create startup/shutdown scripts for each user)

Thanks Much!

-John



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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Shutting down JBOSS

2006-11-26 Thread [EMAIL PROTECTED]
You would need to pass the appropriate JNDI url of the server to the shutdown 
script. So, it would be something like:

./shutdown.sh -s hostname:port

The name of the server (ie jb-userX) won't work because it's a 'logical' name. 



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

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


[jboss-user] [JBoss Seam] - Re: i18n validation message during test

2006-11-26 Thread atao
Richard

read the thread

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

to get some more explanations about NotNull annotation and validation tag.

Pierre

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

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


[jboss-user] [JBoss Seam] - Re: Seam exception handling failing

2006-11-26 Thread [EMAIL PROTECTED]
It happens when the variable is first referenced. In this case, during the 
render phase.

Note that if this is a GET request, or a redirect, there is no invoke 
application phase.

Use a page action.

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

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


[jboss-user] [JBoss and NetBeans] - Netbean5.5 Jboss4.04 DefaultDS not bound

2006-11-26 Thread elmerr
I created an application project in Netbeans5.5.
I followed the procedure used in tutorial in Jboss Netbeans section.
I created some CMPs using ejb3.0/Hibernate as persistance just using the IDE 
built-in workflows, and got the following error on deployment:
javax.naming.NameNotFoundException: DefaultDS not bound

I did select DefaultDS when selecting datasource.

Is there some manual steps involved?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Injection and disinjection control

2006-11-26 Thread [EMAIL PROTECTED]
There is a way, namely that you can use configuration instead of bijection. 
ie.


component name=b
  |property name=var#{a}/property
  | /component

However, it sounds to me like you are trying to preoptimize. A few hundred 
calls of a setter method is totally insignificant compared to the other costs 
involved (database access, rendering the view, etc).

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

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


[jboss-user] [JBossWS] - Re: Using Axis SAAJ Implementation instead of JBossWS

2006-11-26 Thread reinerka
Hi Thomas,

it probably isn't the SAAJ implementation alone but as well the XML parsing 
components that cause more problem than they solve.

Right now we've isolated those key items:

1. Chunked transfers
2. Encapsulation namespaces with single quotes

Neither of them are against XML/HTTP rules, but they casue a large number of 
users of our services to fail due to interoperability issues (a key importance 
to us).

1. Chunked transfers

We were able to remove this by adding a couple of additional classes to handle 
IO (which just shouldn't be needed).

2. Namesapces

Using those specialiced classes we were able to resolve this issue as well.

Overall a lot of our subscribers are running embedded systems that rely on 
minimal overhead for parsing XML and thus will sometimes choose a parser that 
is not 100% compliant but allows them to save memory footprint. Our objective 
is to make sure they work.

SAAJ (and the required XML parser) were far more tolerant on receiving as well 
as providing a wider interoperability than what we now have.

Regards,
Reiner

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Shutting down JBOSS

2006-11-26 Thread kipper3d
Uhm, its still running.

Heres what i tried.

Consider the following port information
jb-user1 is 8180
jb-user2 is 8280
jb-user3 is 8380
jb-user4 is 8480

To shudown jb-user3:
su - user3 for jb-user3
$JBOSS_HOME/bin/shutdown.sh -s localhost:8380

Error: Failed to retrieve stub from server localhost:8380 

I'm assuming the port needs to be the http port. JNDI port doesnt work either - 
can't connect.

I apologize if this is a relatively dumb question but I am new with this.

Thanks!


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Shutting down JBOSS

2006-11-26 Thread [EMAIL PROTECTED]
Hi, no problem. Try this

./shutdown.sh -s jnp://hostname:jndi-naming-port 

I can't remember if we removed the need for the 'jnp://' prefix or not. 



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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Shutting down JBOSS

2006-11-26 Thread kipper3d
Are you referring to this port number: 1400?

Heres snippet for jb-user3 in the service-binding.xml file:
service-config name=jboss:service=HAJNDI
 delegateClass=org.jboss.services.binding.AttributeMappingDelegate
 delegate-config portName=Port hostName=BindAddress
1401
 /delegate-config
 
  /service-config

Says it couldnt connect - so I have opened 1400 from the firewall - but still 
did not work.

I'm gonna have to revisit this issue later - I appreciate your help!


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Shutting down JBOSS

2006-11-26 Thread [EMAIL PROTECTED]
Are you running in a cluster? Your original post did not mention this.

The JNDI port is simply the port that your naming service is running on. 
Typically this is 1099 for each host. However, since you are running multiple 
instances on one machine it would be whatever JNDI naming port you configured 
for a particular instance. 



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

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


[jboss-user] [JBoss Portal] - Re: Understanding architecture...

2006-11-26 Thread ric1607
Thomas,

Thank you for your answer, especially on a week-end! 
I hope I did not disturb your Saturday with my silly questions {:-)

One solution I was thinking of was indeed to include the whole portal page in 
an iframe. My use case being for instance to include a forum frame or a CMS 
frame within our existing app.

It sure looks odd (I confess), but it is according to my point of view a 
realistic use case: we have a complex existing webapp, with carefully crafted 
layout designed to use the top window with plenty of javascript everywhere -- 
and we cannot simply say ok, let's put all that in a rectangle on the screen 
and add something beside. 
So the solution would be to rewrite all the main layouts under portal templates 
and this is a too steep slope.

I'll try using the portal in an iframe and let you know about.

Thank you very much Thomas!

--Eric


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

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


[jboss-user] [EJB/JBoss] - SOLVED!!!: CommunicationException, local class incompatible:

2006-11-26 Thread pavlikus
Hi all,
If you get this exception in Intellij IDEA, then make sure there is no 
javaee.jar library on project class path. IDEA automatically adds this library 
to j2ee project/module and it's sure thing incompatible with jboss client 
libraries.

Just in hope you wouldn't spend whole weekend battling with classloading and 
jar versions ;-)



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

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


[jboss-user] [JBoss Seam] - Re: Using seam-gen with JBoss IDE (Eclipse), where are all t

2006-11-26 Thread rlhr
So I reinstalled the all-in-one bundled and set up the project again.
I think I must have done something wrong configuring the project earlier, but I 
don't know why :)
Now everything work great.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: i18n validation message during test

2006-11-26 Thread rlhr
Hi Pierre, 

Thanks for the link, I'm going to take a look at it.

Richard

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Negotiate with Kerberos

2006-11-26 Thread hpkolasani
And, I noticed the following in the logs when I enabled TRACE on 
JBossSecurityMgrRealm.

2006-11-26 13:33:49,515 TRACE 
[org.jboss.security.plugins.JaasSecurityManager.SPNEGO] Login failure
javax.security.auth.login.LoginException: Error getting roles: 
jcifs.smb.SmbAuthException: Access is denied.
at 
org.jboss.security.auth.NegotiateLoginModule.getRoleSets(NegotiateLoginModule.java:148)
  at 
org.jboss.security.auth.spi.AbstractServerLoginModule.commit(AbstractServerLoginModule.java:187)
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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:580)
at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:483)
at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:425)
at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:251)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:230)
at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.authenticate(HttpServletRequestResponseValve.java:113)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.invoke(HttpServletRequestResponseValve.java:72)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [JBoss and NetBeans] - Re: Netbean5.5 Jboss4.04 DefaultDS not bound

2006-11-26 Thread elmerr
Never mind.

I forgot to put the java:/ in front of DefaultDS, so it couldn't find DefaultDS.

Maybe this is helpful to someone else that does the same thing.

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

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


[jboss-user] [JBoss AOP] - Re: Tracing/Logging - Actual RMI calls vs calls between EJBs

2006-11-26 Thread [EMAIL PROTECTED]
There is no easy way to do this at the AOP layer, but it seems that if the call 
is local the EJBContainerInvocation will contain something under


  | invocation.getMetaData(IS_LOCAL, IS_LOCAL);
  | 

You could customize the stack of interceptors used for your ejb 3 container(s) 
in ejb3-interceptors-aop.xml, or create your own domains by deploying your own 
whatever-aop.xml file and override the domain used in your bean using the 
@Domain annotation.
I am not sure if this is shown in the ejb3 documentation, but there is a test 
in the ejb3 testsuite under org.jboss.ejb3.test.aspectdomain that you could 
look at.


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

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


[jboss-user] [Security JAAS/JBoss] - Concurrency bug in JaasSecurityManager

2006-11-26 Thread Cyberax
I've found a VERY curious concurrency bug in JaasSecurityManager. I'm using 
custom login modules and custom principal and a custom SecurityInterceptor for 
JNDI lookups, this interceptor checks .

My DefaultCacheTimeout value was set to 0 (I wanted to turn off authentication 
cache).

My application (remote Swing client) worked fine as long as there was only one 
thread doing JNDI lookups. But sometimes a second application threw exception 
during JNDI authorization, it turned out that authenticated Subject had an 
empty role set. But this is impossible, because my Subjects always have at 
least one role.

After few hours of debugging I've found the problem: my custom login module 
removes its Subject roles during the logout() method. I've found that this 
module is called by JaasSecurityManager$DomainInfo.destroy. And that's a bug.

Suppose we have two threads:

  | Thread 1:   Thread 2 (some time after 
Thread1):
  | 1. 'User1' authentication1. 'User1' logs in.
  | 2. 'User1' is added to auth cache2. Auth cache entry has 
expired.
  | 3. Doing some lengthy operation  3. Calling .logout() on stale 
entry
  | 4. Checking roles of User1 - WILL FAIL, another thread has called logout()!
  | 

This problem may be not evident with the stock JBoss login modules, because 
their logout() methods do not remove subject's roles.

Proposed fixes: 
1. Use deep cloning. That way threads 1 and 2 doesn't share any data, thus no 
problem.
2. Use acquire/release semantics in conjunction with SecurityAssociation.
3. Remove logout() from DomainInfo.destroy.

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

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


[jboss-user] [JBoss AOP] - Re: Jboss servlet/aop Deploymentexception: Cannot find aspec

2006-11-26 Thread [EMAIL PROTECTED]
You don't have a method in your advice called myAdvice, you should use 
name=test (or rename your test advice method)

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

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


[jboss-user] [JCA/JBoss] - DB2 XA connection problem - Non XA works

2006-11-26 Thread jshrinivas
Hello,

I am trying to use IBM DB2 XA datasource with JBoss 4.0.5-SP1 and have modified 
db2-xa-ds.xml. I get following error during JBoss startup:

Reason: org.jboss.deployment.DeploymentException: Error while fixing table 
name; - nested throwable: (org.jboss.util.NestedSQLException: Could not create 
connection; - nested throwable: (com.ibm.db2.jcc.b.SqlException: Failure in 
loading T2 native library db2jcct2); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (com.ibm.db2.jcc.b.SqlException: Failure in loading T2 native 
library db2jcct2)))

If I use non XA datasource it works fine; so I think it is not a problem with 
drivers not being in the CLASSPATH. Also JBoss and DB2 machines are on Linux 
platform. 

Is there anything that I need to install (native libs probably) to get XA 
driver working ?

Thanks,
-Shrinivas



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

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


[jboss-user] [Management, JMX/JBoss] - JBoss 4.0.x RMIAdaptor and jdk1.3 issue

2006-11-26 Thread tmuller
Hi, 

I have one serious issue. I need to make a portlet application which will
connect to JBoss 4.0.x MBeans and perform/invoke some MBean's operations etc. 

Problem is that the portlet application runs on IBM Websphere (with jdk1.3!) 
and MBeans runs on JBoss AS 4.0.x (with jdk1.5).  I tried following code 
statement:


  | Properties properties = new Properties();
  | properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | properties.setProperty(Context.PROVIDER_URL, someIP:1099);
  | properties.setProperty(Context.URL_PKG_PREFIXES, org.jboss.naming);
  | Context context = new InitialContext(properties);
  | 
  | MBeanServerConnection server = null;
  | Object obj = context.lookup(jmx/invoker/RMIAdaptor);
  | server = (MBeanServerConnection)obj;
  | ObjectName on = new ObjectName(jboss.system:type=Server);
  | Object ver = F_server.getAttribute(on, Version);
  | 

This code statement runs well on jdk1.5 or 1.4. But NOT on jdk1.3. Because of 
jbossall-client.jar (which contains RMIAdaptor) for JBoss AS 4.0.x could be 
compiled only for jdk1.4/1.5. And when I try to use jbossall-clients.jar from 
older JBoss versions (e.g. 3.2.8) which is compiled for jdk1.3 I will get 
following exception: 

  | javax.naming.CommunicationException.  Root exception is 
java.io.InvalidClassException: org.jboss.util.id.GUID; Local class not 
compatible: stream classdesc serialVersionUID=3289509836244263718 local class 
serialVersionUID=6926421946503004889
  | 

It's because of RMIAdaptor was changed from JBoss 3.x to JBoss 4.x

Please help me, how could I solve this issue?

1) is it possible to compile jbossall-client.jar of JBoss 4.0.x for jdk1.3?
2) or is there other solution how to connect JBoss 4.0.x MBeans from client 
which runs on jdk1.3?
3) or is there some workaround which could I use?

Thanks for any suggestions!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988693
___
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-11-26 Thread [EMAIL PROTECTED]
Which profile did you select? Did you modify default component (file pack) 
selections?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Starting JBoss from Eclipse

2006-11-26 Thread puck
Hello out there,
I'm trying to start JBoss over the Eclipse IDE. The problem is, I
installed jboss on linux, and I created an extra user for jboss, like the 
tomcat-administrator user.
For tomcat we have the sysdeo-plugin where you can set the name and password of 
the administrator. Is there any suitable plugin for jboss with which I can 
start and stop jboss?

Thank you very much.

Gruss Christian


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

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


[jboss-user] [JCA/JBoss] - Re: DB2 XA connection problem - Non XA works

2006-11-26 Thread [EMAIL PROTECTED]
Yep. The db2jcc driver does not support native XA. As a result, you have to 
install the DB2 client libraries to get XA support. 





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

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


[jboss-user] [Clustering/JBoss] - Re: Http Session Passivation configuration on every node?

2006-11-26 Thread hmesha
you gut instinct is correct :) It should work either way. However, the servers 
in the cluster that don't have their Http Session passivation turned on, will 
not be able to passivate sessions maintained by their respective cluster 
manager.

You can see the benefits, trade offs, and a whole lot more on the wiki :

http://wiki.jboss.org/wiki/Wiki.jsp?page=HttpSessionPassivation

http://wiki.jboss.org/wiki/Wiki.jsp?page=HttpSessionPassivationDesign



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

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


[jboss-user] [EJB 3.0] - Unnecessary select with em.merge()

2006-11-26 Thread markvl2
I am evaluating ejb3 and looking at the standard case of where an entity is 
read from the DB in one transaction, modified, then changes saved in another 
transaction.

When em.merge() is called for the detached entity, EJB3 is implicitly executing 
a select against the DB for that entity.

Is there some way of preventing this unnecessary select?


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

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


[jboss-user] [Beginners Corner] - Re: IdleRemover notifying pools, interval: 450000

2006-11-26 Thread sandhyabhandary
Hi 
I am facing the same problem, can someone help to fix it. Due to this the 
servlet requests are denied the access to database.

Please help



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

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


[jboss-user] [Beginners Corner] - Re: IdleRemover notifying pools, interval: 450000

2006-11-26 Thread [EMAIL PROTECTED]
This is normal. In JBoss/JCA the IdleRemover runs asynchoronously and cleans up 
connections that have not been used reducing resource usage when it is not 
required. The message is informational only. 



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

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


[jboss-user] [Clustering/JBoss] - Re: NameAlreadyBoundException in JBoss5.0.0Beta1

2006-11-26 Thread javidjamae
I forgot to mention that I've started the nodes in different orders, and it is 
always the second node that throws this exception.

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

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


[jboss-user] [Clustering/JBoss] - NameAlreadyBoundException in JBoss5.0.0Beta1

2006-11-26 Thread javidjamae
I'm trying to bring up a vertical cluster (Jboss 5.0.0Beta1) using virtual IPs 
on a Windows XP box. I've created two copies of the all configuration called 
node1 and node2. I start them in different console windows as follows:

./run.sh -b 192.168.1.140 -c node1
./run.sh -b 192.168.1.141 -c node2

I can bring up the first node, but when I try to bring up the second node, I 
get the following exception. I'm guessing that this is a bug???



  | 19:12:28,656 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, 
warUrl=.../deploy/jmx-console.war/
  | 19:12:28,828 INFO  [StandardContext] Container 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-cons
  | ole] has already been started
  | 19:12:29,109 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=Create 
mode=Manual requiredState=Installed
  | java.io.IOException: Cannot bind to URL 
[rmi://192.168.1.140:1090/jmxconnector]: javax.naming.NameAlreadyBoundException:
  |  jmxconnector [Root exception is java.rmi.AlreadyBoundException: 
jmxconnector]
  | at 
javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
  | at 
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
  | at 
org.jboss.mx.remoting.service.JMXConnectorServerService.start(JMXConnectorServerService.java:110)
  | 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:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | 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:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46
  | )
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:5
  | 1)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
  | at 
org.jboss.system.ServiceController.doChange(ServiceController.java:656)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:431)
  | at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
  | at 
org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.ja
  | va:53)
  | at 
org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
  | at 
org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
  | at 
org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
  | at 
org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451)
  | at 
org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
  | at 

[jboss-user] [JBoss jBPM] - Re: deploy jbpm3.1.2 to tomcat5.0.28 with oracle9i

2006-11-26 Thread dusixiang
kukeltje wrote : did you deploy a process?

I'm not sure. how can i check it?

Is there some *.process file in some dir like WEB-INF/classes?

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

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


[jboss-user] [JBoss Seam] - Timer issue just broke my site after a week of no issues. Pl

2006-11-26 Thread modoc
I'm in a bit of a panic, as my newly launched site, which just made the front 
page of digg.com yesterday, and as such is seeing a ton of traffic, just broke, 
and I can't figure out how to fix it.

The site was up and working fine for a week.  It still works perfectly on my 
dev box, with no changes anywhere.  I've restarted, blown out the tmp dir, 
re-pushed the ear, etc... no changes.

I'm using seam, a timer on a POJO, and have the timers configured to not 
persist.

Essentially, every 60 seconds, an e-mail account is checked, and all incoming 
e-mails are processed.  The timed component code looks like this:


  | /**
  |  * 
  |  */
  | package com.digitalsanctuary.seam;
  | 
  | import java.util.Date;
  | 
  | import javax.ejb.Timer;
  | 
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Asynchronous;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Logger;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Scope;
  | import org.jboss.seam.annotations.Synchronized;
  | import org.jboss.seam.annotations.timer.Expiration;
  | import org.jboss.seam.annotations.timer.IntervalDuration;
  | import org.jboss.seam.log.Log;
  | 
  | import com.digitalsanctuary.mail.IMAPClient;
  | 
  | @Name(emailService)
  | @Scope(ScopeType.APPLICATION)
  | @Synchronized
  | public class EmailService {
  | 
  | @Logger
  | private Log mLog;
  | 
  | @In(value = emailManager, create = true)
  | private EmailManager mEmailManager;
  | 
  | @In(value = IMAPClient, create = true)
  | private IMAPClient mIMAPClient;
  | 
  | /**
  |  * This method is called on a schedule determined by the passed in 
parameters. It gets new messages using the
  |  * IMAPClient, and passes them into the EmailManager for processing.
  |  * 
  |  * @param pDate
  |  *the Date to start the scheduled job.
  |  * @param pInterval
  |  *the number of millisecond between each run.
  |  * @return the EJB Timer instance that handles the scheduling of this 
task.
  |  */
  | @Asynchronous
  | public Timer processEmailsRecurring(@Expiration
  | Date pDate, @IntervalDuration
  | long pInterval) {
  | mLog.info(proccessEmailsReccurring running...);
  | this.mEmailManager.processNewEmails(mIMAPClient.getNewMessages());
  | return null;
  | }
  | }
  | 


It gets invoked in the create method of another class:


  | @Create
  | public void doStartService() {
  | mLog.info(Starting up...);
  | mClientMap = new HashMapString, SessionMailQueue();
  | mLog.info(Kicking off recurring email processor.);
  | this.mEmailService.processEmailsRecurring(new Date(), 6);
  | }
  | 


as you can see, the method that gets called every 60 seconds is:

this.mEmailManager.processNewEmails(mIMAPClient.getNewMessages());

The inner method, getNewMessages gets called, and I can see it's log messages 
at it invokes successfully.  however, the outer method, processNetEmails, 
doesn't seem to get called.  Instead, immediately after the log lines from the 
getNewMessages execution, I get this:

17:56:56,804 ERROR [TimerImpl] Error invoking ejbTimeout: 
javax.ejb.EJBException: java.lang.NullPointerException

I don't know why it would be trying to timeout.  The processMailsRecurring 
method, does return null instead of a valid Timer, so that might cause a NPE, 
but I took that code from the example in SeamPay, where it returns null.  It 
also works totally fine in my dev environment, and worked in my production 
environment for a week without issue.

The server.log with all the debug info is below.

I'd appreciate ANY advice, as my site looks like it's working, but none of the 
e-mail ever gets processed correctly, so this is a huge problem for me.

It worked fine, and now it's broken and I don't know how to fix it.

Thanks to anyone who can help!


Modoc



  | 2006-11-26 17:20:47,798 INFO  [com.digitalsanctuary.seam.EmailManager] 
Starting up...
  | 2006-11-26 17:20:47,798 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.interpolator
  | 2006-11-26 17:20:47,798 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.interpolator
  | 2006-11-26 17:20:47,798 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.interpolator
  | 2006-11-26 17:20:47,798 INFO  [com.digitalsanctuary.seam.EmailManager] 
Kicking off recurring email processor.
  | 2006-11-26 17:20:47,799 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.dispatcher
  | 2006-11-26 17:20:47,804 DEBUG [org.jboss.seam.util.Naming] JNDI 
InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 2006-11-26 17:20:47,804 DEBUG 

[jboss-user] [JBoss Seam] - Re: Timer issue just broke my site after a week of no issues

2006-11-26 Thread modoc
I am using jboss 4.0.5, installed with the jmes installer, and the error 
started happening when i was using seam 1.0.1.  I upgraded to 1.1 just now in 
an attempt to fix it, but the error persists.

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

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


[jboss-user] [JBoss jBPM] - Re: deploy jbpm3.1.2 to tomcat5.0.28 with oracle9i

2006-11-26 Thread dusixiang
yeah, I fixed it .
Thanks a lot , guys. :-)

I Modified the build.deploy.xml in the deploy.processes target as the same as 
following, and then use the :
ant deploy.processes -buildfile build.deploy.xml
command deployed (or redeployed ) my processes.



  | target name=deploy.processes depends=declare.jbpm.tasks 
description=deploys the jbpm processes
  | ant antfile=build.xml target=build.processes inheritall=false / 
  | deployprocess cfg=src/config.files/hibernate.cfg.xml 
  |
properties=${basedir}/src/resources/oracle/create.db.hibernate.properties
  |   fileset dir=build includes=*.process /
  | /deployprocess
  |   /target
  | 

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

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


[jboss-user] [JBoss Messaging] - JBOSS communication with client

2006-11-26 Thread kksenthil76
Hi,

I am into JBOSS research, I would like to know how the Message passed from SOAP 
client or Java client  to apache AXIS through JBOSS.
Is that through socket or rmi communication between SOAP client/java client to 
JBOSS. Let me know the API also.


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

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


[jboss-user] [JBoss Seam] - Re: Timer issue just broke my site after a week of no issues

2006-11-26 Thread modoc
So it looks like the mail checking part was taking too long and then things 
blew up.  When I cleaned out the incoming mail spool, it started working 
without issue.

So in the interim I can have the scheduled method execute more frequently, 
hence having less e-mail to process each time.

However, I'm not sure why it became an issue?  Can I tell the timer service to 
let it run unless it takes more than say 2 minutes?

I'm no expert in ejb 3 timer code, and the seam wrapper even less so.

Ideas?


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

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


[jboss-user] [Clustering/JBoss] - Re: NameAlreadyBoundException in JBoss5.0.0Beta1

2006-11-26 Thread hmesha
You must use binding manager to start more than one instance on the same 
machine: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine


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

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


[jboss-user] [JBoss Seam] - Re: Timer issue just broke my site after a week of no issues

2006-11-26 Thread modoc
And by too long i mean on the order of 3-10 seconds.

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

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


[jboss-user] [JBossWS] - jbossws-1.0.4 build/test problem

2006-11-26 Thread Ganton
I attempted to build 1.0.4 out of the repository, using ant-1.6.5, and got the 
null pointer exception mentioned in the wiki at: 

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall

I upgraded to ant-1.7.0RC1, which includes Xerces 2.8.2, and now when 
attempting to run the test suite, I get the following


  | BUILD FAILED
  | C:\jboss_build\jbossws-1.0\src\test\build.xml:291: The following error 
occurred
  | while executing this line:
  | C:\jboss_build\jbossws-1.0\src\test\ant\build-jars-jaxrpc.xml:1759: No 
WEB-INF/w
  | eb.xml file was added.
  | If this is your intent, set needxml='false'
  | 

This didn't look like it would be an issue with the ant version.

I checked out the build.xml in src/test, and it wasn't readily apparent where I 
was supposed to set this.



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

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


[jboss-user] [JBoss Seam] - Error when migrating to Seam 1.1.0 CR1

2006-11-26 Thread yj4jboss
Hello,
   I recently upgraded from

Hibernate-Version: 3.2.0.CR2
Hibernate EntityManager Version: 3.2.0.CR1


to

Hibernate-Version: 3.2.0.ga
Hibernate EntityManager Version: 3.2.0.CR2


which comes with Seam 1.1.0CR1.

I am also using MySQL 5.0


Since then my web application which is using Seam is not carrying out removal 
of objects correctly ??


We have a GenericDAO which perform basic db operations such as persist, merge, 
select all and remove.

The remove method in the Generic DAO is as follows:

  | 
  | public void remove(T persistentInstance) {
  |   log.debug(removing + this.getPersistentClassName() + instance);
  |   try {  
  |  entityManager.remove(persistentInstance); 
  |  entityManager.flush();
  |  log.debug(remove successful);
  |   } catch (RuntimeException re) {
  |  log.error(remove failed, re);
  |  throw re;
  |   }
  |}
  | 
  | 


We then implement a SLSB using the GenericDAO for a particular object as 
follows:

  | @Stateless
  | @Name(shareIndexDAO)
  | public class ShareIndexHome extends GenericDAOShareindex, Byte implements 
ShareIndexLocal {
  | 
  | }
  | 

Its interface is as follows:

  | public interface ShareIndexLocal {
  | 
  | public abstract void persist(Shareindex transientInstance);
  | 
  | public abstract void remove(Shareindex persistentInstance);
  | 
  | public abstract Shareindex merge(Shareindex detachedInstance);  
  | 
  | public abstract ListShareindex selectAll();
  | }
  | 

The SLSB is injected in a SFSB which has methods called by JSF Components. For 
example:


  | @In(create=true)
  | private ShareIndexLocal shareIndexDAO;
  | 
  | public void deleteShareSelectedIndex(){
  | 
  | shareIndexDAO.remove(selectedShareIndex); //selectedShareIndex is the 
DataModelSelection
  | this.ListShareIndexes(); // refreshes the List in the DataModel
  | FacesMessages.instance().addFromResourceBundle(ShareIndexDeleteMsg);
  | 
  | 
  | }
  | 
  | 


While the above approach was working with the previous Hibernate versions, we 
fail to understand why we get the following error with the one coming with Seam 
1.1.0 CR1:


  | javax.faces.el.EvaluationException: Exception while invoking expression 
#{currencyEditor.deleteInstance}
  | at 
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:59)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:95)
  | at org.jboss.seam.core.Pages.callAction(Pages.java:366)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:252)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:201)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 

[jboss-user] [JBoss Seam] - Re: Error when migrating to Seam 1.1.0 CR1

2006-11-26 Thread [EMAIL PROTECTED]
Right, I think this is a change in HEM. Hibernate tolerates delete(detached), 
but JPA does not tolerate remove(detached).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988722
___
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-11-26 Thread cjindahouse
I also get the same message after installing JBOSS 4.0.5GA with EJB3 support 
from the JEMS installer. 

I can deploy an application but I'm not able to deploy a simple EJB3 app.

I think these errors messages maybe the cause.

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

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


[jboss-user] [Security JAAS/JBoss] - redirect port 8080 to 8443

2006-11-26 Thread khandan
Hi everybody
which can i redirect port from 8080 to 8443 and from 8443 to 8080.
i wish when i type http://localhot:8080/myapp, browser swich to 
https://locahost:8443/myapp.
i changed jboss-4.0.4.GA/server/default/deploy/jbossweb-tomcat55.sar/server.xml 
but
that was not corrected.
thanks for your help

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

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


[jboss-user] [Clustering/JBoss] - Re: NameAlreadyBoundException in JBoss5.0.0Beta1

2006-11-26 Thread javidjamae
No you don't. If you read the #1 option under the link that you sent me, it 
tells you how to do it without the ServiceBindingManager.

You can start multiple nodes so long as you bind them to different network 
addresses running on the same machine. This is what I did using the -b flag as 
I mentioned above. When you provide the -b flag, the instance that you start 
will bind and listen only on the IP address that you specify, so there are no 
port conflicts.

You can do this on a multi-homed box or use virtual IPs (the way that I'm doing 
it). To use virtual IPs in Windows, you have to go to the TCP/IP configuration 
for your network connection and add a static IP address then add additional IP 
addresses using the advanced settings. In unix, you can use ifconfig.

I find this to be a much easier way to run multiple nodes on the same machine 
than running the service binding manager.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: PluggableInstrumentor

2006-11-26 Thread sweetvenkat
ip0 wrote : Just tested it:
  | 
  | jboss 4.0.5 (zip distribution)
  | jdk 1.5.0_09-b03 (win32)
  | bundled eclipse 3.1.1 with jboss-ide 1.5.1.GA
  | 
  | The server configuration (chapter 10) worked fine. Which versions have you 
been using?


Hi;

I am having the same problem what richy007 had. I am using the same tools as 
you.

jboss 4.0.5 (zip distribution)
jdk 1.5.0_09-b03 (win32)
bundled eclipse 3.1.1 with jboss-ide 1.5.1.GA

Richy, did you find the solution to this? I have been desperate working on this 
issue. Thanks for letting me know where the problem is? Should i make changes 
to 
jbossdeploymentdir/server/default/deploy/jboss-aop.jdk50.deployer/META-INF/jboss-service.xml
 and /jbossdeployementdir/bin/run.bat? 

Thanks in advance.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988726
___
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-11-26 Thread cjindahouse
Just to clarify, I'm using the same installer and (possibly due to the same 
errors) I'm not able to deploy a simply EJB3 component. The ear can deploy ok 
but the EJB3Deployer does not seem to pick up and load the EJB3.

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

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


[jboss-user] [JBoss AOP] - Re: How do you use EnableLoadtimeWeaving for a Windows Servi

2006-11-26 Thread sweetvenkat
supernovasoftware.com wrote : I got this to work using the following syntax.  
I had to add pluggable-instrumentor.jar  to the classpath and 
-javaagent:pluggable-instrumentor.jar as an option.
  | 
  | 
  |   | set 
claspath=%jdkhome%\lib\tools.jar;%jbossbin%\run.jar;%jbossbin%\pluggable-instrumentor.jar
 
  |   | 
  |   | jbossservice.exe -install JBoss-4.0.3SP1  
%jdkhome%\jre\bin\server\jvm.dll
  |   |   -Djava.class.path=%claspath% 
  |   |   -javaagent:pluggable-instrumentor.jar
  |   |   -Xms128m
  |   |   -Xmx512m 
  |   |   -start org.jboss.Main
  |   |   -stop org.jboss.Main
  |   |   -method systemExit
  |   |   -out %jbossbin%\stdout.log
  |   |   -err %jbossbin%\stderr.log
  |   |   -current %jbossbin%
  |   |   -depends pgsql-8.1


Hello Jason



I am having the same environment like you. I am getting the same problem that 
Unable to start AspectManager..Exactly the same.



http://www.jboss.com/index.html?module=bbop=viewtopicp=3910105


You cofingured the pluggable-instrument.jar in classpath and in options. Good. 
Where should I make these changes? In which file? is it jboss/bin/run.bat. I 
found nothing there. No classpath and no options.


Thanks in advance for letting me know. I have been desparate working on this.

Eswarrao Ankamreddy

 


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

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


[jboss-user] [JBoss Seam] - Re: Understanding Conversations

2006-11-26 Thread toni
Hi,

since I haven't gotten any replies to my post I was wondering, if somebody 
could help me and try out the example above?

I don't know why the conversation list is not being updated correctly or only 
after a reload of the page.

I copied the code to display it from the issues example, so I think it should 
work.

Hoping for some help,
Toni

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Starting JBoss from Eclipse

2006-11-26 Thread [EMAIL PROTECTED]
you mean a OS level user ?

JBoss IDE is used to run/debug jboss as for application development and to do 
that we launch jboss app server from within eclipse in a seperate JVM. That JVM 
is always started by the current user.

If you are talking about the jboss as level user to stop and adminster an 
installation then that is (currently) done in the launch configuration by 
editing the shutdown and twiddle commands where you can set -user and -password 
to the relevant values.

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

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


[jboss-user] [JBoss/Spring Integration] - Jboss + Hibernate + Spring doesn´t release db connection

2006-11-26 Thread rgarciaesteban_cyii
Hi all,

I´m developing an application for jboss 4.0.3SP1 with hibernate 3.1 and spring 
1.2. In Tomcat works fine but in JBoss opens 10 connection for every query but 
doesn't release any connection. I don´t know where is the problem in JBoss or 
in Spring transaction manager, or in the hibernate configuration. 
I have done a lot of test with JTA without JTA and I don´t know what more do,

Thanks in advance,

Rodolfo

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

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

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


[jboss-user] [EJB 3.0] - Problems with self referencing entites

2006-11-26 Thread martin ganserer
Hello,

I have got an entity bean let's call it users. This entity has a many to many 
relationship to other user entity beans.

Basically everything works fine but I have got a problem when I want to get 
really all users of one user.
(A user consists of many users and one of these users can have further users 
and so on)


I really tried everything:
- setup an ejbQL statement - didn't work
- defining a stateless session bean that performs recursive calls - this 
failed because SLSB might have problems with recursive invocations.

Is there anybody that faces the same problems or might have found a solution 
for my problem? To be honest I really don't care about the implementation 
itself. It must only work!

Regards


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

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


[jboss-user] [EJB 3.0] - Re: JBoss 4.0.5 EJB3 Deploy need server restart ?

2006-11-26 Thread djr667
FYI

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

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

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