[JBoss-user] [Beginners Corner] - Re: Compile Warnings

2005-09-07 Thread darranl
Can you please show how you are attempting to copile your code.  What command 
are you using?  Are you using Ant?  If you are using Ant what does the script 
look like?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Default JBoss Security problem

2005-09-07 Thread darranl
Ok we are getting a little bit closer, however 4.0 is still not enough 
information for a version - there should be one more digit (0, 1 or 2) and 
possibley some letters and a digit.

The installer is only available with 4.0.3, I just wanted to check if you were 
using the installer as that gives you an option to secure the consoles.

Can you check the file {jboss.home}/server/default/log/server.log for any stack 
traces when the server starts.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Web services on JBoss 3.0.7 by jwsdp - big problems

2005-09-07 Thread Roman.Angelov
Hi all,

Before two weeks, I made web service for JBoss 4.0.2 by jwsdp 1.6. Now I must 
migrate to JBoss 3.0.7 and my web service doesn't work on the oldest server. I 
generated the web service with jwsdp 1.1,1.2,1.3 and try on the version 4.0.2 - 
failure. My question is: is it possible to create web service on JBoss 3.0.7 by 
jwsdp and if not witch is the way? Thank you for the answers.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Web services on JBoss 3.0.7 by jwsdp - big problems

2005-09-07 Thread darranl
JBoss 3.0.7 used JBoss.NET for web services.

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

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - javax.naming.NameNotFoundException: jdbc not bound

2005-09-07 Thread hsernah
Hi !

I've a application deployed with JBoss 4.0.2 Solaris 2.8, I've create a Oracle 
DS, when I try to read data from a database throw DS works fine, but when I try 
to insert, delete or update records from database the jboss show the next error.

2005-09-07 09:17:55,662 ERROR [org.jboss.ejb.plugins.LogInterceptor] Transaction
RolledbackLocalException in method: public abstract int com.soluzionasf.arqw10.g
c.cmp.OracleSequenceSessionLocal.getNextSequenceNumber(java.lang.String) throws
javax.ejb.FinderException, causedBy:
javax.naming.NameNotFoundException: jdbc not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:249)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.soluzionasf.arqw10.gc.cmp.OracleSequenceSessionBean.getConnection
(OracleSequenceSessionBean.java:76)
at com.soluzionasf.arqw10.gc.cmp.OracleSequenceSessionBean.getNextSequen
ceNumber(OracleSequenceSessionBean.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:185)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:130)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(Service
EndpointInterceptor.java:51)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:105)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
66)


This is my DS definition

?xml version=1.0 encoding=UTF-8?

  local-tx-datasource
jndi-namejdbc/OracleDS/jndi-name
connection-urljdbc:oracle:thin:@10.98.10.42:1532:orcl28/connection-url
  driver-classoracle.jdbc.driver.OracleDriver/driver-class
user-nameevo_adminis/user-name
evo_adminis1

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name

type-mappingOracle9i/type-mapping

  /local-tx-datasource



Who knows the solutions for my problem

Thanks for advance

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: javax.naming.NoInitialContextException

2005-09-07 Thread rrawasi
I create that File and put it in my Client classpath, but still I have that 
error, I'm new to EJB ,I just make Home,Bean class and remote interface  + 
client .
Do I need to create jar file from my EJB files, or do I need to do some extra 
things?
Please recommend me some documentation according to help me work with JBOSS IDE 
and let me compile my EJBs.
Thanks

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?

2005-09-07 Thread gulaplaarajasekhar
Hi Andrew,

 For the first case, 
 Assume we have 2 webserver/appserver for e.g., jboss and 
tomcat, then it is not possible to access a file present in tomcat under 
a.b.c.Src where a.b.c.Src is a class from jboss by default.

Because the jboss classloader  doesn't know anything about it. 
But if we are able to tell the jboss classloader to see even in the other 
classloader(the path is given in some files), then we can have a case where we 
deploy our classfiles in tomcat and can able to access it in the jboss also, 
without any duplicate classes.

  In the second case, 
the classpath has to be set correctly. -- If you need some more 
information about this you shld the documnetation of that particular server.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Yet another Class Loader problem - Please Help

2005-09-07 Thread gulaplaarajasekhar
hi,

  If you are sure that the exception you are getting is due to tomcat, then 
putting the jar file in $TOMCAT_HOME/lib/. should work for you.

Thanks
G.Rajasekhar

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - nodes not recognising each other on Linux and farming also n

2005-09-07 Thread gunjan_iitk
I am running two nodes say A and B, one each on different mechines with the 
partion name DefaultPartion on same network. Node A started first then Node B 
Started. Node B log says other cluster members are 0. Is itn't suppose to say 
1? Any idea what i am doing wrong? pasted below are my logs .I have succesfuly 
done clustering on Windows machine but I am getting problem on Linux.
nodes are not recognising each other and also farming is not working.
I am nearly using the same configurations as done on windows where everything 
works perfectly.

Node B Logs: 

GMS: address is gunjans:32815 (additional data: 14 bytes) 
--- 
2005-02-11 14:15:04,853 DEBUG [org.jboss.ha.framework.server.ClusterPartition] 
Starting channel 
2005-02-11 14:15:04,854 DEBUG 
[org.jboss.ha.framework.interfaces.HAPartition.server1] get nodeName 
2005-02-11 14:15:04,859 DEBUG 
[org.jboss.ha.framework.interfaces.HAPartition.server1] Get current members 
2005-02-11 14:15:04,860 INFO 
[org.jboss.ha.framework.interfaces.HAPartition.server1] Number of cluster 
members: 1 
2005-02-11 14:15:04,860 INFO 
[org.jboss.ha.framework.interfaces.HAPartition.server1] Other members: 0 
2005-02-11 14:15:04,861 INFO 
[org.jboss.ha.framework.interfaces.HAPartition.server1] Fetching state (will 
wait for 3 milliseconds): 
2005-02-11 14:15:04,920 INFO 
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.server1] New cluster 
view for partition server1 (id: 0, delta: 0) : [127.0.0.1:1099] 


--- 
GMS: address is gunjans:32818 
--- 2005-02-11 14:15:22,152 
INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [esdev01:32818] 
2005-02-11 14:15:22,153 INFO [org.jboss.cache.TreeCache] new cache is null 
(maybe first member in cluster) 
2005-02-11 14:15:22,154 INFO [org.jboss.cache.TreeCache] state could not be 
retrieved (must be first member in group) 
2005-02-11 14:15:22,277 DEBUG [org.jboss.cache.TreeCache] Started 
jboss.cache:service=TomcatClusteringCache 
2005-02-11 14:15:22,277 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss.cache:service=TomcatClusteringCache dependent 
components: [] 

I have succesfuly done clustering on Windows machine but I am getting problem 
on Linux.
nodes are not recognising each other and also farming is not working.
I am nearly using the same configurations as done on windows where everything 
works perfectly.
My cluster-service.xml on node A is
?xml version=1.0 encoding=UTF-8?

!-- = --
!--   --
!--  Sample Clustering Service Configuration  --
!--   --
!-- = --



   

   !--  --
   !-- Cluster Partition: defines cluster   --
   !--  --

   
 
  !-- Name of the partition being built --
  ${jboss.partition.name:DefaultPartition}

  !-- The address used to determine the node name --
  ${jboss.bind.address}

  !-- Determine if deadlock detection is enabled --
  False
 
  !-- Max time (in ms) to wait for state transfer to complete. Increase 
for large states --
  3

  !-- The JGroups protocol configuration --
  
 !--
 The default UDP stack:
 - If you have a multihomed machine, set the UDP protocol's bind_addr 
attribute to the
 appropriate NIC IP address, e.g bind_addr=192.168.0.2.
 - On Windows machines, because of the media sense feature being broken 
with multicast
 (even after disabling media sense) set the UDP protocol's loopback 
attribute to true
 --
 
  
 
UDP mcast_addr=228.1.2.3 mcast_port=45566
   ip_ttl=8 ip_mcast=true
   mcast_send_buf_size=80 mcast_recv_buf_size=15
   ucast_send_buf_size=80 ucast_recv_buf_size=15
   loopback=false bind_addr=10.1.1.74/
PING timeout=2000 num_initial_members=3
   up_thread=true down_thread=true/
MERGE2 min_interval=1 max_interval=2/
FD shun=true up_thread=true down_thread=true
   timeout=2500 max_tries=5/
VERIFY_SUSPECT timeout=3000 num_msgs=3
   up_thread=true down_thread=true/
pbcast.NAKACK gc_lag=50 
retransmit_timeout=300,600,1200,2400,4800
   max_xmit_size=8192
   up_thread=true down_thread=true/
UNICAST timeout=300,600,1200,2400,4800 window_size=100 
min_threshold=10
  

[JBoss-user] [Beginners Corner] - Re: Run a class method when JBoss startup/an EAR is deployed

2005-09-07 Thread gulaplaarajasekhar
I can just suggest you an idea, But I am sure that it will work, if done 
correctly.But there may be even other ways better thatn what I say??. 

 The way i am saying is that You have to touch the source of Jboss.  Find the 
