[jboss-user] [JBoss Tools (users)] - Server list empty in eclipse, cannot debug!

2009-02-07 Thread rus_pa
hello I run ganymede + jboss 5 up to date
I reinstalled a seam project from a damaged disk where there was ganymede and 
jboss 4.3
I'm stuck in developement since I can add and run jboss from eclipse server's 
view, but unfortunately I cannot add a new "debug configuration" or "run 
configuration" to launch my project with since there are no servers selectable 
in the list. The list is actually empty :(
I need to debug my application in broadcast mode (-b 0.0.0.0) and ther's no way 
I can set this parameter from within eclipse server view. I badly need back 
jboss in launch configuration. What do I miss?
I have all the jboss tools things installed but nothing changed apart having 
tje jboss server view (only lists the ports in use, but sitll empty run config 
listbox)

Thanks

Screenshot here...
http://img156.imageshack.us/my.php?image=screenshotld0.jpg

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: can't debug jboss (defective jboss tools setup?)

2009-02-07 Thread PeterJ
Perhaps ask in the JBoss Tools forum: 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=201

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Failed to connect to localhost:1099

2009-02-07 Thread PeterJ
Apparently JBoss AS is configured to use a port other than 1099 for JNDI. You 
need to supply that port number, example:

./shutdown.sh -S -s localhost:

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

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


[jboss-user] [JNDI/Naming/Network] - Re: naming.NameNotFoundException problem

2009-02-07 Thread PeterJ
Use JNDIView to see what name the EJB is registered under and correct the name 
in your client. See http://www.jboss.org/community/docs/DOC-9583

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

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


[jboss-user] [JBoss Cache: Core Edition] - Why does em.persist resets the Query cache?

2009-02-07 Thread onur.aktas
Hi,

Why new inserted items resets the Query cache?

Query query = em.createQuery("select b from Book where id < 5");
  | query.setCacheable("org.hibernate.cacheable", true);
  | query.getResultList(); // RETRIEVES FROM DATABASE;
  | 
  | query.getResultList() // RETRIEVES  FROM CACHE -> OK!
  | 
  | Book book = new Book();
  | book.setTitle("Test 1 2 3");
  | em.persist(book);
  | System.out.println(book.getId()); // > For example: Returns 200
  | 
  | // Book having ID 1 is inserted before, it is not the persisted one above.
  | query.getResultList(); ---> RETRIEVES FROM DATABASE 
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Partial Refresh

2009-02-07 Thread blublinsky
Additional information on the problem. I am running java 6.

When the page updates it prints out the following error messages


19:45:42,750 ERROR [STDERR] Feb 7, 2009 7:45:42 PM 
org.jboss.portletbridge.AjaxPortletBridge init
INFO: Start portletbridge initialization for IdentityUserPortlet
19:45:42,750 ERROR [STDERR] Feb 7, 2009 7:45:42 PM 
org.jboss.portletbridge.AjaxPortletBridge initFaces
INFO: Create instance of a JSF lifecycle DEFAULT
19:45:42,781 ERROR [STDERR] Feb 7, 2009 7:45:42 PM 
org.jboss.portletbridge.AjaxPortletBridge init
INFO: Done portletbridge initialisation for IdentityUserPortlet
19:45:42,781 ERROR [STDERR] Feb 7, 2009 7:45:42 PM 
org.jboss.portletbridge.AjaxPortletBridge doFacesRequest
INFO: Start bridge render request processing for portlet IdentityUserPortlet
19:45:43,328 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
19:45:43,328 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
19:45:43,343 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
19:45:43,343 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
19:45:43,359 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
19:45:43,359 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/portal-faces-lib.jar!/META-INF/portal.taglib.xml
19:45:43,390 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
19:45:43,390 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
19:45:43,406 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
19:45:43,453 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
19:45:43,468 ERROR [STDERR] Feb 7, 2009 7:45:43 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/jboss-portal-2.7.1/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
19:45:44,328 ERROR [STDERR] Feb 7, 2009 7:45:44 PM 
org.jboss.portletbridge.AjaxPortletBridge doFacesRequest
INFO: Finish rendering portletbridge for namespace 
jbpnsdashboard_3a_2fboris_2fdefault_2fIdentityUserPortletWindowsnpbj

Any insights?

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

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


[jboss-user] [JBoss Tools (users)] - After updating JBoss tools Seam Configurartion list is empty

2009-02-07 Thread mangelo
This is not the first time this has happened. I should have backed up my 
Ganymede beforehand. I updated using the Software Updates of Eclipse. When I 
re-ran Eclipse, and yes I tried -clean, the Seam Configure list is empty when I 
try to create a new Seam Web application.

Help!

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

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


[jboss-user] [EJB 3.0] - Interceptors not working with derived classes (4.2.3)

2009-02-07 Thread mitchs
Hi 

i'm trying to use an interceptor with  mdb and session beans.
my setting is an abstract root class and a session /md beans derived from it.
if i'm using Class-level interceptors an exception occurs:
Is this a bug or is it not possible to use interceptors for derviced classes?

thx


java.lang.RuntimeException: An exception occurred initialising interceptors for 
class xx.receiveResult
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsFactory.createPerJoinpoint(EJB3InterceptorsFactory.java:108)
  | at 
org.jboss.aop.advice.AspectFactoryDelegator.createPerJoinpoint(AspectFactoryDelegator.java:119)
  | at 
org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:116)
  | at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:1318)
  | at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:1932)
  | at org.jboss.aop.MethodMatchInfo.applyBinding(MethodMatchInfo.java:152)
  | at 