method where it says or prints the statement JBOSS started/ Find the place in 
the class where it really starts the jboss. At that place try to call you 
method. 

and Similarly there should be another place where it says the ear/war file is 
successfully deployed.

Thanks
G.Rajasekhar



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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Run a class method when JBoss startup/an EAR is deployed

2005-09-07 Thread raja05
You can write listeners to listen for specific events. In your case, there are 
events that are generated when a EAR is deployed.
 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener
The link above gives info on how to create a notification. The various Deployer 
classes in JBoss (Maindeployer,Eardeployer, JarDeployer) send out various 
events and can be captured .

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Trying to deploy my first ejb package

2005-09-07 Thread gulaplaarajasekhar
Assuming that you are using only one container or one webserver I think you 
have set the classpath correctly.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - limit of Service Binding Management

2005-09-07 Thread BDV
For some time we're using Service Binding management. For each application we 
have a test, an accept and a production-environment. So that makes 3 instances 
of JBoss per application. That makes that we're having servers running to up to 
9 jboss instances simultaniously. There seems to be no problems so far. 
My question is: Is there a theoretical limit to the amount of jboss instance on 
one server? I mean, if the hardware can deal with it, how far can jboss go?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Trying to deploy my first ejb package

2005-09-07 Thread raja05
phon wrote : 
  | this is the source code of the classes
  | 
  | import javax.ejb.Stateless;
  | 
  | 

javax.ejb.Stateless should be javax.ejb.SessionBean. What is 
javax.ejb.Stateless?


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - query-timeout not working

2005-09-07 Thread daune_jf
Hi,

we have a JBoss app. which is hanging for more than 15 minutes when the RDBMS 
becomes unreachable.

To avoid this, I migrated to JBoss 4.0.3 and set query-timeout in our 
datasource deployer. But it does not seem to work as I don't see any behavior 
change.

I see the TransactionManager's trace warning that the transaction has timed 
out, but it does not interrupt the blocked thread. Even with InterruptThreads 
set to 'true'.

Is there a way to force JBoss to return if RDBMS is unreachable ???

Thanks  Regards,

J-F

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Barrier Service and Static SingletonMBean

2005-09-07 Thread milmber
I'm trying to use a BarrierService to detect whether my static singleton MBean 
has become master, and if so...to start other dependent MBeans.

My dependent MBeans seem to be waiting correctly for the Barrier, but I'm 
having trouble picking up the notification that my static Singleton MBean has 
become master.

Here is my jboss-service.xml:


  | ?xml version=1.0 encoding=UTF-8?
  | 
  | server
  |   classpath codebase=. archives=quartz.jar/   
  |   mbean 
code=com.mailtrack.app.generic.service.scheduler.SchedulingService 
name=promail:service=SchedulingService
  | dependsjboss.jca:service=LocalTxCM,name=SchedulerDS/depends
  | dependspromail:service=ConfigurationService/depends
  |   /mbean
  | 
  |   !-- Make this MBean an singleton --
  |   mbean code=org.jboss.ha.singleton.HASingletonController
  |   name=promail:service=SchedulingService-HASingletonController
  |   dependsjboss:service=DefaultPartition/depends 
  |   dependspromail:service=SchedulingService/depends
  |   attribute name=PartitionNameDefaultPartition/attribute
  |   attribute 
name=TargetNamepromail:service=SchedulingService/attribute
  |   attribute name=TargetStartMethodstartSingleton/attribute
  |   attribute name=TargetStopMethodstopSingleton/attribute
  |   attribute name=TargetStopMethodArgumenttrue/attribute
  |/mbean
  | 
  |   !--
  | In this example we have the BarrierController controlling a Barrier
  | that is started when we receive the 
jboss.tomcat.connectors.started
  | notification from the Tomcat mbean, and stopped when we receive the
  | org.jboss.system.server.stopped notification from the server 
mbean.
  | 
  | The dependent services need only define a dependency on the Barrier 
mbean!
  |   --
  |   mbean code=org.jboss.system.BarrierController
  |  name=jboss:service=BarrierController
  | 
  | !-- Whether to have the Barrier initially started or not --
  | attribute name=BarrierEnabledOnStartupfalse/attribute
  | 
  | !-- Whether to subscribe for notifications after startup --
  | attribute name=DynamicSubscriptionstrue/attribute
  | 
  | !-- Dependent services will depend on this mbean --
  | attribute 
name=BarrierObjectNamepromail:service=SchedulingService,type=Barrier/attribute
  | 
  | !-- The notification subscription handback that starts the barrier 
--
  | attribute name=StartBarrierHandbackStarted/attribute
  | 
  | !-- The notification subscription handback that stops the barrier 
--
  | attribute name=StopBarrierHandbackStopped/attribute
  | 
  | !-- The notifications to subscribe for, along with their handbacks 
--
  | attribute name=SubscriptionList
  |   subscription-list
  | mbean name=promail:service=SchedulingService 
handback=Started
  | filter factory=AttributeChangeNotificationFilterFactory
  | enable attribute-name=State/
  | /filter
  | 
  | /mbean
  | mbean name=promail:service=SchedulingService 
handback=Stopped
  |   filter factory=AttributeChangeNotificationFilterFactory
  | enable attribute-name=State/
  |   /filter
  | /mbean
  |   /subscription-list
  | /attribute
  |   /mbean
  | 
  | 
  | /server
  | 


The highlighted parts of my descriptor above show the bits I'm not clear about. 
And AttributeChangedNotification does not usually return a handback object ( 
I'm not 100% clear on this ) so I am not sure which values to use for 
StartBarrierHandback and StopBarrierHandback. I know I should look at the 
MasterNode or State attributes of my static singletonMBean...although the above 
does not work.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Webservice Client Consuming An External Webservice

2005-09-07 Thread hopkirk
Hi all,

We have the need for a web application POJO web service client to consume 
an externally provided web service.  I have read through the examples on the 
WIKI and have also gone through the examples-4.0.2.zip.
I'm getting an exception when my client does the JNDI lookup to retrieve the 
dynamic proxy created by JBoss.

 I have performed the following steps to deploy my client inside a war:

1. Generated client side artifacts using wscompile from JWSDP1.6 and the 
externally provide WSDL file.  I had to add a namespaceMappingRegistry tag to 
fix some namespace problems with the XSD files that came along with the WSDL.
2. Packaged only the generated interfaces from the above step into a jar to 
include in my deployment.
3. Have added service-ref tag in my web.xml file.  The wsdl-file tag points 
to my wsdl file in WEB-INF/wsdl.
4. Have packaged the wsdl + jaxrpc-mapping.xml file from step 1 into the war in 
WEB-INF/wsdl directory.


  When my client does the JNDI lookup, I get the following exception:
  
  
  | 10:40:39,258 INFO  [STDOUT] Caused by: java.lang.IllegalArgumentException: 
Multiple bindings not supported for service: {http://xxx.xx.
  | x.xx.com}X
  | 10:40:39,274 INFO  [STDOUT] at 
org.jboss.webservice.deployment.ServiceDescription.getWsdlBinding(ServiceDescription.java:1028)
  | 10:40:39,274 INFO  [STDOUT] at 
org.jboss.webservice.deployment.ServiceDescription.init(ServiceDescription.java:104)
  | 10:40:39,274 INFO  [STDOUT] at 
org.jboss.webservice.client.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:200)
  | 10:40:39,274 INFO  [STDOUT] at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
  | 10:40:39,289 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)
  | 10:40:39,289 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)
  | 

I'm assuming that this is due to the namespace clashes from step 1 above.  
Is there anyway to pass the equivalent namespaceMappingRegistry info to JBoss 
at runtime so that it can parse the WSDL and XSD files correctly ?  Or do I 
have to manually correct the problems with the XSD files myself ?

Running on JBoss-4.0.3RC1, JDK 1.5.

thanks for any help,
Rich

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: What is this JBossGenericPrincipal that keeps getting st

2005-09-07 Thread DrPizza
2005-08-30 19:36:29,217 INFO  [STDOUT] java.io.NotSerializableException: 
org.jboss.web.tomcat.security.JBossGenericPrincipal
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.util.LinkedList.writeObject(LinkedList.java:755)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
javax.security.auth.Subject$SecureSet.writeObject(Subject.java:1281)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:380)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.util.Collections$SynchronizedCollection.writeObject(Collections.java:1606)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:380)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
javax.security.auth.Subject.writeObject(Subject.java:919)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2005-08-30 19:36:29,217 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2005-08-30 19:36:29,233 INFO  [STDOUT]  at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
  | 2005-08-30 19:36:29,233 INFO  [STDOUT]  at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
  | 2005-08-30 19:36:29,233 INFO  [STDOUT]  at 

[JBoss-user] [Beginners Corner] - EJB3 Trailblazer Demo: Issue running on MS SQL

2005-09-07 Thread j.rusch
Hi,

while trying out the EJB3 Trailblazer Demo I found out that on Microsoft 
SQL-Server the investor table is not generated due to the use of end as a 
field name.

I added the following annotation in trail.entity.beans.investor.java

@Column(name = endage)
public int getEnd() {...

which made it working flawlessly.

I'm just curious if this is the right approach for handling the issue or is 
there another more general way to solve issues like this e.g. 
standardjbosscmp-jdbc.xml,..

Jan


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Problem getting mbean server

2005-09-07 Thread milmber
This link

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

should help. Perhaps particularly:

import org.jboss.mx.util.MBeanServerLocator;
  |...
  | // find the local MBeanServer
  | MBeanServer server = MBeanServerLocator.locateJBoss();

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Barrier Service and Static SingletonMBean

2005-09-07 Thread milmber
Further investigation shows that the BarrierService is not receiving any 
notifications from my static singleton MBean although the subscription seems to 
succeed:



  | DEBUG [org.jboss.system.BarrierController] Creating 
jboss:service=BarrierController
  | DEBUG [org.jboss.system.BarrierController] Parsing subscription 
specification
  | DEBUG [org.jboss.system.BarrierController] [SubscriptionInfo { 
objectName='promail:service=SchedulingService', handback=True, [EMAIL 
PROTECTED] }, SubscriptionInfo { 
objectName='promail:service=SchedulingService', handback=False, [EMAIL 
PROTECTED] }]
  | DEBUG [org.jboss.system.BarrierController] Subscribing for JMX 
notifications, dynamic=true
  | DEBUG [org.jboss.system.BarrierController] Subscribed to: { 
objectName='promail:service=SchedulingService', 
listener='jboss:service=BarrierController', handback=True, [EMAIL PROTECTED] }
  | DEBUG [org.jboss.system.BarrierController] Subscribed to: { 
objectName='promail:service=SchedulingService', 
listener='jboss:service=BarrierController', handback=False, [EMAIL PROTECTED] }
  | DEBUG [org.jboss.system.BarrierController] Subscribed to 
MBeanServerDelegate, too
  | DEBUG [org.jboss.system.BarrierController] Created 
jboss:service=BarrierController
  | DEBUG [org.jboss.system.BarrierController] Starting 
jboss:service=BarrierController
  | DEBUG [org.jboss.system.BarrierController] Started 
jboss:service=BarrierController
  | 


Is there something else I need to other than extend ServiceMBeanSupport in my 
implementation class?

Do standard MBeans actually emit AttributeChangeNotifications or just XMBeans?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Barrier Service and Static SingletonMBean

2005-09-07 Thread [EMAIL PROTECTED]
The issue here is, I don't think you can count on the AttributeValueChange 
(AVC) from your Scheduling service (that is if you extend ServiceMBeanSupport), 
because it's going to be started anyway when you deploy it.

The HASingletonController will invoke startSingleton/stopSingleton on your 
service, and you can emit a pair of notifications there to indicate this fact, 
then you intercept those in the BarrierController.

The hankback object is provided by whoever makes a subscription, to allow him 
to distinguish from which subscription a notification comes (because you can 
have many subscritpions). It has nothing to do with the Notification itself.

What I see here, this is a very good use case and if we make the 
HASingletonController emit alternatively notifications, rather than invoke 
callback (e.g. through a config option), we can then just attach a Barrier and 
have any number of mbeans to depend on that...

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Integrate Axis 1.2 with JBoss !!

2005-09-07 Thread [EMAIL PROTECTED]
JBoss has decoupled from Apache Axis in Mar/2004. As of this writing a modified 
axis version based on axis-1.1 that is BP-1.0 compliant, adds better support 
for doc/lit is used in jboss-3.2.x, jboss-4.0.x and jboss-head.

Any attempt to use another version of axis than the one we provide is not 
supported and will probably not work.

Starting with jboss-5.0 we will use our new SOAP stack that is a complete 
rewrite and independet of Apache Axis.

If you want to protect your investment, stay with standards i.e WS4EE

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - getting rid of the question marks in SQL output

2005-09-07 Thread phon
hello,

anyone knows how to get rid of the questions marks in de sql output of 
hibernate running inside the JBoss server ? the docs only say to look at 
log4j.properties, but i can't find that file in my JBoss install

anyone knows what to do ?

thx in advance

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Trying to deploy my first ejb package

2005-09-07 Thread phon
i found the solution to the problem a while ago
the directory structure of the jar wasn't consistent with the package 
declaration, so Jboss couldn't find the class


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Problems with persistent cache

2005-09-07 Thread Motormind
Okay, is there anyone who can tell me then how I can at least make sure that 
persisted items get deleted? 

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Business Rules Engine Presentation @ JBW Missing?

2005-09-07 Thread ivanp98

Where about could this JBW documentation be found, today??
Is JBW available in public domain?

Thanks in advance
  Ivan P.
 

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Farming problem on Linux

2005-09-07 Thread gunjan_iitk
I have got a cluster of jboss4.0.2 on 2 linux machines
I am using TCP 
Nodes are recognising each other
When i run both instances they recognise each other
then when i put my ear manually in farm folder of node 1, it gets deployed on 
node 1 
But deployment doesnt take place on node 2 and I get an exception on Node 1 
which is as follows
17:21:50,380 INFO  [DefaultPartition] Dead members: 0 ([])
17:21:50,380 INFO  [DefaultPartition] New Members : 0 ([])
17:21:50,380 INFO  [DefaultPartition] All Members : 2 ([127.0.0.1:1099, 127.0.0.
1:1099])
17:21:50,971 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=fi
le:/root/jboss_cluster/jboss-4.0.2/server/all/deploy-hasingleton/jms/jbossmq-htt
pil.sar/jbossmq-httpil.war/
17:21:56,790 INFO  [TreeCache] viewAccepted(): new members: [10.1.1.74:7810, 10.
1.1.180:7810]
17:21:56,791 INFO  [TreeCache] locking the tree to obtain transient state
17:21:56,795 INFO  [TreeCache] returning the transient state (140 bytes)
17:22:02,893 INFO  [STDOUT] java.io.FileNotFoundException: /root/jboss_cluster/j
boss-4.0.2/server/all/farm (Is a directory)
17:22:02,894 INFO  [STDOUT] at java.io.FileInputStream.open(Native Method)
17:22:02,894 INFO  [STDOUT] at java.io.FileInputStream.(FileInputStrea
m.java:106)
17:22:02,894 INFO  [STDOUT] at org.jboss.ha.framework.server.FarmMemberServi
ce.getFileContent(FarmMemberService.java:331)
17:22:02,894 INFO  [STDOUT] at org.jboss.ha.framework.server.FarmMemberServi
ce.getFarmedDeployment(FarmMemberService.java:361)
17:22:02,894 INFO  [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
17:22:02,894 INFO  [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
17:22:02,894 INFO  [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
17:22:02,894 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)

My cluster-service.xml on Node 1 is

 
  !-- Name of the partition being built --
  ${jboss.partition.name:DefaultPartition}

  !-- The address used to determine the node name --
  ${jboss.bind.address}

  !-- Determine if deadlock detection is enabled --
  False
 
  !-- Max time (in ms) to wait for state transfer to complete. Increase 
for large states --
  3

  !-- The JGroups protocol configuration --
  
 !--
 The default UDP stack:
 - If you have a multihomed machine, set the UDP protocol's bind_addr 
attribute to the
 appropriate NIC IP address, e.g bind_addr=192.168.0.2.
 - On Windows machines, because of the media sense feature being broken 
with multicast
 (even after disabling media sense) set the UDP protocol's loopback 
attribute to true
 
 
UDP mcast_addr=228.1.2.3 mcast_port=45566
   ip_ttl=8 ip_mcast=true
   mcast_send_buf_size=80 mcast_recv_buf_size=15
   ucast_send_buf_size=80 ucast_recv_buf_size=15
   loopback=false bind_addr=10.1.1.74/
PING timeout=2000 num_initial_members=3
   up_thread=true down_thread=true/
MERGE2 min_interval=1 max_interval=2/
FD shun=true up_thread=true down_thread=true
   timeout=2500 max_tries=5/
VERIFY_SUSPECT timeout=3000 num_msgs=3
   up_thread=true down_thread=true/
pbcast.NAKACK gc_lag=50 
retransmit_timeout=300,600,1200,2400,4800
   max_xmit_size=8192
   up_thread=true down_thread=true/
UNICAST timeout=300,600,1200,2400,4800 window_size=100 
min_threshold=10
   down_thread=true/
pbcast.STABLE desired_avg_gossip=2
   up_thread=true down_thread=true/
FRAG frag_size=8192
   down_thread=true up_thread=true/
pbcast.GMS join_timeout=5000 join_retry_timeout=2000
   shun=true print_local_addr=true/
pbcast.STATE_TRANSFER up_thread=true down_thread=true/
 
--
 !-- Alternate TCP stack: customize it for your environment, change 
bind_addr and initial_hosts --
 
 
TCP bind_addr=10.1.1.74 start_port=7800 loopback=true/
TCPPING initial_hosts=10.1.1.74[7800],10.1.1.180[7800] 
port_range=3 timeout=3500
   num_initial_members=2 up_thread=true down_thread=true/
MERGE2 min_interval=5000 max_interval=1/
FD shun=true timeout=2500 max_tries=5 up_thread=true 
down_thread=true /
VERIFY_SUSPECT timeout=1500 down_thread=false 
up_thread=false /
pbcast.NAKACK down_thread=true up_thread=true gc_lag=100
   retransmit_timeout=3000/
pbcast.STABLE desired_avg_gossip=2 down_thread=false 
up_thread=false /
pbcast.GMS join_timeout=5000 join_retry_timeout=2000 
shun=false
   

[JBoss-user] [JBossWS] - WSDL wsdlsoap:address location problem on Solaris 8

2005-09-07 Thread markad2
We have a web service where an internal company client uses the WSDL to 
'scrape' the service endpoint from the wsdlsoap:address location tag. 

Problem is they require a full-qualified domain name.  The WSDL generated has 
(for example)  host:8080, whereas the client needs host.company.com:8080.  
Modifying the following line in jboss-service.xml under 
server\default\deploy\jboss-ws4ee.sar\META-INF works under Windows:

   attribute name=WebServiceHosthost.company.com/attribute

...but under Solaris 8, it doesn't - the resulting WSDL still has host:8080.   
We found that adding the -b option when starting JBoss works (eg. 
-bhost.company.com), but we'd prefer to NOT modify the run scripts unless 
absolutely necessary.

Is there some reason modifying the jboss-service.xml doesn't work under Solaris?

Thanks in advance

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re-deploying EAR

2005-09-07 Thread Alar
Greetings. I have a question about deploying EAR.
I have created EAR file with 3 JARs - 2 libraries and one with my EJB's, and 
successfully deployed it. Now i need to deploy a new version, so I copy my new 
EAR to deploy dir, watching at the server log to make sure it has been 
succesfully deployed. However, the initialContext.lookup(...) returns me the 
old version of bean (according to application log).
I tried to restart JBoss, restart client application, clean server's tmp dir, 
undeploy the old EAR before deploying the new one.

Where is my mistake?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: nodes not recognising each other on Linux and farming al

2005-09-07 Thread [EMAIL PROTECTED]
You are binding to the loopback device: [127.0.0.1:1099]

So nobody will see *this* node

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: nodes not recognising each other on Linux and farming al

2005-09-07 Thread gunjan_iitk
Hi Bela,
Now I tried with TCP and nodes are recognising each other but still farming is 
not working
When i manually put th ear in farm folder of node1 it gets deployed on node1 
but not on node 2 and on node 1 i get exception
17:18:52,544 INFO  [JkMain] Jk running ID=0 time=0/44  config=null
17:18:52,610 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4
_0_2 date=200505022023)] Started in 1m:15s:154ms
17:21:50,378 INFO  [DefaultPartition] New cluster view for partition DefaultPart
ition (id: 1, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099]
17:21:50,380 INFO  [DefaultPartition] I am (127.0.0.1:1099) received membershipC
hanged event:
17:21:50,380 INFO  [DefaultPartition] Dead members: 0 ([])
17:21:50,380 INFO  [DefaultPartition] New Members : 0 ([])
17:21:50,380 INFO  [DefaultPartition] All Members : 2 ([127.0.0.1:1099, 127.0.0.
1:1099])
17:21:50,971 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=fi
le:/root/jboss_cluster/jboss-4.0.2/server/all/deploy-hasingleton/jms/jbossmq-htt
pil.sar/jbossmq-httpil.war/
17:21:56,790 INFO  [TreeCache] viewAccepted(): new members: [10.1.1.74:7810, 10.
1.1.180:7810]
17:21:56,791 INFO  [TreeCache] locking the tree to obtain transient state
17:21:56,795 INFO  [TreeCache] returning the transient state (140 bytes)
17:22:02,893 INFO  [STDOUT] java.io.FileNotFoundException: /root/jboss_cluster/j
boss-4.0.2/server/all/farm (Is a directory)
17:22:02,894 INFO  [STDOUT] at java.io.FileInputStream.open(Native Method)
17:22:02,894 INFO  [STDOUT] at java.io.FileInputStream.(FileInputStrea
m.java:106)
17:22:02,894 INFO  [STDOUT] at org.jboss.ha.framework.server.FarmMemberServi
ce.getFileContent(FarmMemberService.java:331)
17:22:02,894 INFO  [STDOUT] at org.jboss.ha.framework.server.FarmMemberServi
ce.getFarmedDeployment(FarmMemberService.java:361)
17:22:02,894 INFO  [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
17:22:02,894 INFO  [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
17:22:02,894 INFO  [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
17:22:02,894 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
17:22:02,894 INFO  [STDOUT] at org.jgroups.blocks.MethodCall.invoke(MethodCa
ll.java:236)
17:22:02,894 INFO  [STDOUT] at org.jboss.ha.framework.server.HAPartitionImpl
.handle(HAPartitionImpl.java:845)
17:22:02,895 INFO  [STDOUT] at org.jgroups.blocks.RequestCorrelator.handleRe
quest(RequestCorrelator.java:615)
17:22:02,895 INFO  [STDOUT] at org.jgroups.blocks.RequestCorrelator.receiveM
essage(RequestCorrelator.java:512)
17:22:02,895 INFO  [STDOUT] at org.jgroups.blocks.RequestCorrelator.receive(
RequestCorrelator.java:326)
17:22:02,895 INFO  [STDOUT] at org.jgroups.blocks.MessageDispatcher$Protocol
Adapter.handleUp(MessageDispatcher.java:722)
17:22:02,895 INFO  [STDOUT] at org.jgroups.blocks.MessageDispatcher$Protocol
Adapter.access$300(MessageDispatcher.java:554)
17:22:02,895 INFO  [STDOUT] at org.jgroups.blocks.MessageDispatcher$1.run(Me
ssageDispatcher.java:691)
17:22:02,895 INFO  [STDOUT] at java.lang.Thread.run(Thread.java:534)
17:22:02,895 ERROR [FarmMemberService] java.io.FileNotFoundException: /root/jbos
s_cluster/jboss-4.0.2/server/all/farm (Is a directory)
17:30:02,547 INFO  [GeneralCacheAdministrator] Constructed GeneralCacheAdministr
ator()
17:30:02,547 INFO  [GeneralCacheAdministrator] Creating new cache
17:30:02,645 INFO  [AbstractBroadcastingListener] AbstractBroadcastingListener r
egistered
17:30:02,645 INFO  [JavaGroupsBroadcastingListener] Starting a new JavaGroups br
oadcasting listener with properties=UDP(mcast_addr=231.131.216.132;mcast_port=45
566;ip_ttl=32;mcast_send_buf_size=15;mcast_recv_buf_size=8):PING(timeout
=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=1):FD_SOC
K:VERIFY_SUSPECT(timeout=1500):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,60
0,1200,2400,4800):pbcast.STABLE(desired_avg_gossip=2):UNICAST(timeout=5000):
FRAG(frag_size=8096;down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5
000;join_retry_timeout=2000;shun=false;print_local_addr=true)
17:30:02,752 INFO  [STDOUT]
---
GMS: address is dev-rhel4:33321
---
17:30:04,757 INFO  [JavaGroupsBroadcastingListener] JavaGroups clustering suppor
t started successfully
17:30:04,760 INFO  [JavaGroupsBroadcastingListener] A new member at address 'dev
-rhel4:33321' has joined the cluster


Can you please advice me how to solve this,

My cluster-service.xml on node 1 is

 
  !-- Name of the partition being built --
  ${jboss.partition.name:DefaultPartition}

  !-- The address used to determine the node name --
  ${jboss.bind.address}

  !-- Determine if deadlock detection is enabled --
  False
   

[JBoss-user] [Clustering/JBoss] - Re: nodes not recognising each other on Linux and farming al

2005-09-07 Thread [EMAIL PROTECTED]
You still have 127.0.0.1 nodes in your cluster...

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss 3.0.7 jboss-net new web service

2005-09-07 Thread Roman.Angelov
Hi all again,

Thank you for your help, now I have example for web service over JBoss 3.0.7. 
My ant script finish successfull,the web service is bild successfull. My JBoss 
3.0.7 in the all deployment version has a jboss-net.sar file and  new 
HelloWorld.wsr file. My problem is when I run JBoss all version, I don't have 
jboss-net web project , the http://localhost:8080/jboss-net is not found.In the 
jboss console there isn't error. I this because there isn't 
http://localhost:8080/jboss-net project my web service doesn't wotk. What can 
be the reason to there isn't jboss-net web project in the all deployment 
version on JBoss 3.0.7? Thank you all of you.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Eviction policy implementation question

2005-09-07 Thread antonkommar
Hi,

The question looks quite interesting to me. Does anybody has an idea on if a 
'put' operation is allowed to be used from insde eviction policy implementation 
or shall I use some other method?

Thanks in advance,
Anton


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Eviction policy implementation question

2005-09-07 Thread Skipy
Sorry. It was a DNA problem.

Question is closed!

Regards,
Eugene aka Skipy

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Eviction policy implementation question

2005-09-07 Thread antonkommar
Thanks, I missed this option too.

Anton


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - IS THERE ANY WAY TO RUN JBOSS PORTAL IN WEBSPHERE APPLICATIO

2005-09-07 Thread sreekanthnaidu_r
Ineed to know the possibility of integrating jboss portal with websphere 
application server.
Is there any plugin or any thing to run jboss portal in websphere application 
server.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: nodes not recognising each other on Linux and farming al

2005-09-07 Thread gunjan_iitk
Can you please advice me what configurations i have to do so that 127.0.0.1 
nodes are not shown in cluster

Thanks and Regards,,
Gunjan

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: IS THERE ANY WAY TO RUN JBOSS PORTAL IN WEBSPHERE APPLIC

2005-09-07 Thread [EMAIL PROTECTED]
no

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - hot redeployment HttpSession

2005-09-07 Thread k_vtc
Hello,

I'm using JBoss 3.27 and I would like to preserve the same http session when 
the application is hot redeployed. Is that possible? How can it be configured 
if possible?

Thanks,

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - jboss 4.0 and webmethod setup

2005-09-07 Thread rndtesting
I have upgrade our jbos server from 3.2.3 to 4.0 to utilize soap - webservices, 
but could not find solution on how to setup webmethod. Can you guys please help 
me on this matters, help is appreciated. 

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss 3.2.3 - Deploying applications

2005-09-07 Thread fguigou
I believe that the key point to be answered is : 

when I tried to run the deployer.bat to deploy an application, the batch file 
is expecting the deployer.jar to be present in the bin folder. But the 
downloaded zip file did not contain this file. 

these issues are really frustrating and prevent people from continue learning 
this technology.







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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How do i setup Single Sign On in JBP2?

2005-09-07 Thread patrickdalla
I'm developing an application that saves content in WEBDAV repository of 
jboss-portal.
To do that, I use WebdavResource to connect do WebDav.
I could achieve single sign on when the user access portal and webdav 
applications from browser (using Valve of tomcat).
But the user context of the browser is different than the user context of the 
java application. How can I use single sign on in this example? There is a 
standard way already implemented?


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP 1:N Foreign Key Bug?

2005-09-07 Thread rsuffling
Has anyone come across this before? Is it a bug?
JBoss is attempting to insert an invalid foreign key (FK) value. The FK value 
looks like something has overflowed:

¬í\0sr\0$org.jboss.invocation.MarshalledValueêÌàÑôJÐ?
\0\0xpz\0\0¢\0\0?¬í\0s}\0\0\0\0org.mycmp.auth.GroupLocalxr\0java.lang.reflect.Proxyá\'Ú
 
ÌCË\0L\0ht\0%Ljava/lang/reflect/InvocationHandler;xpsr\0\'org.jboss.ejb.plugins.local.EntityProxyHm
 
öE©\0Z\0removedL\0cacheKeyt\0Ljava/lang/Object;xr\0org.jboss.ejb.plugins.local.LocalProxytgFß??qg\0L\0jndiNamet\0Ljava/lang/String;xpt\0local/[EMAIL
 PROTECTED] ¤÷?8\0I\0valuexr\0java.lang.Number?¬??à?\0\0xp\0\0\0®ñÐPx

My envronment is:
Windows XP
JBoss AS 4.03RC2
MySql 4.1.13

The two entity ejbs/tables envolved in the 1:N relationship are Group and User, 
where a group can have many users and a user can belong to a group. The two 
entity beans have local interfaces and get called from a session bean (session 
facade pattern). The call (cut down version) made from the session bean is:

  public void addUser(String email, String password, String groupName, String 
firstName,
  String middleName, String lastName, String dept, String workPhone,
  String extension, String homePhone, boolean isEmployee) {
try {
  GroupLocal group = groupHome.findByGroupName(groupName);
  UserLocal user = userHome.create(email, password, group);
} catch (CreateException e) {
  throw new EJBException(Unable to create the local user  + email, e);
}
catch (FinderException e) {
  throw new EJBException(Group not Found. Unable to create the local user 
 + email, e);
}

  }

The resulting trace from the MySql log file is:
Prepare [29] SELECT t0_group.ID FROM tbl_group t0_group WHERE 
(t0_group.NAME = ?)
Execute [29] SELECT t0_group.ID FROM tbl_group t0_group WHERE 
(t0_group.NAME = 'engineering')
Prepare [30] SELECT NAME, DESCRIPTION FROM tbl_group WHERE (ID=?)
Execute [30] SELECT NAME, DESCRIPTION FROM tbl_group WHERE (ID=6)
Prepare [31] SELECT COUNT(*) FROM tbl_user WHERE EMAIL=?
Execute [31] SELECT COUNT(*) FROM tbl_user WHERE EMAIL='[EMAIL PROTECTED]'
Prepare [32] INSERT INTO tbl_user (EMAIL, PASSWORD, GROUP_ID) VALUES (?, ?, 
?)
Execute [32] INSERT INTO tbl_user (EMAIL, PASSWORD, GROUP_ID) VALUES 
('[EMAIL PROTECTED]', 'starwars', 
'¬í\0sr\0$org.jboss.invocation.MarshalledValueêÌàÑôJÐ?
\0\0xpz\0\0¢\0\0?¬í\0s}\0\0\0\0org.mycmp.auth.GroupLocalxr\0java.lang.reflect.Proxyá\'Ú
 
ÌCË\0L\0ht\0%Ljava/lang/reflect/InvocationHandler;xpsr\0\'org.jboss.ejb.plugins.local.EntityProxyHm
 
öE©\0Z\0removedL\0cacheKeyt\0Ljava/lang/Object;xr\0org.jboss.ejb.plugins.local.LocalProxytgFß??qg\0L\0jndiNamet\0Ljava/lang/String;xpt\0local/[EMAIL
 PROTECTED] ¤÷?8\0I\0valuexr\0java.lang.Number?¬??à?\0\0xp\0\0\0®ñÐPx')
Prepare [33] UPDATE tbl_user SET GROUP_ID=? WHERE EMAIL=?
  2 Execute [33] UPDATE tbl_user SET 
GROUP_ID='¬í\0sr\0$org.jboss.invocation.MarshalledValueêÌàÑôJÐ?
\0\0xpz\0\0¢\0\0?¬í\0s}\0\0\0\0org.mycmp.auth.GroupLocalxr\0java.lang.reflect.Proxyá\'Ú
 
ÌCË\0L\0ht\0%Ljava/lang/reflect/InvocationHandler;xpsr\0\'org.jboss.ejb.plugins.local.EntityProxyHm
 
öE©\0Z\0removedL\0cacheKeyt\0Ljava/lang/Object;xr\0org.jboss.ejb.plugins.local.LocalProxytgFß??qg\0L\0jndiNamet\0Ljava/lang/String;xpt\0local/[EMAIL
 PROTECTED] ¤÷?8\0I\0valuexr\0java.lang.Number?¬??à?\0\0xp\0\0\0®ñÐPx' 
WHERE EMAIL='[EMAIL PROTECTED]'
Query   commit


The table structures are:

CREATE TABLE TBL_GROUP
( id  integer  PRIMARY KEY AUTO_INCREMENT
, namevarchar (20) UNIQUE NOT NULL
, description varchar (50) 
);

CREATE TABLE TBL_USER
( email varchar (50)  PRIMARY KEY
, password  varchar (50) NOT NULL
, group_id  integer
);

The problem seems to be when JBOSS process the call to 
UserLocal user = userHome.create(email, password, group);

the UserBean code being called is as follows:

  public String ejbCreate(String email, String password, GroupLocal group) 
throws CreateException {
setEmail(email);
setPassword(password);
setGroup(group);
return null;
  }

It's just the usual setter methods.

The relationship in  the ejb-jar.xml file is:

ejb-relation
  ejb-relation-nameGroupsHaveUsers/ejb-relation-name
  ejb-relationship-role
 ejb-relationship-role-nameGroupHasUsers/ejb-relationship-role-name
One
relationship-role-source
  ejb-nameGroupBean/ejb-name
/relationship-role-source
cmr-field
  cmr-field-nameusers/cmr-field-name
  cmr-field-typejava.util.Collection/cmr-field-type
/cmr-field
  /ejb-relationship-role
  ejb-relationship-role
   ejb-relationship-role-nameUsersInGroup/ejb-relationship-role-name
Many
relationship-role-source
  ejb-nameUserBean/ejb-name
/relationship-role-source
cmr-field
  

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: javax.naming.NameNotFoundException: jdbc not bound

2005-09-07 Thread rsuffling
From your error message it's clear that your CMP entity bean is failing to get 
the next Oracle generated sequence number. Here are some things to check:

1) Check that the Oracle Sequence your using is setup and working as expected 
(Use SQLPLUS)