org.jboss.aop.MethodMatchInfo.overridePopulateBindings(MethodMatchInfo.java:143)
  | at 
org.jboss.aop.MethodMatchInfo.populateBindings(MethodMatchInfo.java:92)
  | at org.jboss.aop.Advisor.finalizeMethodChain(Advisor.java:1543)
  | at 
org.jboss.aop.ClassContainer.makeInterceptorChains(ClassContainer.java:347)
  | at 
org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:313)
  | at 
org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:138)
  | at 
org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:72)
  | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:342)
  | at 
org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:140)
  | at 
org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:292)
  | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:356)
  | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | at java.lang.reflect.Method.invoke(Method.java:616)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | at java.lang.reflect.Method.invoke(Method.java:616)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy34.start(Unknown Source)
  | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | at java.lang.reflect.Method.invoke(Method.java:616)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBe

[jboss-user] [JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA

2009-02-07 Thread rnicholson10
If I startup AS5 with the new libraries the error is as follows:


  | 2009-02-08 00:25:26,836 ERROR 
[org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Unable 
to reconnect 
org.jboss.resource.adapter.jms.inflow.jmsactivations...@1195c94(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@4eaead
 destination=queue/speQueueB destinationType=javax.jms.Queue tx=true 
durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null 
maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
  | javax.naming.NameNotFoundException: speQueueB not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at org.jboss.util.naming.Util.lookup(Util.java:222)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:464)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:352)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)
  | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
  | at 
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
  | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
  | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
  | at java.lang.Thread.run(Unknown Source)
  | 

As you can see from the error it is attempting to connect to the speQueueB 
using the DefaultJMSProvider, where it should be using the RemoteJMSProvider.

If I then redeploy the bridge I don't get an error. But once I try to send a 
message I get the error from post  above:


  | 2009-02-06 21:38:02,087 ERROR [org.jboss.messaging.util.ExceptionUtil] 
(Thread-47) ConnectionEndpoin
  | t[3g-zukpdvqf-1-qkp2dvqf-f20a68-e6u1gs4] sendTransaction 
[ig-bvkpdvqf-1-qkp2dvqf-f20a68-e6u1gs4]
  | javax.jms.JMSException: Failed to route 
Reference[20217139725713415]:RELIABLE to speQueueB
  | 

So there is a startup bug where the wrong provider is used for the remote 
queue. And another where once redeployed message delivery fails. I can see that 
once the bridge is redeployed that a connection is made to the remote instance. 
There are still null references in the log as you can see from the post above. 

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

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


[jboss-user] [JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA

2009-02-07 Thread rnicholson10
Nope, that's what I checked first.

The point I'm at now, if I shutdown AS5 and replace the two libraries with the 
originals, the bridge will work (sending messages to a machine on a different 
subnet). If I then change to the libraries I built I get a host of errors which 
you can see in my previous posts.

Here'e my JMS-ds.xml (The IP Address of the machine this is deployed on is 
172.16.66.230):


  | 
  | 
  | 
  | 
  |   
  |   
  |   
  | 
  |
  |
  |   DefaultJMSProvider
  |   org.jboss.jms.jndi.JNDIProviderAdapter
  |   java:/XAConnectionFactory
  |   java:/XAConnectionFactory
  |   java:/XAConnectionFactory
  |
  | 
  | 
  | RemoteJMSProvider
  | 
  | org.jboss.jms.jndi.JNDIProviderAdapter
  | 
  | /XAConnectionFactory
  | /XAConnectionFactory
  | /XAConnectionFactory
  | 
  | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://172.16.8.52:1099
  | 
  | 
  | 
  |
  |
  |   JmsXA
  |   
  |   jms-ra.rar
  |   
org.jboss.resource.adapter.jms.JmsConnectionFactory
  |   javax.jms.Topic
  |   java:/DefaultJMSProvider
  |   20
  |   
JmsXARealm
  |   jboss.messaging:service=ServerPeer
  |
  | 
  | 
  | 

The only thing I can be sure of at the moment is that the new libraries I built 
do not work. Although I should point out that I have left the remote instance 
using the new libraries. It would be fairer to say that the new libraries do 
not work with bridges to remote locations.

Another question if I might, why is jboss-messaging not tested against AS5?