2)Your jbosscmp-jdbc.xml file should have the following element against each 
entity bean that uses a sequence for its PK.
  entity-command name=oraclel-sequnce/

3) Your database is local as the RETUNING clause (used to return the sequence 
number) in the SQL INSERT statement is not supported for remote databases [as 
far as I remember ;-) You'll have to check this out.

Hope this helps.

Roger


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-07 Thread DashV
We redeployed everything into the default directory (it was in the All 
directory) and connections to multiple (non clustered) JBoss application 
servers works now. But of course we loose the ability to have JBossAS clusters.

So the answer for us for now seems to be to support multiple connections to 
different JBoss 4.0.2 application servers as long as none of them belong to a 
cluster.

:(

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-07 Thread DashV
Just for completeness... here is the debug tree from eclipse for the deployment 
in the default directory which is working...

PublisherSequence this= PublisherSequence  (id=28)
  | PublisherSequence IOS= PublisherSequence  (id=27)
  | String intendedServerIP= jnp://x.x.x.155:1099
  | PublisherSequenceSecurityProxyRemote pubSeq= $Proxy3  (id=40)
  | InvocationHandler h= ClientContainer  (id=83)
  | InvocationContext context= InvocationContext  
(id=87)
  | Map context= HashMap  (id=93)
  | Set entrySet= null
  | Set keySet= null
  | float loadFactor= 0.75
  | int modCount= 0
  | int size= 5
  | HashMap$Entry[] table= 
HashMap$Entry[16]  (id=97)
  | HashMap$Entry [0]= 
HashMap$Entry  (id=100)
  | HashMap$Entry [1]= 
HashMap$Entry  (id=103)
  | int hash= 
-1783084207
  | Object key= 
InvocationKey  (id=120)
  | HashMap$Entry 
next= null
  | Object value= 
JRMPInvokerProxy  (id=184)
  | Invoker 
remoteInvoker= JRMPInvoker_Stub  (id=187)
  | 
RemoteRef ref= UnicastRef2  (id=196)
  | 
LiveRef ref= LiveRef  (id=205)
  | 
Channel ch= TCPChannel  (id=207)
  | 
Endpoint ep= TCPEndpoint  (id=210)
  | 
RMIClientSocketFactory csf= null
  | 
String host= x.x.x.155
  | 
int port= 
  | 
RMIServerSocketFactory ssf= null
  | 
TCPTransport transport= null
  | 
ObjID id= ObjID  (id=213)
  | 
boolean isLocal= false
  | HashMap$Entry [2]= null
  | HashMap$Entry [3]= null
  | HashMap$Entry [4]= null
  | HashMap$Entry [5]= null
  | HashMap$Entry [6]= 
HashMap$Entry  (id=104)
  | HashMap$Entry [7]= null
  | HashMap$Entry [8]= null
  | HashMap$Entry [9]= null
  | HashMap$Entry [10]= null
  | HashMap$Entry [11]= null
  | HashMap$Entry [12]= null
  | HashMap$Entry [13]= null
  | HashMap$Entry [14]= null
  | HashMap$Entry [15]= 
HashMap$Entry  (id=105)
  | int threshold= 12
  | Collection values= null
  | Interceptor next= StatelessSessionInterceptor  
(id=89)
  | String seqID= 4b6s1o4b-tw3zkv-edbpzjql-1-edbqm7dd-b
  | String version= 1.0
  | int seqState= 0

The difference seems to be that somehow the all configuration is signalling 
the client side to act in clustered fashion... That by itself would not be a 
problem though... The real problem seems to be that the when using the 
JRMPInvokerProxyHA it does not appear to be able to distinguish between two 
seperate clusters... so all the ips 

[JBoss-user] [Installation, Configuration Deployment] - StringThresholdMonitoring Beans won't work

2005-09-07 Thread MetaTom
Hey everybody,

Trying to implement a StringThresholdMoniter to monitor a small MBean i've made 
that trys to connect to a servlet (that i've also made) and if successful sets 
a String to 'availible', but the monitor keeps throwing this rather annoying 
error


  | java.lang.RuntimeException: Failed to compare threshold, mbean failure
  | at 
org.jboss.monitor.StringThresholdMonitor.testThreshold(StringThresholdMonitor.java:54)
  | at org.jboss.monitor.JBossMonitor.run(JBossMonitor.java:204)
  | at java.lang.Thread.run(Thread.java:595)
  | 

Now i've gone through the JBoss code to try and find out where this comes from 
and have found a rather poorly coded bit of exception handling in the 
StringThresholdMonitor, namely


  | public class StringThresholdMonitor extends JBossMonitor implements 
StringThresholdMonitorMBean
  | {
  |protected String thresholdString;
  |protected boolean equalityTriggersAlert;
  | 
  |protected void testThreshold()
  |{
  |   if (alertSent) return;
  |   String value = null;
  |   try
  |   {
  |  value = (String)getServer().getAttribute(observedObject, 
attribute);
  |  if (equalityTriggersAlert) // alert trigger when value == threshold
  |  {
  | if (!thresholdString.equals(value))
  | {
  |return;
  | }
  |  }
  |  else // alert triggered when value != threshold
  |  {
  | if (thresholdString.equals(value))
  | {
  |return;
  | }
  |  }
  |   }
  |   catch (Exception e)
  |   {
  |  throw new RuntimeException(Failed to compare threshold, mbean 
failure);
  |   }
  | 

To my mind this is very slack, fancy not even passing on the type of the 
initial exception!

Anyway heres my XML moniter as it appears in my moniters.xml file


  | mbean code=org.jboss.monitor.StringThresholdMonitor
  |  name=Meta:monitor.alerters=PostBoxMonitorAlerter
  | attribute name=MonitorNamePostBox Monitor Alerter/attribute
  | attribute name=ObservedObjectMeta:monitor=PostBoxMonitor/attribute
  | attribute name=ObservedAttributeservletAvailible/attribute
  | attribute name=Thresholdavailible/attribute
  | attribute name=Period1000/attribute
  | attribute name=EqualityTriggersAlertfalse/attribute
  | attribute name=Enabledtrue/attribute
  | dependsMeta:monitor=PostBoxMonitor/depends
  | depends-list optional-attribute-name=AlertListeners 
depends-list-elementjboss.alerts:service=ConsoleAlertListener/depends-list-element
  
!--depends-list-elementjboss.alerts:service=EmailAlertListener/depends-list-element
 not avalible yet--
  |   /depends-list
  |   /mbean
  | 

I've run checks and the String servletAvailible is being set correctly in both 
cases, ie when its up and when its down.

I hope someone can help me with this as otherwise i'm gonna have to make some 
changes to that class and rebuild me JBoss just to get a proper error out of it.

As always critque/comments/ideas/surgestions welcome

Cheers

Tom

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Farming problem on Linux

2005-09-07 Thread ScottMarlowNovell
Gunjan,

I looked at the stack trace that you provided and see the following message:

java.io.FileNotFoundException: /root/jboss_cluster/jboss?4.0.2/server/all/farm 
(Is a directory)

This error message usually indicates that the contents of an application 
archive was extracted into the farm folder.  However, I would of expected to 
see the application name instead of the farm folder.  The farm folder 
should be a directory.

Please confirm that your application that you copied to node 1 farm folder is a 
single archive file (i.e. not an exploded archive).

-Scott

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Authentication Files

2005-09-07 Thread giscard_aioba
Hi guys, I'm with a little problems when try to use security in JBoss.

Where I put the realm file with the users, password and roles (xml file) into 
JBoss?!?!?
I really would like know in which dd I point to this file??!!? web.xml or 
jboss-web.xml?!?!

ps: If someone can point me an example will be helpful too

Thanks 

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: What is this JBossGenericPrincipal that keeps getting st

2005-09-07 Thread [EMAIL PROTECTED]
It looks like some place in your code the caller's Subject has been stored as a 
session attribute.  The Subject contains the JBossGenericPrincipal.

If your application needs access to the Subject, another approach may be to use 
the SecurityAssociationValve, which binds the Subject to the request as a 
request attribute.  To use add


  | Valve className=org.jboss.web.tomcat.security.SecurityAssociationValve 
subjectAttributeName=someKey/
  | 

to the Host element of the server.xml file in the jbossweb-tomcat55.sar. This 
would bind the subject under request attribute someKey.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - fail over JBoss http webservice (ServiceMBean) in case of no

2005-09-07 Thread gwalior
To All JBoss Experts Out There,

I am new to JBoss Clustering features. I need to implement a clustering 
topology where I will use Software based Apache load balancer to balance load 
to all the nodes in the cluster.  Now In case of a particular node goes down, I 
do not care of sessions running on that node but I need to make sure that new 
requests do not arrive to this node until it is down and automatically forwards 
to one of the nodes that are up.  I am not looking to replicate Http Sessions 
on all the different nodes in the cluster either.

I would appreciate any comments on this.

Thanks
-Gwalior

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Authentication Files

2005-09-07 Thread [EMAIL PROTECTED]
They need to be separate files; not part of any dd.

They need to be on the webapp's classpath; I've seen them put in 
WEB-INF/classes.  This allows them to be hot deployed with the webapp.  They 
can also go in the /server/.../conf folder.

Give the files a unique, app-specific name --- don't just call them 
users.properties and roles.properties.

For an example, see the $JBOSS_HOME/server/default/conf/login-config.xml file, 
the web-console application policy.  If you then look in the 
deploy/management/console-mgr.sar/web-console.war you can see the files in 
WEB-INF/classes.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-07 Thread DashV
FOUND A SOLUTION!

Each JBossAS was using DefaultPartition. One of the keys in the hashmap must be 
based on this. Because as an experiment changing the partition name on one of 
the servers in the all configuration caused them both to worth concurrently 
without issue!

-Djboss.partition.name=MyWonderfulCluster

So we can have two clusters now and hit them each seperately and still have ha 
:). I am off to do more testing.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - soap client code getting items in the message context for th

2005-09-07 Thread acxsjones
Is there a way to get an item in the MessageContext for a handler to look at.  
This is from the client code that is calling the gnerated code.


  |   HelloWorld_Implservice = new HelloWorld_Impl();   

  | HelloWorldEndpoint endPoint = service.getHelloWorldEndpointPort();
  | 
  | Stub stub = (Stub) endPoint;
  | 
  | stub._setProperty(Stub.USERNAME_PROPERTY, scott);
  | stub._setProperty(Stub.PASSWORD_PROPERTY, password);
  | stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, 
http://localhost:7070/helloworld/1.0;);   
  | 
  | try {
  | String output = endPoint.hello(Scott);
  | 
  | } catch (RemoteException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | super.fail(exception caught in test case);
  | }
  | 

I know how to get a hold of the message context from the ejb that is called

  |   SOAPMessageContext msgContext = 
(SOAPMessageContext)_ctx.getMessageContext();
  | SOAPMessage soapMessage = msgContext.getMessage();
  | SOAPHeader soapHeader;
  | try {
  |soapHeader = soapMessage.getSOAPHeader();
  |Iterator it = soapHeader.extractAllHeaderElements();
  |if (it.hasNext() == false)
  |   log.info(No header elements);
  | }
  | 

I need to place something in the context or some way to pass something to one 
of my handlers

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Yet another Class Loader problem - Please Help

2005-09-07 Thread jboss05
Thanks for your response Rajasekhar. 

I assume you that you are saying $JBOSS_HOME/server/default/lib. 

If i put commons-digerter.jar here and also package it with my application, 
when i hot deploy my sar, i get the following exception. The first time i start 
JBoss server, my SAR gets deployed properly as tomcat is not yet deployed. But 
my requirement is that i want to have different versions of (commons) jars for 
my application which could be different from what Tomcat uses. 

Could someone please point out what is that i'm missing?

Thanks again!

11:11:04,679 WARN  [ServiceController] Problem starting service 
digesterloadertest:service=DemoService
  | java.lang.NoClassDefFoundError: 
org/apache/commons/digester/ObjectCreationFactory
  | at 
org.apache.commons.digester.Digester.addFactoryCreate(Digester.java:2044)
  | at 
org.apache.commons.digester.Digester.addFactoryCreate(Digester.java:1936)
  | at 
org.apache.commons.digester.xmlrules.DigesterRuleParser.addRuleInstances(DigesterRuleParser.java:240)
  | at 
org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
  | at 
org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(FromXmlRuleSet.java:145)
  | at 
org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
  | at 
org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(DigesterLoader.java:91)
  | at digesterloadertest.DemoService.startService(DemoService.java:45)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:416)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  | at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
  | at 

[JBoss-user] [Clustering/JBoss] - Re: nodes not recognising each other on Linux and farming al

2005-09-07 Thread [EMAIL PROTECTED]
Check /etc/hosts and whether some localhost resolves to 127.0.0.1. You can also 
set -Dbind.address=1.2.3.4, or use bind_addr=1.2.3.4 in your XML for UDP

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: webservice client using junit

2005-09-07 Thread chaseja
I'd love to know the answer to this as well - I'm getting the same error.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Security and Portlet Modes

2005-09-07 Thread bsmithjj
Is it possible to specify that the user must have the 'admin' role in order for 
the EDIT mode link to display and/or work?

Thanks

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: javax.naming.NoInitialContextException

2005-09-07 Thread darranl
Can you please explain your problem fully including relevant code and commands 
you are executing.

This thread we are discussing how the client can access the deployed bean, why 
are you asking how to compile the EJB?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: limit of Service Binding Management

2005-09-07 Thread darranl
The JBoss instances (unless running clustered) would have no relationship with 
each other - each instance will be running in its own JVM.



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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: getting rid of the question marks in SQL output

2005-09-07 Thread darranl
The file name should be log4j.xml for JBoss

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss 3.2.3 - Deploying applications

2005-09-07 Thread darranl
Personally I have never used deployer.bat so do not know the functionality it 
provides (Other than the obvious function from the name).

To deploy an archive copy it to {jboss.home}/server/{config.name}/deploy

{config.name} is the name of the configuration passed to the run script 
(default if none specified)

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - when alter-table is true, jboss is trying to create the colu

2005-09-07 Thread ssrinivas
I am using Jboss 4.0.2

I have a table already created in the database(mysql 4.0.1). It has a column 
id craeted in the database. verified it using mysql

when i make alter-table=true in jbosscmp-jdbc.xml, jboss is now trying to 
create a column ID and the database says it already exists.

1. JBoss is performing uppercase of the column name before checking if it 
exists in JDBCStartCommand.java: 112.

Hence, it does not find the column name ID in the string array cached from 
the meta data and then tries to execute alter-table

2. When it tries to execute alter-table, it tries to pass id instead of ID 
and ofcourse database will not like this.

Looks like this is a bug in jboss 4.0.2


Any immediate fix for this?
thanks
Sudhir



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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - How do I change an env-entry value?

2005-09-07 Thread pslabycz
I need to store a customer-specific configuration value somewhere, so that the 
customer could change it after deployment.  I thought the JNDI env-entry would 
be the best place, but I did not find and other way to change its value other 
than to modify the deployment xml. Means the customer has to change my ear 
file, which I do not like. Is there any other way to change the env-entry value 
or where should I store values which the customer should configure?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How do I change an env-entry value?

2005-09-07 Thread pslabycz
I need to store a customer-specific configuration value somewhere, so that the 
customer could change it after deployment. I thought the JNDI env-entry would 
be the best place, but I did not find and other way to change its value other 
than to modify the deployment xml. Means the customer has to change my ear 
file, which I do not like. Is there any other way to change the env-entry value 
or where should I store values which the customer should configure? 
 

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - DatabaseServerLoginModule + MySqlDS, what am I missing?

2005-09-07 Thread aelnattar
I looked through the forums and can't find the answer, which tells me that my 
question is probably quite trivial:

Simply put, I'm trying to deploy a web application. I know my deployment 
descriptors are kosher. My problem is with the database that I created in mySQL.

I created my owen database with the sql statement:

CREATE DATABASE MyDb

So naturally I would have to execute the sql statement:

USE MyDb

everytime I connect to the database. But how do I tell JBoss to do that for me? 
Which descriptor file do I have to put that piece of information in.

I'm using DatabaseServerLoginModule in my login-config.xml and

module-option name = principalsQuerySELECT blah blah

is not good enough. I need to switch to the database I created first...somehow. 
How?

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Problems with persistent cache

2005-09-07 Thread [EMAIL PROTECTED]
You will need to remove them explicitly.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Connect Jboss 4.x to WebSphere MQ 5

2005-09-07 Thread mleecr

Hi, we are trying to connect Jboss 4.x to WebSphere MQ 5, also were are using 
Eclipse 3.1.0.

Does anybody knows how to make it ??

Thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - org.xml.sax.SAXException: Invalid element

2005-09-07 Thread hsutarwala
I used the wscompile toolkit to generate the client stubs to a remote WSDL and 
then wrote a jUnit test. I have been fighting this error for a week now. When 
the method to perform work is invoked, the jUnit test throws the following 
errors:

  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy3.calculateTax(Unknown Source)
  | at 
com.clientlogic.oms.webservices.calculatetax.CalculateTaxWSTest.testCalculateTax(CalculateTaxWSTest.java:90)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at junit.framework.TestCase.runTest(TestCase.java:154)
  | at junit.framework.TestCase.runBare(TestCase.java:127)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at junit.framework.TestSuite.runTest(TestSuite.java:208)
  | at junit.framework.TestSuite.run(TestSuite.java:203)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)
  | Caused by: org.xml.sax.SAXException: Invalid element in 
com.clientlogic.oms.webservices.calculatetax.CalculateTaxResponse - 
CalculateTaxResult
  | at 
org.jboss.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:419)
  | at 