I will investigate this further tomorrow and supply anything further I find out.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Latest JBoss Version and Hibernate/Hibernate Annotations Que

2009-02-07 Thread Zachary1234

Consider the following, from the JBoss EJB3 Tutorial:


@OneToOne(cascade = {CascadeType.ALL})
@JoinColumn(name = "ADDRESS_ID")
public Address getAddress()
{
return address;
}

The above two annotations are applicable, using JBoss Libraries and Hibernate 
Libraries.

If one wishes to use both JBoss EJB3 annotations, and Hibernate with 
Annotations,do annotations need to be used twice?

How does Jboss/Hibernate Typically overlaps?

I do nderstand javax.persistence.*  , so:

-When is one using JBoss and Hibernate/what do their annotations
have in common?

-When do I have to worry about the database in the background/
 what database ddl table creation do I have to worry about in the database
 background/backend?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - cannot deploy : Invalid Flag

2009-02-07 Thread oceylantr
23:20:47,218 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
  | 23:20:47,281 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, 
vfsUrl=jmx-console.war
  | 23:20:47,375 ERROR [ProfileServiceBootstrap] Failed to load profile: 
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | jboss-web-policy -> java.lang.IllegalArgumentException: Invalid control 
flag: REQUÄ°RED
  | 
  | jboss-ejb-policy -> java.lang.IllegalArgumentException: Invalid control 
flag: REQUÄ°RED
  | 
  | 
  | 23:20:47,375 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-localhost%2F127.0.0.1-8080
  | 23:20:47,390 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on 
ajp-localhost%2F127.0.0.1-8009
  | 23:20:47,406 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: 
SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 2m:9s:969ms
  | 23:21:52,906 INFO  [TomcatDeployment] deploy, ctxPath=/ilkJSF, 
vfsUrl=ilkJSF.war
  | 23:21:53,109 INFO  [StandardContext] The listener 
"com.sun.faces.config.ConfigureListener" is already configured for this 
context. The duplicate definition has been ignored.
  | 23:21:53,546 ERROR [STDERR] 07.Şub.2009 23:21:53 
org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:125
  | INFO: Loading system default
  | 23:21:53,687 ERROR [STDERR] 07.Şub.2009 23:21:53 
org.zkoss.zk.ui.sys.ConfigParser parse:216
  | INFO: Parsing jndi:/localhost/ilkJSF/WEB-INF/zk.xml
  | 23:21:55,187 WARN  [HDScanner] Failed to process changes
  | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | jboss-web-policy -> java.lang.IllegalArgumentException: Invalid control 
flag: REQUÄ°RED
  | 
  | jboss-ejb-policy -> java.lang.IllegalArgumentException: Invalid control 
flag: REQUÄ°RED
  | 
  | 
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:665)
  | at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
  | at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
  | at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown
 Source)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown
 Source)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
 Source)
  | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
  | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  | at java.lang.Thread.run(Unknown Source)

REQUIRED has a letter uppercase of i (in Turkish alphabet). Can it be from 
regional settings? Using Windows Xp Pro Turkish, Turkish regional settings. 
(Used also -javaD option for UTF-8 support)

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

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

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


[jboss-user] [JBoss Cache: Core Edition] - How to cache a Query like that?

2009-02-07 Thread onur.aktas
Hi,
I use Hibernate with JBoss Cache.

I have entities like below, All i want is to retrieve Last 20 messages posted 
by User's Friends.

  | UserEntity (Long id)
  | FriendEntity (Long id, User user, Friend friend)
  | MessageEntity(Long id, User owner, String message, Timestamp created);
  | 

Because of performance issues, i use NativeQuery with UNION, not IN. 
For a User who have 1000 friends, i generate a query like:

  | (select * from messages where owner = 1 order by created DESC LIMIT 20)
  | UNION ALL
  | (select * from messages where owner = 2 order by created DESC LIMIT 20)
  | UNION ALL
  | (select * from messages where owner = 3 order by created DESC LIMIT 20)
  | ...
  | 997 more
  | ...
  | ORDER BY CREATED DESC LIMIT 20

It gives me the result i want but it is the worst way i have ever used. How can 
i use cache in order to improve the performance of such a Query?

Thanks.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Redeployment loop of ear on jboss AS 5

2009-02-07 Thread skajotde
"wdrai" wrote : This definitely looks like a problem with JBoss AS CR1.
  | When using an exploded ear, the redeployment process redeploys the 
application for each and every file which has changed in any metadata 
directory. 
  | The packaging archiver seems to touch all files at each build, so it ends 
up with a redeploy for each file in META-INF/WEB-INF (in my case, that is 
almost 20 files). After that, the redeployment loop stop.
  | 

It seems that I had the same problem on JBoss 5.0.0.GA na JBoss Tools 3 CR2. I 
had ear with war. When I clicked on ear "Full publish" ejb beans are created 
twice. I resolved this and used in click "Full publish" on war in ear, and 
serivices were created once. 