org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168)
  | at 
org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)
  | at 
org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1389)
  | at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262)
  | at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396)
  | at org.jboss.axis.client.Call.invoke(Call.java:2672)
  | at org.jboss.axis.client.Call.invoke(Call.java:2548)
  | at org.jboss.axis.client.Call.invokeInternal(Call.java:1979)
  | at org.jboss.axis.client.Call.invoke(Call.java:1917)
  | at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
  | at 
org.jboss.axis.client.AxisClientProxy.invokeSEIMethod(AxisClientProxy.java:286)
  | at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:177)
  | ... 17 more
  | 
  | 

This is the jaxrpc-mapping-client.xml

  | ?xml version=1.0 encoding=UTF-8?
  | java-wsdl-mapping xmlns=http://java.sun.com/xml/ns/j2ee;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=1.1
  | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd;
  | package-mapping
  | package-type
  | com.clientlogic.oms.webservices.calculatetax
  | /package-type
  | namespaceURIhttp://eai.clientlogic.com//namespaceURI
  | /package-mapping
  | java-xml-type-mapping
  | java-type
  | 
com.clientlogic.oms.webservices.calculatetax.ArrayOfBucket
  | /java-type
  | root-type-qname xmlns:typeNS=http://eai.clientlogic.com/;
  | typeNS:ArrayOfBucket
  | /root-type-qname
  | qname-scopecomplexType/qname-scope
  | variable-mapping
  | java-variable-namebucket/java-variable-name
  | xml-element-nameBucket/xml-element-name
  | /variable-mapping
  | /java-xml-type-mapping
  | java-xml-type-mapping
  | java-type
  | 