I thought it is problem with JBoss Tools but maybe with JBossAS.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM + jBoss Portal

2009-02-07 Thread flagos
I also need to integrate JBPM with Portal
can you do that???

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

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


[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portal with JBPM

2009-02-07 Thread flagos
I have the same problem

can yo integrate JBPM with Portal ??

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm webapp as a portlet

2009-02-07 Thread flagos
I also need to integrate JBPM with JPortal

did yo can to do this???

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

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


[jboss-user] [JBoss jBPM] - Invoking a secured webservice - BASIC authentication

2009-02-07 Thread kimbaltrue
I'm using JBoss AS 4.2.2 and jbpm-bpel-1.1.1, and I'm trying to invoke a 
webservice which is secured using BASIC authentication. I've been digging 
around what documentation I can find, but so far I can find no setting that 
will allow me to set the userid and password for the invoke.

Is there a setting somewhere for this or is this even possible with the current 
implementation?

Thanks,

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

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


[jboss-user] JBOSS 5 with IBM JDK

2009-02-07 Thread Marc Schoechlin
Hi,

i'm currently testing out JBOSS 5 and i'm running in strange startup problem 
with a IBM JDK.
Using "openjdk-6-jdk-6b11-9.1" from the debian package repositories
works pretty good - but i would like to run my tests with the ibm jdk, because
i assume that ibm's jdk provides more performance on the mainframe :-)

The stacktrace suggests me that a wrong argument was provided to reflection - 
but i cannot really believe that ibm's jdk differs to openjdk in this point.

Any suggestions ?

OS: Debian SID s390 / zSeries (64bit Kernel)
JDK: ibm-java-sdk-6.0-3.0-linux-s390x
Appserver: jboss-5.0.0.GA
Error messages:

r...@virtual:/test# export JAVA_HOME=/test/ibm-java-s390x-60/
r...@virtual:/test# cd /test/jboss-5.0.0.GA/bin   
r...@virtual:/test/jboss/bin# ./run.sh   
=

  JBoss Bootstrap Environment

  JBOSS_HOME: /test/jboss

  JAVA: /test/ibm-java-s390x-60//bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m 
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true 



  CLASSPATH: /test/jboss/bin/run.jar:/test/ibm-java-s390x-60//lib/tools.jar

=

20:09:50,153 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
20:09:50,164 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: 
SVNTag=JBoss_5_0_0_GA date=200812042120)
20:09:50,169 INFO  [ServerImpl] Bootstrap URL: null 
  
20:09:50,171 INFO  [ServerImpl] Home Dir: /test/jboss-5.0.0.GA  
  
20:09:50,173 INFO  [ServerImpl] Home URL: file:/test/jboss-5.0.0.GA/
  
20:09:50,175 INFO  [ServerImpl] Library URL: file:/test/jboss-5.0.0.GA/lib/ 
  
20:09:50,180 INFO  [ServerImpl] Patch URL: null 
  
20:09:50,182 INFO  [ServerImpl] Common Base URL: 
file:/test/jboss-5.0.0.GA/common/
20:09:50,185 INFO  [ServerImpl] Common Library URL: 
file:/test/jboss-5.0.0.GA/common/lib/ 
20:09:50,187 INFO  [ServerImpl] Server Name: default
  
20:09:50,189 INFO  [ServerImpl] Server Base Dir: /test/jboss-5.0.0.GA/server
  
20:09:50,191 INFO  [ServerImpl] Server Base URL: 
file:/test/jboss-5.0.0.GA/server/
20:09:50,194 INFO  [ServerImpl] Server Config URL: 
file:/test/jboss-5.0.0.GA/server/default/conf/ 
20:09:50,196 INFO  [ServerImpl] Server Home Dir: 
/test/jboss-5.0.0.GA/server/default  
20:09:50,198 INFO  [ServerImpl] Server Home URL: 
file:/test/jboss-5.0.0.GA/server/default/
20:09:50,199 INFO  [ServerImpl] Server Data Dir: 
/test/jboss-5.0.0.GA/server/default/data 
20:09:50,201 INFO  [ServerImpl] Server Library URL: 
file:/test/jboss-5.0.0.GA/server/default/lib/ 
20:09:50,202 INFO  [ServerImpl] Server Log Dir: 
/test/jboss-5.0.0.GA/server/default/log   
20:09:50,204 INFO  [ServerImpl] Server Native Dir: 
/test/jboss-5.0.0.GA/server/default/tmp/native 
20:09:50,205 INFO  [ServerImpl] Server Temp Dir: 
/test/jboss-5.0.0.GA/server/default/tmp  
20:09:50,207 INFO  [ServerImpl] Server Temp Deploy Dir: 
/test/jboss-5.0.0.GA/server/default/tmp/deploy
20:09:56,079 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/test/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
20:09:59,366 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.IterableTimedVFSCache]   
20:09:59,413 INFO  [VFSCacheFactory] Using VFSCache 
[IterableTimedVFSCache{lifetime=1800, resolution=60}]
20:10:01,456 INFO  [CopyMechanism] VFS temp dir: 
/test/jboss-5.0.0.GA/server/default/tmp 
20:10:01,463 INFO  [ZipEntryContext] VFS force nested jars copy-mode is 
enabled. 
20:10:12,300 INFO  [ServerInfo] Java version: 1.6.0,IBM Corporation 
 
20:10:12,301 INFO  [ServerInfo] Java VM: IBM J9 VM 2.4,IBM Corporation  
 
20:10:12,303 INFO  [ServerInfo] OS-System: Linux 2.6.26,s390x   
 
20:10:12,701 IN

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to redirect domain to new domain?

2009-02-07 Thread ja...@laposte.net
hi,
I ve 2 domains http://www.lorizon.fr  and http://www.lorizon.com (new domain)

This is the same web site.

I see in forums to not have duplicate content, i have to redirect  
http://www.lorizon.fr -->http://www.lorizon.com
How can i do it?  There is someone with an example? 
i m using jboss 4.2.2.

Thanks

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Problem in JDBC cache loader

2009-02-07 Thread sridhar_ratna
Dear Manik,

Thanks for your suggestion.

Do this original JDBCCacheLoader implementation have any memory based cache or 
just for database cache only.

When i given a look into the JDBCCacheLoader.java which extends the 
AdjListJDBCCacheLoader.jav class.

whenever we call get(Fqn name), its inturn calling protected Map loadNode(Fqn 
name) method.

In this method, it just querying the database and returning the values but its 
not checking if any key with the given is present in memory.

Please clarify me on this.

Thanks in advance.





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

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


[jboss-user] [JBoss Tools (users)] - Re: Error creating sessionfactory when using HQL Editor

2009-02-07 Thread elenctic87
Ok, I have tried all combinations of the two cache settings in both the 
.properties file and persistence.xml.  I will have to open a bug tomorrow, as I 
am about to leave the office today.

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

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


[jboss-user] [EJB 3.0] - Re: Problem with deployment of ejb3 SLSB (5.0.0 beta2)

2009-02-07 Thread jayakrishnajava

Hey you did the mistake here man
@Stateless
public class MaterializePreSelectionUseCase implements Serializable, 
IMaterializePreSelectionUseCaseRemote, IMaterializePreSelectionUseCaseLocal {

// @javax.annotation.Resource(mappedName="maxAdults")
// Integer maxAdults;
@EJB

private Somex somex;

public IPreSelectionModel materialize() {
return new PreSelectionModel();
}
}


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

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


[jboss-user] [JBoss Tools (users)] - Re: Error creating sessionfactory when using HQL Editor

2009-02-07 Thread max.ander...@jboss.com
hmm...and what if you set both querycache and 2nd lvl cache to true and 
*restart* eclipse - does that make a difference for you ?

(note, I know this issue but I have not been able to reproduce it in a long 
time after fixing a bug around it in hibernate)

Alternatively try and set the two options in a seperate .properties file in the 
console config.

If neither helps please open a bug with the minimal project setup that causes 
this issue for you so we can reproduce - thanks!

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

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


[jboss-user] [JBoss Tools (users)] - Re: Redeployment loop of ear on jboss AS 5

2009-02-07 Thread max.ander...@jboss.com
open a bug against JBAS with the contents of the ear attached or info on how to 
create it so we can reproduce it. thanks.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Error creating sessionfactory when using HQL Editor

2009-02-07 Thread elenctic87
Yes, I tried that.  I mentioned that at the top of my post: "I have also tried 
explicitly enabling the second-level cache in persistence.xml to no avail."  
This problem has been  really tough to fix.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Error creating sessionfactory when using HQL Editor

2009-02-07 Thread max.ander...@jboss.com
and if you set hibernate.cache.use_second_level_cache=true ?



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

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


[jboss-user] [JBoss Tools (users)] - Re: Correct Eclipse project type for SAR?

2009-02-07 Thread max.ander...@jboss.com
use project archives and just put .sar as the name instead of .jar

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

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


[jboss-user] [JBoss Tools (users)] - Re: Full server capabilities only on localhost?

2009-02-07 Thread max.ander...@jboss.com
We can't start and stop a remote server - hence we got the deploy only server. 
Going forward I want these to server types to be merged.

With respect to the paths how do you want us to deploy if not by copying the 
files ?

JBoss 5.1 will hopefully give us a remote deploy function.

Let me know what you expected to happen ?


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

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


[jboss-user] [JBoss Tools (users)] - Re: Exclude jars from deploy

2009-02-07 Thread max.ander...@jboss.com
well, if you put different jars in there you need to make sure to remove those 
jars you are duplicating in your other projects.

The tools just adds the jars to help - if you don't want the jars in the war 
then just remove them

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

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


[jboss-user] [JBoss Messaging] - Re: JMS over HTTP(S) -