com.clientlogic.oms.webservices.calculatetax.ArrayOfAddress
  | /java-type
  | root-type-qname xmlns:typeNS=http://eai.clientlogic.com/;
  | typeNS:ArrayOfAddress
  | /root-type-qname
  | qname-scopecomplexType/qname-scope
  | variable-mapping
  | java-variable-nameaddress/java-variable-name
  | xml-element-nameAddress/xml-element-name
  | /variable-mapping
  | /java-xml-type-mapping
  | java-xml-type-mapping
  | java-type
  | 
com.clientlogic.oms.webservices.calculatetax.ArrayOfTaxInfo
  | /java-type
  | root-type-qname xmlns:typeNS=http://eai.clientlogic.com/;
  | typeNS:ArrayOfTaxInfo
  | /root-type-qname
  | qname-scopecomplexType/qname-scope
  | variable-mapping
  |   

[JBoss-user] [Clustering/JBoss] - Queues not deploying on server with custom partition name

2005-09-07 Thread dokkah
I discovered the problem on a fully configured pair of nodes, so I worked back 
to a basic installation and see the same problem.  Perhaps I've forgotten 
something basic, but investigation throughout the day has lead no where. 

Here's the current dilemma.

1.  Download jboss-4.0.2
2.  Install on solaris 5.7 (java 1.4.2_05)
3.  Start server using run.sh -c all (watch the default queues deploy fine)
4.  Stop server, start server using run.sh -c all 
-Djboss.partition.name=MyPartition  i can also see in the jmx console that 
ConnectionFactory, XAConnectionFactory and the security domain for jbossmq. are 
not in jndi 
5.  watch the default queues not deploy

I'm hoping if I can figure out why they don't deploy on very simple 
installation, I can just apply it to my regular installation.

Thanks

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Can Axis 1.2.1 be use for client based application?

2005-09-07 Thread shawn_white
I have a JBoss 4.0.3RC2 webservice setup. 

1) Can a client application using Axis 1.2.1 SOAP libraries work with JBossWS 
(rpc/literal)? 

2) Has anyone gotten this to work? If so how was Axis configured?

3) Are there any other SOAP libraries open source or commercial that work with 
JBossWS. 

Note, I cannot use (in my particular case) the jboss client libraries (which 
work fine by the way) and I need alternatives. I've tried to use just straight 
Axis 1.2.1, but it doesn't seem to work.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Tried to MySql

2005-09-07 Thread bl4ck3lk
looks like that you need to add in your datasource file, mysql-ds.xml the 
metadata tag, like this :

!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) 
--

   type-mappingmySQL/type-mapping


best way is, you get a copy from the 
jboss-4.0.x/docs/examples/jca/mysql-ds.xml and edit this file.

hope this helps,

stefan h.

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JCA/JBoss

2005-09-07 Thread reidmp

Sounds like a case of creating connections without closing them.


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - How to deal with dependencies between JCA adaptors?

2005-09-07 Thread reidmp
I've run into a wierd problem with a pair of JCA adaptors that I created and 
have working on Weblogic, and kinda working on JBoss. By kinda I mean 
(described below) I can coax the adaptors into working, but normally I get an 
IllegalAccessException.