2009-02-07 Thread CarstenRudat
Hi timfox,

I just tried out the example (http). That works. So what should I do to switch 
from http to https?
In the wiki-Document the "invoker transport" was servlet/sslservlet (with does 
not work). Is there a https invoker e.g


  | 
  | 

and 


  | ${jboss.bind.address}
  | 8443
  | 
?

Thanks for your help.
Carsten

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

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


[jboss-user] [JBoss Portal] - Re: Exception in Portal 2.7.0/RichFaces, not in 2.6.4/MyFace

2009-02-07 Thread DanielK
Ajax requests are from type RequestFacade. "Normal" requests are from type 
JBossActionRequest (~2.7.1. make use of another wrapper class of 
JBossActionRequest).

What you should do, make a check what kind of request you will get 
(instanceof), because otherwise you will see another ClassCastException after 
JBP upgrade :)

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

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


[jboss-user] [JBoss Messaging] - Re: JMS over HTTP(S) -

2009-02-07 Thread timfox
There's an HTTP example in the distro, that should work out of the box. Did you 
try that?

See userguide

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

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


[jboss-user] [JBoss Messaging] - JMS over HTTP(S) -

2009-02-07 Thread CarstenRudat
Hi all,

I'd like to use JMS over HTTPs. I followed the instructions on 
http://jboss.org/community/docs/DOC-9631 (except that I configured a 
https/sslservlet for the public jms connector and I use the all config).

Now, I try to run a simple example

  | Properties p = new Properties();
  | p.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.naming.HttpNamingContextFactory");
  | p.put(Context.PROVIDER_URL, 
"http://localhost:8080/unified-invoker/PrivateJNDIFactory/?return-exception=true";);
  | p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
  | InitialContext ctx = new InitialContext(p);
  | 
  | QueueConnectionFactory cf = (QueueConnectionFactory) 
ctx.lookup("/PrivateServletConnectionFactory");
  | Queue queue = (Queue) ctx.lookup("queue/testQueue");
  | 
  | // everything is ok but...
  | 
  | // now RuntimeException (Failed to download and/or install client side AOP 
stack)
  | QueueConnection conn = cf.createQueueConnection();
  | QueueSession session = conn.createQueueSession(false, 
QueueSession.AUTO_ACKNOWLEDGE);
  | conn.start();
  | 
  | // Set the async listener
  | QueueReceiver recv = session.createReceiver(queue);
  | recv.setMessageListener(new ExListener());
  | 
  | // Send a text msg
  | QueueSender send = session.createSender(queue);
  | TextMessage tm = session.createTextMessage("Text");
  | send.send(tm);
  | log.info("sendRecvAsync, sent text=" + tm.getText());
  | send.close();
  | log.info("End sendRecvAsync");
  | 

I run my Client with javaassist.jar, jboss-aop-jdk50-client.jar, 
jboss-ejb3-client.jar (I tested the EJB over https, too - that works), 
jboss-j2ee.jar and jboss-messaging-client.jar in classpath.

I get the error:

  | Failed to download and/or install client side AOP stack
  | 
  | java.lang.RuntimeException: Failed to download and/or install client side 
AOP stack
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:199)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
  | at 
com.genloop.test.client.TimeTellerClient.main(TimeTellerClient.java:54)
  | Caused by: org.jboss.jms.exception.MessagingNetworkFailureException
  | at 
org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:240)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:233)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
  | at 
org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
  | ... 3 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker.
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:334)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:136)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at org.jboss.remoting.Client.invoke(Client.java:1634)
  | at org.jboss.remoting.Client.invoke(Client.java:548)
  | at org.jboss.remoting.Client.invoke(Client.java:536)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
  | ... 8 more
  | Caused by: java.lang.IllegalArgumentException: Invalid packet type: 
1013478509
  | at 
org.jboss.jms.wireformat.PacketSupport.createPacket(PacketSupport.java:379)
  | at org.jboss.jms.wireformat.JMSWireFormat.read(JMSWireFormat.java:290)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:502)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:306)
  | ... 14 more
  | 

I just found to entries in JBoss Forum... but the didn't help me.
What am I doing wrong?

Thanks,
Carsten



My config:
JBoss-4.2.3.GA (all config)
JBoss Messaging 1.4.2.GA


server/all/deploy/nat-inverks.sar/META-INF/jboss-service.xml

  | 
  | 
  | 
  |
  |
  |   jboss:service=Naming
  |   
  |   org.jnp.interfaces.Naming
  |   
  |   
  |  
org.jboss.proxy.ClientMethodInterceptor
  |  org.jboss.proxy.SecurityInterceptor
  |  
org.jboss.naming.interceptors.ExceptionInterceptor
  |  
org.jboss.invocation.InvokerIntercept

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Errors on startup of Jboss 5 with ordinary user

2009-02-07 Thread Jobame
Hello,