Background
--

Adaptor 1: RealConnector (name changed to protect the guilty)
Adaptor 2: ProxyConnector (ditto about the name)

The idea is that RealConnector is deployed on a J2EE instance that really has 
access to some device or service.   On the other hand ProxyConnector is 
deployed for instances that don't have direct access to the device.  A servlet 
is deployed with RealConnector that ProxyConnector can talk to. Both the 
RealConnector and ProxyConnector have rar files and *-service.xml files for 
configuration.

Both rar files have almost identical collections of Java files, because both 
RealConnector and ProxyConnector do a lot of the same things (except for the 
actual mechanics of talking to the external device).

The easiest and most obvious way of testing this is to deploy RealConnector, 
ProxyConnector, and the servlet all on the same J2EE instance and create JUnit 
tests to stuff requests through the proxy to see what happens.  The problem is 
that this causes an IllegalAccessException in JBoss (3.2.7), but only in one 
particular situation (the situation you'd most likely want to use).  

If you put both rar files and both *-service.xml files in the deploy directory 
and start JBoss then you get IllegalAccessException.

If you put both rar files in deploy, but not the service files, start JBoss, 
and *slowly* put first one and then the other service file in deploy (waiting 
until log messages prove the mbean deployment is done), then both the JCA 
adaptor mbeans initialize just fine.  YOU HAVE TO DO THIS EVERY TIME YOU START 
JBOSS.  Restarting after you have the adaptors working just gets you back to 
the original problem of IllegalAccessException.

What I've tried:

* made sure there aren't library compatibility issues between JBoss and the 
code (it really only depends on its own code and standard Java/J2EE packages).

* piles of code changes, like commenting out the place where the 
IllegalAccessException appears - but it just moves around

* clean builds to make sure it wasn't a compilation problem, also tried two 
different JDK 1.4 compilers just in case of a compiler bug

* specifying a loader-repository in the *-service.xml files for each adaptor

* specifying a dependency between the *-service.xml files in the hope that it 
would cause one to cleanly deploy before the second one even started, but it 
didn't seem to work.

I'm running out of ideas.  Not having mucked around that much  with the details 
of JBoss mbean xml file configuration, one thing I'm wondering is if I 
specified the dependency information properly.  Below is a (slightly altered) 
initial portion of the file for RealConnector.  The file for ProxyConnector is 
identical except for obvious word substitutions (Real/Proxy, real/proxy) and 
the fact that the proxy service doesn't specify a dependency on the real 
service.  Right about now somebody is probably about to jump up and say that 
dependency is backwards; I know.  By experiment I found that deploying the 
Proxy first, then the Real version was what consistently worked, not the other 
way around (I have no idea why).

My attempt at specifying a dependency is just above the RARDeployer dependency.


  | ?xml version='1.0' encoding='UTF-8'?
  | server
  |   loader-repository
  | com.mycompany:loader=connector-real.rar
  | loader-repository-config
  |   java2ParentDelegation=false
  | /loader-repository-config 
  |   /loader-repository
  |   mbean code='org.jboss.resource.connectionmanager.NoTxConnectionManager' 
  |  name='jboss.jca:service=NoTxCM,name=connectorReal'
  | attribute name='JndiName'ra/connectorReal/attribute
  | dependsjboss.jca:service=NoTxCM,name=connectorProxy/depends
  | dependsjboss.jca:service=RARDeployer/depends
  | depends optional-attribute-name='ManagedConnectionPool'
  |   mbean 
code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool' 
  |  name='jboss.jca:service=NoTxPool,name=connectorReal'
  | depends optional-attribute-name='ManagedConnectionFactoryName'
  |   mbean code='org.jboss.resource.connectionmanager.RARDeployment' 
  |  name='jboss.jca:service=NoTxPF,name=connectorReal'
  | 






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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process 

[JBoss-user] [JCA/JBoss] - Re: Is there a way to timeout active connections (instead of

2005-09-07 Thread reidmp
If you use the connector within the context of a transaction, you should be 
able to use the transaction timeout to do what you want.


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: nodes not recognising each other on Linux and farming al

2005-09-07 Thread gunjan_iitk
Hi bela,
Thanks for your reply.
It solved my problem.
yes in my etc/host local host was given 127.0.0.1 , I chnaged it to the 
corresponding ip adresses on both machines and now everything is working 
perfectly.
Thanks and Regards,
Gunjan 

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - StateManager NOT YET INSTALLED

2005-09-07 Thread coolfigo
While I started JBoss ,  I found this error , can anyone tell me how to resolve 
, thanks !!!

13:27:02,453 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker
jboss.web:service=WebServer

ObjectName: jboss.mq.destination:service=Queue,name=JbpmQueue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: jboss.mq:service=Invoker
  State: CONFIGURED
  I Depend On:
jboss.mq:service=TracingInterceptor
  Depends On Me:
jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2

ObjectName: jboss.mq:service=TracingInterceptor
  State: CONFIGURED
  I Depend On:
jboss.mq:service=SecurityManager
  Depends On Me:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=SecurityManager
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
  Depends On Me:
jboss.mq:service=TracingInterceptor
jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq.destination:service=Queue,name=DLQ
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker

ObjectName: jboss.mq:service=DestinationManager
  State: CONFIGURED
  I Depend On:
jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
  Depends On Me:
jboss.mq.destination:service=Queue,name=JbpmQueue
jboss.mq:service=SecurityManager
jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  State: CONFIGURED
  I Depend On:
jboss.mq:service=Invoker

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=StateManager
  State: NOTYETINSTALLED
  Depends On Me:
jboss.mq:service=DestinationManager


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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user