I do run Suse 11.1 on a notebook, downloaded JBoss 5.0.0.GA and installed 
everything. When starting it with root no errors do appear.

However, when starting it as an ordinary user I do get the error below. I'm 
almost sure it is a user right problem. I already changed the group of every 
file in $JBOSS_HOME to "jboss" and added my linux user to that group. But the 
error remains. Unfortunately, I cannot see which file is the problem (except 
the description in the first line). 

What am I doing wrong? I tried to find something in the documentation on 
whether I need to modify the user rights of jboss files / directories after 
installation.

anonymous wrote : 14:43:31,259 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 14:43:35,021 ERROR [AbstractKernelController] Error installing to 
Configured: name=WarDeployer state=Instantiated
  | java.lang.RuntimeException: Error configuring property: configFile for 
WarDeployer
  | at 
org.jboss.kernel.plugins.dependency.ConfigureAction.dispatchSetProperty(ConfigureAction.java:112)
  | at 
org.jboss.kernel.plugins.dependency.ConfigureAction.setAttributes(ConfigureAction.java:85)
  | at 
org.jboss.kernel.plugins.dependency.ConfigureAction.installActionInternal(ConfigureAction.java:44)
  | at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
  | at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
  | at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
  | at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:297)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
  | at org.jboss.Main

[jboss-user] [Installation, Configuration & DEPLOYMENT] - can't debug jboss (defective jboss tools setup?)

2009-02-07 Thread rus_pa
hello I run ganymede + jboss 5 up to date
I reinstalled a seam project from a damaged disk where there was ganymede and 
jboss 4.3
I'm stuck in developement since I can add and run jboss from eclipse server's 
view, but unfortunately I cannot add a new "debug configuration" or "run 
configuration" to launch my project with since there are no servers selectable 
in the list. The list is actually empty :(
I need to debug my application in broadcast mode (-b 0.0.0.0) and ther's no way 
I can set this parameter from within eclipse server view. I badly need back 
jboss in launch configuration. What do I miss?
I have all the jboss tools things installed but nothing changed apart having 
tje jboss server view (only lists the ports in use, but sitll empty run config 
listbox)

Thanks

Screenshot here...
http://img156.imageshack.us/my.php?image=screenshotld0.jpg

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to configure several datasources in jbosscmp-jdbc file

2009-02-07 Thread john_...@canada.com
Hi,

The /conf/standardjbosscmp-jdbc.xml specifies a default datasource with some 
attributes.

I'm wondering, how to specify 2 datasources' attribute. 

My case is, 2 ejb3 app using different datasources, and whenever redeploy 
(updating app), data for app A should be continued while data for app B should 
be re-initialized.

I noticed the tag false in the 
standjbosscmp-jdbc.xml help with this; however this descriptor can only work 
for one datasource. I've tried put a copy of it in my ejb.jar/META-INF, but it 
didn't work out.

Any one can tell?

Thanks
--
John 

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

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


[jboss-user] [JNDI/Naming/Network] - naming.NameNotFoundException problem

2009-02-07 Thread eyalm_nm
When running my client i get the following excetion - 
javax.naming.NameNotFoundException: CustomerRemoteHome not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
  | at sun.rmi.transport.Transport$1.run(Transport.java:159)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | at java.lang.Thread.run(Thread.java:619)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
  | at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
  | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at com.titan.customer.Client.main(Client.java:18)
  | 

I'm using the following properties for the Context initialation:
Properties env = new Properties();
  | env.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  | env.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces");
  | return new InitialContext(env);
  | 
How it can be solved?
Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: kCGErrorRangeCheck Error : while JbossPortal 2.6.3

2009-02-07 Thread akumarkind
Hi, 
 I am getting following error while installation of Jboss Portal and jboss AS 
bundle on my window machine. Please give solution for this problem.


 18:32:34,203 ERROR [ServiceObjectFactoryJAXRPC] Cannot create service
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLExceptio
n: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.UnknownHost
Exception: www.w3.org
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(Service
MetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buil
dMetaData(JAXRPCClientMetaDataBuilder.java:116)
at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:1
26)
at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectI
nstance(ServiceObjectFactoryJAXRPC.java:156)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
04)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java
:1273)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingC
ontext.java:1290)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory.getServiceF
or(AbstractJNDIServiceFactory.java:152)
at org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory.getService(
AbstractSOAPServiceFactory.java:75)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.getService(E
ndpointConfigurationInfo.java:395)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.getServiceDe
scriptionService(EndpointConfigurationInfo.java:370)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.refreshServi
ces(EndpointConfigurationInfo.java:469)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.forceRefresh
(EndpointConfigurationInfo.java:462)
at org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerI
nfo.java:334)
at org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerI
nfo.java:282)
at org.jboss.portal.wsrp.consumer.ProducerInfo.refresh(ProducerInfo.java
:277)
at org.jboss.portal.wsrp.consumer.ProducerInfo.getPortletMap(ProducerInf
o.java:662)
at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(Ja
vassistLazyInitializer.java:173)
at org.jboss.portal.wsrp.consumer.ProducerInfo_$$_javassist_105.getPortl
etMap(ProducerInfo_$$_javassist_105.java)
at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsu
merImpl.java:150)
at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerServi
ce.getPortlets(FederatedPortletInvokerService.java:89)
at org.jboss.portal.core.management.PortletDiscoveryService.processPortl
etDiscovery(PortletDiscoveryService.java:89)
at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.varia.scheduler.Scheduler$MBeanListener.handleNotification(
Scheduler.java:1346)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
onListenerProxy.java:153)
at $Proxy11.handleNotification(Unknown Source)
at javax.management.NotificationBroadcasterSupport.handleNotification(No
tificationBroadcasterSupport.java:221)
at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
ficationBroadcasterSup

[jboss-user] [JNDI/Naming/Network] - Failed to connect to localhost:1099

2009-02-07 Thread rasa
Hi,

I am using jboss 3.2.5 application server for my application and its working 
fine. But recently my admin configured the same in some other machine and he 
can able to start the server using run script, when he tries for stop by using 
./shutdown.sh -S it gives following error.

 ./shutdown.sh -S
16:40:19,463 WARN  [NamingContext] Failed to connect to localhost:1099
javax.naming.CommunicationException: Failed to connect to server localhost:1099 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect 
to server localhost:1099 [Root exception is java.net.ConnectException: 
Connection refused]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:213)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:188)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to 
server localhost:1099 [Root exception is java.net.ConnectException: Connection 
refused]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
... 5 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.(Socket.java:310)
at java.net.Socket.(Socket.java:212)
at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:183)
... 5 more
Exception in thread "main" javax.naming.CommunicationException: Could not 
obtain connection to any of these urls: localhost:1099
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1198)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:188)

I tried telnet localhost 1099, its not working. gives connection refused error. 
So anything wrong in jboss configuration. Please help me to find a solution.

Thanks And Regards
Rasa


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

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


[jboss-user] [JBossWS] - Re: Redeploy Endpoint already registered

2009-02-07 Thread skajotde
Question from mentioned post "Do the errors you get somehow influence the 
deploy/undeploy?"

Yes, these errors fails redeploy. 

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

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


[jboss-user] [JBossWS] - Redeploy Endpoint already registered

2009-02-07 Thread skajotde
Hi all!

Problem like here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=135099 and not solved.h

Case: When deploying application occurs problem like ClassNotFoundException, 
next I remove ear so all beans should be undeployed but seems not all. When 
repair ear and  copying it to deploy dir JBoss again deploy this app (redeploy) 
and while deploying module jws with JBossWs services is problem

anonymous wrote : 11:07:39,018 ERROR [MainDeployer] Could not start deployment: 
file:/systemYYY/jboss-developerski/server/developerski01/tmp/deploy/tmp454525987406062238920-systemYYY-xxx-jee-1.0-SNAPSHOT.ear-contents/ystemYYY-xxx-jws-1.0-SNAPSHOT.jar
  | java.lang.IllegalStateException: Endpoint already registered: 
jboss.ws:context=jws/xxx,endpoint=SerwisyXxxRoleJWS

I think JWS beans should be fully undeployed on first deploy when catch 
ClassCastException. It is bug ?

JBoss 4.2.3 GA
JBossWS Version: jbossws-native-3.0.3.GA


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

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


[jboss-user] [EJB/JBoss] - Could not enlist transaction...

2009-02-07 Thread venukb
Setup:
MySQL 5.0.46 enterprise with Mysql connector 5.1.7
Jboss- 4.2.3 GA

The are 2 Databases configured-JBossDB and AppDB. The *-ds.xml files have been 
configured to bind DefaultDS to Jboss DB and AppDS JNDI to AppDB

Both  use 

In a method call, 2 functions are being invoked
1. One function uses injected Entity manager (CMP) and calls em.persist and 
returns.
2. The other method uses EJB TimerService to create a timer - which in turn 
tries to create an entry in JBossDB

While doing this, its throwing the following exception stack:
EJBException -> IllegalStateException -> NestedSqlException -> Could not enlist 
in transaction on entering post-aware object

I am new to EJB world and the JTA world.
Is the above error because of a single transaction updating 2 different 
databases? 

Will using xa-datasource help in resolving this issue?

thanks in advance
Venu



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

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


[jboss-user] [Remoting] - Re: Problem using JaxWS over HTTPS connection from within a

2009-02-07 Thread ron.si...@jboss.com
Oh you kids.  :)

In olden times, when you could get into CBGB's for free in the afternoon and 
stay for the music, I saw Talking Heads, who opened for The Ramones.  This is 
before anyone ever heard of them.  Perceptive as I am, I decided that they were 
both lame and would never amount to anything.

Anyway, I was just hanging around to meet Patti Smith.  Never happened.

But I've met Gavin King.  :)

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

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