[jboss-user] Delivery Failure

2008-05-12 Thread Postmaster

-
The message you sent to prosnowwear.com/bestel was rejected because it would 
exceed the quota for the mailbox.

The subject of the message follows: 
Subject: I caught you naked bestel


-

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


[jboss-user] [EJB/JBoss] - EJB 3.0 MIgration performance

2008-05-12 Thread prakash.dumbre
We are migrating our application from ejb2.0 to ejb3.0 using annotations. we 
migrated most of the stateless session bean in ejn3.0 simply removing the 
life-cycle mehod which was in EJB2.0 and added following 3 line in each 
stateless session bean.

@Stateless
@TransactionManagement(value=TransactionManagementType.CONTAINER)
@TransactionAttribute(value=TransactionAttributeType.REQUIRED)

 But when we deployed in JBOSS we got slow performance. We also observed that 
while processing the application JVM taking too much RAM and running very slow. 
We removed all deployment descriptor from the application  beceause it is 
optional in EJB3.0.We are suspecting that trnsaction taking too much time.
When we processing our application it is taking time for each ejb method. We 
could not able to find the cause  behind this error. The performance is not 
good 

--prakash--

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Connection from Pool Connection deosn't close

2008-05-12 Thread j2eebank
Hi,

My application uses JBOSS connection pooling, using 
oracle.jdbc.driver.OracleDriver, ( ojdbc14.jar). I use callable statements and 
close the connection after use. But it looks connection doesn't get closed 
immediately but it will be available in the pool. When i execute same callable 
statement for a different record , I get some invalid data, that has come as a 
part of my previous call. It looks Oracle doesn't close the callable statement 
context unless the corresponding connection get closed fully from JAVA. In the 
case of pooling, active connection from pool  might be connected to an active 
context in Oracle and any subsequent calls brings invalid data. When I use 
JDBC, things work fine. Is there anyway to resolve this. Pls help

Jik


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

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


[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread subrata_jboss
Thanks Tim
It seems it was confusion created for few people using the same queue.
So  "Messages are coming in Order Only according to JMS spec"

I have done a comparative study of JBM and ActiveMQ for past two month.
And The Result is JBM Rocks..

We will use JBM for our  project now.
Thanks,
Subrata

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

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


[jboss-user] [EJB 3.0] - Re:

2008-05-12 Thread mvsntakesh
I too had simmilar problem..Is there any way without removing log4j.jar coz 
i am using it in my application.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Message driven bean and transaction

2008-05-12 Thread zahra2towin
Hi

I have an interseptor on ejb method, when an exception occured in EJB method 
this interceptor catch the exception and send the exception to a message driven 
bean to log it in data base, 
the problem occured when the database exception or application exception that 
mark to rullback the transaction occured, in this case execution of 
"connection.createQueueSession(true, Session.AUTO_ACKNOWLEDGE)"
raise "transaction is not active" Exception,

this is the stack trase of exception


  | 08:14:14,531 ERROR [JmsSessionFactoryImpl] could not create session
  | javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=Mohammadi/1096, BranchQual=, 
localId=1096]
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:290)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:389)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:144)
  | at 
com.gpayments.activepayment.core.exception.ExceptionHandlerService.log(ExceptionHandlerService.java:40)
  | at 
com.gpayments.activepayment.core.exception.ExceptionHandlerService.log(ExceptionHandlerService.java:32)
  | at 
com.gpayments.activepayment.interceptor.ExceptionInterceptor.handler(ExceptionInterceptor.java:48)
  | at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  | at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
  | 

even when I set the transactionAttribute to "REQUIRES_NEW" the exception is 
raised.

thanks a lot
[list=]

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

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

[jboss-user] [Installation, Configuration & DEPLOYMENT] - seam components at runtime

2008-05-12 Thread saasira
Hi,

If hot deployment is enabled then will seam cretae the new seam components 
added at runtime. 



Thanks,
Geeta

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

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


[jboss-user] [JBoss Messaging] - Sending 512 kb of message Failing....

2008-05-12 Thread john_jbm
Hi,
  I am trying to send 512 kb size of message...
   it is giving followin error message  "The object is closed"

   This is way i am creating the message for testing 
   StringBuilder message = new StringBuilder();
for (int i = 0; i < 32768; i++) {
   message.append("");  
}
  Can any body Please tell me what is message size JBM supports?

   My requirement is i need to send 512 kb or may be some time 1 mb of
   data. 

Thanks,
 John

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

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


[jboss-user] [Beginners Corner] - Re: Accessing a static method throws a null pointer exceptio

2008-05-12 Thread ilavenila
Thanks Jai-kiran. I was looking at the wrong version of the file. And of 
course, static method calls cannot throw a null pointer exception. Happy Days!

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

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


[jboss-user] [Beginners Corner] - Re: Accessing a static method throws a null pointer exceptio

2008-05-12 Thread jaikiran
Please post the entire exception stacktrace, the version of JBoss and Java you 
are using, the code in that static method and the piece of code from where you 
are invoking the method.

While posting the logs or code or xml content, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

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

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


[jboss-user] [Beginners Corner] - Re: something is lost int jboss4.2.2GA

2008-05-12 Thread jaikiran
anonymous wrote : but the internet show the configure about datasource is all 
about this two file

For configuring a datasource, you need a *-ds.xml file, which you will have to 
place in the %JBOSS_HOME%\server\< serverName>\deploy folder. See this for more 
details http://wiki.jboss.org/wiki/ConfigDataSources

Also, there are some sample datasource files in %JBOSS_HOME%\docs\examples\jca 
folder, which you can use as a reference.



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem with Upgrading from jboss-4.0.2 to jboss-4.2.2.G

2008-05-12 Thread venummca
Small Correction For the above post.

java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)





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

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


[jboss-user] [JBoss Portal] - Re: CMS Service

2008-05-12 Thread nystaa
- 2.6.1 and 2.6.4 are much alike so documentation of 2.6.4 will fit both.

- Also trying to upgrade to 2.6.4 is recommended

- You can read about CMS in the CMS section at 
http://wiki.jboss.org/wiki/JBossPortal

- You can grab the source ball of 2.6.4 from 
http://www.jboss.org/jbossportal/docs/ 

- You can check out anonymously the source of 2.6.x from "tags" at 
http://anonsvn.jboss.org/repos/portal/

Good Luck

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

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


[jboss-user] [Remoting] - Re: Compression marshalling

2008-05-12 Thread ganesh_sn
Thanks Ron. Will update you.

Best Regards,
Ganesh.

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

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


[jboss-user] [Beginners Corner] - something is lost int jboss4.2.2GA

2008-05-12 Thread zhang_zhao_wang
when i study the  jboss4.2.2GA,i found the folder(/server/default/conf )have 
lack of some xml file. standardjaws.xml and jaws.xml  is not under the 
folder.but the internet  show the configure about datasource is all about this 
two file.  is there has some isubstitute,where?

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

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


[jboss-user] [Fwd: [Fwd: Problem Deploying TrailBlazer on JBoss-SOA-Platform 4.2 GA Dist]]

2008-05-12 Thread Seh Chwan Lim


hi,

I would like to use the ESB TrailBlazer for a demo to a potential customer 
but can't seem to get it deployed on the JBoss-SOA-Platform 4.2 GA Binary Dist.

Therefore, would appreciate if someone can help to shed some light.

I have tried to run "ant deploy" from the TB root, but however, it 
always gives the error:


esb.built:
  [echo] Please build the ESB with "ant dist" in the ESB parent
  [echo] directory in order to run the Trailblazer application.

I have downloaded the build.xml from Revision 16260 (see attached build file) and try to do a 
deploy. Yet the same error (as above) occurs.


After that, I downloaded the build.xml from Revision 16999 (see attached build 
file)
and run "ant deploy", it gives me the following error:

BUILD FAILED
/opt/jboss-soa-p.4.2.0/jboss-as/samples/trailblazer/build.xml:146: 
/opt/jboss-soa-p.4.2.0/jboss-as/samples/trailblazer/${test.util.dir} not 
found.


Thanks in advance for your attention and help.
rgds
Seh Chwan
Solution Architect, ASEAN







  















































 













































   





   









Please build the ESB with "ant dist" in the ESB 
parent
directory in order to run the Trailblazer 
application.
Please build ESB first.










































  
  






 



   









































Running ESB Trailblazer listeners













  
































































































   

[jboss-user] [JBoss AOP] - java.lang.NoClassDefFoundError. Cant find an interface at lo

2008-05-12 Thread elysch
Hello again.

I'm still very new to all this. I haven't been able to get my application 
working for a long time now. I'm sure I'm doing something wrong.

I hope I'm not asking a very dumb question, but I haven't been able to find a 
solution yet.

I'm getting the following error in the jboss console at loadtime:
11:30:16,578 ERROR [[action]] Servlet.service() para servlet action 
lanzó excepción
  | java.lang.NoClassDefFoundError: 
com/mitalteli/bolsaDeTrabajo/useCaseSlices/specific/consultarVacantes/IAspectoServicioConsultarVacantesBase
  | at 
com.mitalteli.bolsaDeTrabajo.web.consultarVacantes.ControladorConsultarVacantesImpl.populateConsultarVacantesScreen(ControladorConsultarVac
  | antesImpl.java:71)
  | at 
com.mitalteli.bolsaDeTrabajo.web.consultarVacantes.ConsultarVacantes._poblarPantallaConsultarVacantes(ConsultarVacantes.java:72)
  | at 
com.mitalteli.bolsaDeTrabajo.web.consultarVacantes.ConsultarVacantes.execute(ConsultarVacantes.java:19)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
  | at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
  | at 
org.andromda.presentation.bpm4struts.ActionServlet.doGet(ActionServlet.java:39)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)

Maybe it's just a matter of a classpath or something like that.

The ear contains: 

bolsaDeTrabajo-1.0-SNAPSHOT.ear
  | |---\META-INF\jboss-app.xml
  | |
  | |---\bolsaDeTrabajo-web-1.0-SNAPSHOT.war
  | |
  | |---\WEB-INF\classes\com\mitalteli\bolsaDeTrabajo\web\consultarVacantes\
  | ControladorConsultarVacantesImpl.class
  | |
  | |---\bolsaDeTrabajo-aop-1.0-SNAPSHOT.aop
  | 
|---\com\mitalteli\bolsaDeTrabajo\useCaseSlices\specific\consultarVacantes\
  | IAspectoServicioConsultarVacantesBase.class


As you can see, it is there, but in a different "sub-package".

ControladorConsultarVacantesImpl contains at line 72 (inside the 
populateConsultarVacantesScreen method):
...
  | EmpresaVO[] empresas = 
((com.mitalteli.bolsaDeTrabajo.useCaseSlices.specific.consultarVacantes.IAspectoServicioConsultarVacantesBase)
 getServicioConsultarVacantes()).getAllEmpresas();
  | ...

I had to do that, because the original ServicioConsultarVacantesBase class 
didn't have a getAllEmpresas() and it's added with an introduction-mixin like 
this:


The jboss-app.xml contains:
   
  |
  | 
  |
  |   
  |  
  |
com.mitalteli.bolsaDeTrabajo.useCaseSlices.s

[jboss-user] [JBoss Portal] - Re: Class 'tidy' not found in PHP application on JBoss Porta

2008-05-12 Thread ernitingoel
Hi Peter,

Could you please help me to resolve this error?

Thanks,
Nitin Goel

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

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


[jboss-user] [Remoting] - Re: Memory leak in remoting objects

2008-05-12 Thread trustin
It's a kind of bug in java.util.Timer.  Calling TimerTask.cancel() causes the 
registered task from being dereferenced in Timer's internal data structure.  It 
is because the Timer developers assumed that the cancellation of tasks would 
not happen that often.

The solution is probably destroying the parent Timer class and create a new 
one.  In Java 5, java.util.concurrent.ScheduledThreadPoolExecutor provides a 
method that purges the references to the cancelled tasks.  It's so inconvenient 
anyway.

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

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


[jboss-user] [Beginners Corner] - Accessing a static method throws a null pointer exception

2008-05-12 Thread ilavenila
Hey,

I have a very weird situation. I have a web app deployed in JBoss. I am getting 
a null pointer exception on a static method.

Say,

I have a class name StaticHelperClass which has a static method calculateItem. 
When I try to access this method in a second class such as

StaticHelperClass.calculateItem , I am receiving a null pointer exception on 
this line. 

I don't know why accessing a static method should throw a null pointer. Any 
pointers/clues would me much appreciated. Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150213
___
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

2008-05-12 Thread tharter
I've just been beating this problem to death for about 3 days now. Maybe a year 
or so back I wrote some custom EJB3 interceptors. All was well. Now I find for 
no reason I can discern that they simply do not get invoked anymore.

Specifically there is nothing super complex going on. I have an interceptor 
class, annotated method @AroundInvoke and a bean method in my deployment unit 
marked with @Interceptors(MyInterceptor.class). This has worked for quite some 
time. Lately, due to some reliability problems, I switched from jrocket R26.4 
to R27.4. It appears that JBoss still DEPLOYS the interceptors


2008-05-12 18:44:32,431 DEBUG [org.jboss.ejb3.EJBContainer] Method interceptors 
for  public com.tradedesksoftware.etsdata.users.group.Company 
com.tradedesksoftware.etsdata.DataManagerBean.getCompany(int): 
[InterceptorInfo{class=class 
com.tradedesksoftware.interceptors.AuthReturnInterceptor, 
aroundInvoke=Intercept}]


However when the business method is invoked, no interceptor. Same things seems 
to happen in unit tests using Embeddable EJB3, where the same interceptors also 
seemed to work fine previously. Even if I just add a 'do-nothing' interceptor 
that just spits out a log message, still not called.


Anyone have even a clue what I can do to try to figure this out? I'm at a loss 
here. Cannot go back to R26.4 of jrockit and can't live without the 
interceptors either :(


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

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


[jboss-user] [Remoting] - Re: Memory leak in remoting objects

2008-05-12 Thread trustin
"trustin" wrote : Calling TimerTask.cancel() causes the registered task from 
being dereferenced in Timer's internal data structure.

This sentence should be:

Calling TimerTask.cancel() prevents the registered task from being dereferenced 
in Timer's internal data structure.

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

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


[jboss-user] [EJB 3.0] - Re: Recommended testing framework

2008-05-12 Thread tharter
Heh, JUnitEE may be 'dead' but it works...

I even ginned up an Injector, so in my test cases I can use the

@EJB

and

@Resource

Annotation ;) In fact I even made annotations for DBunit and one that 
automagically auths my tests. Now, if only @Interceptors() only worked (at all) 
I'd be golden...

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss Connection Socket usage in error scenarios

2008-05-12 Thread dkilley
Original Post, wrong area? - 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133873

Essentially to summarize, we've noticed that when a HA connection data source 
is configured with a new-connection-sql statement, that if the socket 
connection succeeds, but the new-connection-sql fails, the connection is not 
closed prior to throwing the ManagedConnect object away.  Thus there exists 
potential for alot of sockets to be opened and not closed until GC, whereby a 
bit of extra code can close those sockets proactivly.

Before submitting as a bug I wanted to just gather any feedback on this.

The above URL has a good code clip at the bottom that describes the exact code 
and what we are seeing.




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

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


[jboss-user] [Remoting] - Re: Create Data Source on Remote JBoss instance

2008-05-12 Thread [EMAIL PROTECTED]
The data layer is completely independent of Remoting.  Of course, you can 
certainly use JDBC in you ServerInvocationHandler code.

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

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


[jboss-user] [Remoting] - Re: No jboss-remoting.jar in 2.2.2SP_4 and 2.2.2SP_7

2008-05-12 Thread [EMAIL PROTECTED]
Sorry.  I'll try to get to that soon.

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

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


[jboss-user] [Remoting] - Re: Memory leak in remoting objects

2008-05-12 Thread [EMAIL PROTECTED]
Every time you create a JBossMessaging connection, you're creating a Remoting 
bisocket connection, including a new BisocketClientInvoker.$PingTimerTask.  
When you close the JBM connection, the PingTimerTask should cancel itself.  

You're sure that you're closing the JBM connection?

Now, the Timer that the PingTimerTasks are registered with is a static object, 
so I guess it's possible that the Timer is holding references to old 
PingTimerTasks.  I don't know how you're profiling your test, but I know that 
with JProfiler you can see what's pointing to the PingTimerTasks and preventing 
them from getting garbage collected.

Could you look into that?

Thanks,
Ron

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

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


[jboss-user] [JBoss jBPM] - jBPM 3.2.2 on Weblogic 9.2

2008-05-12 Thread greenHand
Please bear with me. I am new to not only jBPM but also J2EE. I have been 
struggling and working on a proof of concept to use jBPM on Weblogic. I need to 
find out if I am on the right course.

If I use the downloaded jbpm-enterprise.ear and manage to swap out jboss.xml 
with weblogic specific deployment descriptor (weblogic-ejb-jar.xml), then 
deploy. Should that work? Anything else I need do besides configuring hibernate?

I like to have a message driven bean be called from a stand alone java program. 
Then the MDB will start the workflow process. Is it a correct way to have the 
MDB to load process definition and signal the token to start the process just 
like many sample unit tests have demonstrated? I guess my question is instead 
of using the web console interface, what's the right way to programmatically 
start and transition the process.

Thank in advance for your help!


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

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


[jboss-user] [Remoting] - Re: Compression marshalling

2008-05-12 Thread [EMAIL PROTECTED]
Hi Ganesh,

Application Server 3.2.5 doesn't use JBossRemoting, and I don't know if there's 
even a compression marshaller available for that version.

When you're ready to upgrade to AS 4.2, let me know and I'll help you with the 
Remoting compression marshaller.

-Ron

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

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


[jboss-user] [JBoss Messaging] - Re: JMS client in a applet

2008-05-12 Thread [EMAIL PROTECTED]
"timfox" wrote : Not sure why you would need to patch JBM.
  | 
  | AFAIK this is a JBoss Remoting issue.
  | 
  | You should post this in the JBR forum so they are aware of this.

Maybe Laurent is using an older TAG, since this seems fixed on Branch_CP.

org.jboss.messaging.util.JBMExecutor is already setting the classLoader using a 
Privileged block. 

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

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


[jboss-user] [JBossWS] - WSDL is correctly modified to use the configured https port

2008-05-12 Thread rnagy
Hi, 

JBoss issue: When an ear file is deployed and used with the https protocol, the 
WSDL is not correctly modified to use the configured port numbers.

Baseline setup:

- JBOSS version JBOSS-4.2.2.GA 
- Linux 2.6.9-55.0 ELsmp 
- EchoService is packaged as .ear and contains JMX MBean to manage configuration
- The .ear contains EchoService wsdl
- The endpoint url in the wsdl is expected to be dynamically rebuilt during 
deployment.

HTTP deployment (works as expected) 

Test Procedure:
- Install a clean instance of JBoss
- Start JBoss "out of the box" 
- Deploy the ear file (echows.ear) 
(drop the file to the directory $JBOSS_HOME/server/default/deploy/)
- Verify the echo web service (EchoService) is deployed using the JMX 
Management Console (http://localhost:8080/jmx-console/)
- Use http://localhost:8080/jbossws/services to identify the Registered Service 
Endpoint Address 
- Result:
http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint?wsdl 
- Follow link to wsdl. Result:

  | - http://www.accenture.com/afmstt/echows";>
  | - 
  | - http://www.accenture.com/afmstt/echows"; version="1.0">
  | http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint?wsdl&resource=echo.xsd"/>
  | 
  | 
  | - 
  | 
  | 
  | - 
  | 
  | - 
  | - 
  | - 
  | 
  | 
  | 
  | 
  | - 
  | http://schemas.xmlsoap.org/soap/http"/>
  | - 
  | 
  | - 
  | 
  | 
  | - 
  | 
  | 
  | 
  | 
  | - 
  | - 
  | http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint"/>
  | 
  | 
  | 
  | 

HTTPS deployment (does not work)
- Install a clean instance of JBoss
- Reconfigure JBoss to use SSL and port 8443
- Copy keystore to $JBOSS_HOME/server/default/conf
- Edit $JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml to 
enable SSL connector on port 8443 and define keystore file path and password
- Comment out the default 8080 connector

  | 
  | 
  | 
  | 
  | 
  | 
- Start JBoss
- Deploy the ear file (echows.ear)
(drop the file to the directory $JBOSS_HOME/server/default/deploy/)
- Verify the echo web service (EchoService) is deployed using the JMX 
Management Console (https://localhost:8443/jmx-console/)
- Use https://localhost:8443/jbossws/services to identify the Registered 
Service Endpoint Address 
- Result:
http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint?wsdl
wrong - should be 
https://localhost.localdomain::8443/services/echows/EchoServiceEndpoint?wsdl
- Modify the link to the correct one: 
https://localhost.localdomain:8443/services/echows/EchoServiceEndpoint?wsdl to 
expected endpoint wsdl. 

- Result:
- http://www.accenture.com/afmstt/echows";>
  | - 
  | - http://www.accenture.com/afmstt/echows"; version="1.0">
  | https://localhost.localdomain:8443/services/echows/EchoServiceEndpoint?wsdl&resource=echo.xsd"/>
  | 
  | 
  | - 
  | 
  | 
  | - 
  | 
  | 
  | - 
  | - 
  | 
  | 
  | 
  | 
  | - 
  | http://schemas.xmlsoap.org/soap/http"/>
  | - 
  | 
  | - 
  | 
  | 
  | - 
  | 
  | 
  | 
  | 
  | - 
  | - 
  | http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint"/>
  | 
  | 
  | 
  | 

Note that the 
https://localhost.localdomain:8443/services/echows/EchoServiceEndpoint?wsdl&resource=echo.xsd"/>
 
contains the updated https and 8443 (as expected).

Note that the > contains http and 8080.

Again, it had been expected that the soap address location would have been 
updated to https and port 8443 as was correctly done for SchemaLocation.

We are asking for either an explanation of what we did incorrectly or for an 
indication of when this issue can be expected to be fixed.

If desired, we will open a Jira item if we are led to believe this is a 
suspected bug.

Regard,
--Rich.


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

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


[jboss-user] [JBossWS] - Trying to deploy ADF Oracle componet in a jsf page getting j

2008-05-12 Thread VijaySri


javax.servlet.ServletException: 
javax.faces.application.ViewHandler.initView(Ljavax/faces/context/FacesContext;)V
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)

oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)

oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)

oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

I copied all my jars in server/default/lib.
I removed all the  JSF jars which comes with the jboss developer studio 
server\default\deploy\jboss-web.deployer\jsf-libs 

Server is running fine but when i hit the page with the url : 
http://localhost:8080/test/faces/Jsp/testLogin.jspx 

i get exception like 
javax.servlet.ServletException: 
javax.faces.application.ViewHandler.initView(Ljavax/faces/context/FacesContext;)V
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)

oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)

oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)

oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

Please guide me this regard.


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

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


[jboss-user] [JBoss jBPM] - Re: Send Mail in specified date.

2008-05-12 Thread jalamos
Ok , I can put action inside timer who send  mail, but  I can't to put a  
variable like #{Date} in a timer.

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

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


[jboss-user] [JBoss Portal] - CMS Service

2008-05-12 Thread aindigo
hello

im developing a portlet with very special requirements,  and the CMS service 
seems to adequate very well to my needs, but i cant find information in deep 
about the functionality of that service or how to use it properly. i need to 
know the objects that execute command returns , and that kind of things. the 
only way i have to know about the service is looking at the source code of the 
implementation.

there is any documentation about the services that portal offer me?

thanks in advance


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

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


[jboss-user] [JNDI/Naming/Network] - Re: Thru MBean or any code get values in *-ds.xml file

2008-05-12 Thread srikanth_vals
hi,
could you please send me an example link or point me to unit test in JBoss 
src?

-sri

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

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


[jboss-user] [JBoss AOP] - Re: Dynamic AOP and User-Defined Class Loader

2008-05-12 Thread shu_boston
Oops, a XML tag was gone. I precompile Test class, where aspects are weaved, 
using aopc with


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

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


[jboss-user] [JBossWS] - ADF Oracle components are failing while deploying JSF Applic

2008-05-12 Thread VijaySri
Jboss Developer Studio works fine with the just JSF but not with the Oracle ADF 
Components.

Trying to deploy ADF Oracle components on Jboss developer studio which comes 
with Jboss 4.2  server version fails.

http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.CIHJFAIA/vtTopicFile.adfdevguide%7Cdeployment_topics%7Ehtm/

They are specific to JDeveloper Studio. But i am looking for Jboss Developer 
Studio. 

I am trying to follow the steps 
Can anybody suggest the detail steps to follows to make it work in jboss 
develoer studio.

Want to know what jars file i have to use and what jars jboss is using by 
default.

I keep getting exception java.lang.ClassCastException: 
oracle.adfinternal.view.faces.context.AdfFacesPhaseListener
14:41:02,751 ERROR [STDERR] 

==my web.xml is

http://java.sun.com/xml/ns/j2ee";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
 testADF
test

javax.faces.STATE_SAVING_METHOD
client



oracle.adf.view.faces.CLIENT_STATE_MAX_TOKENS

20



oracle.adf.view.faces.USE_APPLICATION_VIEW_CACHE

true


oracle.adf.view.faces.DEBUG_JAVASCRIPT
false



oracle.adf.view.faces.CHECK_FILE_MODIFICATION

false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.AUTO_SCROLL
false


org.apache.myfaces.ADD_RESOURCE_CLASS


org.apache.myfaces.renderkit.html.util.DefaultAddResource




org.apache.myfaces.CHECK_EXTENSIONS_FILTER

true


adfFaces

oracle.adf.view.faces.webapp.AdfFacesFilter



myFacesExtensions

org.apache.myfaces.webapp.filter.ExtensionsFilter


maxFileSize
20m



adfFaces
faces


myFacesExtensions
faces


myFacesExtensions
/faces/myFacesExtensionResource/*



org.apache.myfaces.webapp.StartupServletContextListener



faces
javax.faces.webapp.FacesServlet
1


resources

oracle.adf.view.faces.webapp.ResourceServlet

1


ImageServlet

net.sf.jasperreports.j2ee.servlets.ImageServlet



faces
/faces/*


resources
/adf/*


ImageServlet
/servlets/image


30


index.jsp
index.jspx




http://java.sun.com/jsp/jstl/core
/WEB-INF/tld/c.tld



http://xmlns.oracle.com/adf/faces
/WEB-INF/tld/af.tld



http://xmlns.oracle.com/adf/faces/html

/WEB-INF/tld/afh.tld



BASIC



===my -  faces-config.xml

http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>



oracle.adf.core

en




loginBean
Beans.LoginBean
request

name
java.lang.String



password
java.lang.String





bean
 

[jboss-user] [JBoss AOP] - Re: Dynamic AOP and User-Defined Class Loader

2008-05-12 Thread shu_boston
Hi,

I precompile Test class, where aspects are weaved, using aopc with . Is this 
load-time weaving? My classloader simply overrides findClass() to load class 
files as byte strings and call defineClass(), and I don't think getResource() 
is called.

I tracked the error, and found ScopedClassPool returned by javassist is empty. 
I still have no idea what's happening...

Thanks!

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HELP, please! -- [QuerySplitter] no persistent classes f

2008-05-12 Thread wvning
Strange to me -- it worked when I injected PersistenceContext instead of a Seam 
component.

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

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


[jboss-user] [JBoss AOP] - Re: Dynamic AOP and User-Defined Class Loader

2008-05-12 Thread [EMAIL PROTECTED]
IMO, the error you're getting is unexpected. Since your ClassLoader loaded the 
referred class, and since the class pool is associated with this class loader, 
it should be able to find it.

To help me track what is causing this problem, I need to know if you're using 
load-time weaving (without aopc) or compile time weaving (with aopc). In case 
you are using compile-time weaving, could you plese check: (1) if a call is 
being made to yourClassLoader.getResource(String)? (2); if the error happens 
also with load-time weaving.

Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: Dynamic task creation

2008-05-12 Thread scull
Hello massimiliano_cuccia

I cant pu to work my process yet, I test it with your code but not work,
and i'm not understand you whit 

if(!ti.hasEnded())
ti.cancel()

please help me. 

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

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


[jboss-user] [JBossWS] - ty for nothing

2008-05-12 Thread Hattori Hanzo
I already find the problem was the import of some librarys :D

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

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


[jboss-user] [JBoss AOP] - Re: Dynamic AOP and User-Defined Class Loader

2008-05-12 Thread shu_boston
Flavia,

I still have a problem. Revised code throws the following exception. My class 
loader loads the test.Test$JoinPoint_print4216308509294254048 class , but 
javassist cannot see it. I have no idea what's happening.
Can you please help me out?


  | java.lang.RuntimeException: Error generating joinpoint class for joinpoint 
Method[method=public void test.Test.print()]
  | at 
org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:321)
  | at 
org.jboss.aop.instrument.JoinPointGenerator.access$100(JoinPointGenerator.java:77)
  | at 
org.jboss.aop.instrument.JoinPointGenerator$GenerateJoinPointClassAction$2.generateJoinPointClass(JoinPointGenerator.java:1672)
  | at ...
  | 
  | Caused by: javassist.NotFoundException: 
test.Test$JoinPoint_print4216308509294254048
  | at javassist.ClassPool.get(ClassPool.java:436)
  | at 
org.jboss.aop.instrument.JoinPointGenerator.generateJoinpointClass(JoinPointGenerator.java:401)
  | at 
org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:287)
  |at ...
  | 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Demand Size increases

2008-05-12 Thread paradisonoir
So no matter if a message is persistent or none, it should have the same demand 
size. Right?

If I want to use a different database, do I need to setup tables or it is easy 
like the hypersonic one? because I didn't change that database.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Demand Size increases

2008-05-12 Thread [EMAIL PROTECTED]
All of this looks something very specific to your program.


We aways recommend to not use HSQLDB, and we don't provide support. If you want 
support on HSQLDB you should look at HSQL team.

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

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


[jboss-user] [Remoting] - Re: Create Data Source on Remote JBoss instance

2008-05-12 Thread srikanth_vals
Hi,
I would like to use JBoss Remoting API to create data source on Remot Jboss 
instance?

-sri

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

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


[jboss-user] [Beginners Corner] - Message size in jboss database

2008-05-12 Thread paradisonoir
Hi,

Is there any way to measure the size of demands when it is in Jboss database  
such as the default one hypersonic?

Thanks

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

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


[jboss-user] [Beginners Corner] - Question regarding Dynamic AOP

2008-05-12 Thread jpsilva
Hi everybody.
I'm not even new to JBoss, as I'm not using it just yet, but evaluating its 
possibilities.

I have a question regarding its support for dynamic AOP. I post it here because 
as I'm more than a beginner, I don't know if I'm even asking the right 
questions. Please, feel free to move it to the AOP forum if considered 
appropriate.

I'm interested in the ability of JBoss to dynamically change the applied 
aspects of an application by changing the configuration file. My question is, 
is it feasible to have such ability in a by thread basis?.

To make it more clear, I have in mind something like a web service that 
depending on the client credentials, would apply different aspects to the main 
functionality, but would be serving multiple clients at the same time.

It would be of great interest for me to know if this can be done in the current 
state of JBoss, or even with the need of not-so-great modifications.

I look forward to your answers. Thanks in advance.
Regards,
 Juan Pedro Silva

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

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


[jboss-user] [JBoss Portal] - Multiple portlet instances on same page

2008-05-12 Thread sborbas
I have one problem - i hope for it, it problem only for me. 

I developed two portlets, with JSF RI - and running with 2.6.1 GA Portal. The 
first portlet displaying an document, the second is diplaying an list. The two 
portlets are can communicate with each other by shared objects in 
PortletSession.APPLICATION_SCOPE.  The communication works well.

But.. I deployed three portlet instances, one is a 'displayer' portlet, and the 
other are instances of 'lister' portlet on same portal page. The lister 
instances are displaying different lists - the list generation based on an 
portlet instance parameter. When I selected an item in the first lister 
instance, everything working well - the diplayer portley loads a document, what 
i want. But if I clicked on a link in the second lister instance, wrong JSF 
actionlistener called : it looks like, as if i clicked in the first instance. 
If I clicking  third link of the second list, happens like, if I clicking in 
the first instance on the third link. With further words : when I clicking in 
the second instance, then the Portal is calling the actionlistener of the fist 
instance.

How can I fix this problem?

JSF code :



  
  
  
  
  
  
 

 

Actionlistener :
public void viewItemAction(ActionEvent event)
{
UIParameter component = (UIParameter) 
event.getComponent().findComponent("ItemId");
int ItemId = Integer.parseInt(component.getValue().toString());
.
.
.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Anytime I close my program, I receive the error in Jboss

2008-05-12 Thread paradisonoir
Hi,

I am using ant to run my applications and they're working fine with Jboss. 
However, whenever I close my application using Ctrl+C or because of raising an 
exception or error in my application, I would see errors. I would like to know 
if it should be like that or because of my bad Jboss configuration?

For example this time was because I closed one of my applications with Ctrl+C,  
I received this error while exiting jboss was not functioning and I had to 
restart it.

at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:573)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:387)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:166)
Caused by: java.net.SocketException: Connection reset by peer: socket write erro
r
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSoc
ket(BisocketClientInvoker.java:449)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConne
ction(MicroSocketClientInvoker.java:801)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transpor
t(MicroSocketClientInvoker.java:551)
... 35 more 

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

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


[jboss-user] [JBossWS] - Re: Turning off eager initialization of meta data model

2008-05-12 Thread deadrow
I do have teh same issue...please help

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB not

2008-05-12 Thread scooter4j
note the poor copy-paste results the code section of previous post... i 
included the closing mbean tag from the previous element... 

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB not

2008-05-12 Thread scooter4j
well... i deleted the contents of the file related to that queue b/c it wasn't 
working... but this is what I'm pretty sure I had:


  |   
  | 
  | jboss.mq:service=DestinationManager
  | jms/OrderQueue
  |   
  | 

btw:  the file in which I put this block is 
$JBOSS_INSTALL\server\default\deploy\jms\jbossmq-destinations-service.xml

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

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


[jboss-user] [JBoss jBPM] - Bussines object based application

2008-05-12 Thread [EMAIL PROTECTED]
Hi, I am evaluating jBPM for use in our application. This is not a task based 
application (user doesn't have a task list) but an business object (BO) based. 
What I mean is that every page is a list of BOs or edit page for one BO. What 
is the best way to integrate jBPM with this kind of app? I made an api that 
when user clicks on a button it will alert jBPM. It looks like this:

public long newProcessInstance(String processName);
public void doTask(long processInstanceId, String taskName);
public boolean canDoTask(long processInstanceId, String taskName);
public void deployProcessDefinition(ProcessDefinition processDefinition);

ProcessInstance id is stored in BO and every button know how is called the task 
it should do. But it is needed to search the task by name. Is this the right 
approach? Has somebody used jBPM in this kind of app? Or should we use another 
workflow eg. OSWorklfow?

Thanks

Fero


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problem by using Tomcat (web) to access JBoss (app)

2008-05-12 Thread thomas2008ch
It helps!

Many thanks!

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problem by using Tomcat (web) to access JBoss (app)

2008-05-12 Thread jaikiran
anonymous wrote : InitialContext ctx = new InitialContext();

You will have to change this to pass the context information. That will help 
Tomcat know that you are looking for an object which resides on JBoss.


  | Properties props = new Properties();
  | 
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
  | props.put(Context.PROVIDER_URL,"jnp://localhost:1099");
  | 
  | Context ctx = new InitialContext(props);

Also, make sure that you add the jbossall-client.jar file (present in 
%JBOSS_HOME%/client folder) to the lib folder of your WAR in Tomcat.


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

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


[jboss-user] [Clustering/JBoss] - Re: jboss 4.0.2 + cluster is not working

2008-05-12 Thread [EMAIL PROTECTED]
IIUC you are running Httpd on Vista. Correct?
How do you run Apache Httpd, as service or via cmd.exe?
If you are running it as a service try via console and see if it works. There 
are some problems with httpd and Vista security.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: IPv6 Compliant

2008-05-12 Thread PeterJ
There are number of IPv6-related JIRA issues. Go to http://jira.jboss.com/ and 
do a search on IPv6. Looks like some things work (I verified that a while back, 
but cannot recall which version of JBossAS I was using, might have been 
5.0.Beta3), and some issues are still being fixed.

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

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


[jboss-user] [Clustering/JBoss] - Re: Sticky sessions not working properly

2008-05-12 Thread naren08
Hi, 

I am sorry I did not find any UseJK param in jboss-service.xml under 
jboss-web-cluster.sar/META-INF folder. 

Thanks, 
Naren

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

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


[jboss-user] [Clustering/JBoss] - Re: Sticky sessions not working properly

2008-05-12 Thread naren08
Hi,

I am sorry  I did not find any UseJK param in jboss-service.xml under 
jboss-web-cluster.sar directory.

Thanks,
Naren

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

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


[jboss-user] [JBoss Getting Started Documentation] - IPv6 Compliant

2008-05-12 Thread dmartfw
Hello,

Just a very quick question...Is the JBOSS AS 4.2.2.GA IPv6 compliant (for a 
Windows 2003 Server installation)?

Thanks

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

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


[jboss-user] [Clustering/JBoss] - Re: Sticky sessions not working properly

2008-05-12 Thread [EMAIL PROTECTED]
Do you have the UseJK param set to 'true' in the 
jbossweb-cluster.sar/META-INF/jboss-service.xml file?

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering with UDP or TCP - What is best?

2008-05-12 Thread [EMAIL PROTECTED]
First, suggest you have a look at the presentation Bela Ban and I did at JBoss 
World 2008, which gets into this and other topics you've recently asked about: 
http://jbossworld.com/downloads/pdf/wednesday/JBOSS_1-150pm_ClusterTuning_Bela_Ban.pdf
 .

The basic answer to your question is the more servers you need to send a 
message to, the less well TCP will do, since a server has to send n messages to 
communicate with n peers, while UDP just sends one. A TCP-based stack works 
fine for smaller clusters (4-6 or less), and if you use buddy replication 
you're not sending messages to all peers, so TCP can be suitable even with a 
bigger cluster.

Note that if you use a TCP-based stack, you either need to list all hosts in 
the TCPPING protocol's initial_hosts parameter, or you should replace TCPPING 
with the  MPING protocol, which uses UDP multicast for group discovery.

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

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


[jboss-user] [JBoss jBPM] - Re: Dynamic timers ?

2008-05-12 Thread dleerob
It seems if I dynamically create the timer, they are not ended/removed when the 
task instance ends.

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

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


[jboss-user] [Management, JMX/JBoss] - Accessing MBean Service from Remote Java Stand alone applica

2008-05-12 Thread sathiiish
Hi Friends,
   I have exposed one Service as "simpleService" in JBOSS 4.0. I want to access 
this service from the remote java standalone client application without using 
JNDI.
Pls, help me.

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

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


[jboss-user] [JBoss Portal] - Re: Instance Level Portlet Preferences in Mysql

2008-05-12 Thread nystaa
Can help you with that error,

but from my experience with "portlet preferences on instance level" (PPIL) this 
is very uncomfortable because PPIL are not being persisted correctly and also 
not being cleared properly when removed which will cause a mess.


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

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


[jboss-user] [JBoss Portal] - Instance Level Portlet Preferences in Mysql

2008-05-12 Thread jdestef
Has anyone seen this error when trying to save instance level portlet 
preferences:

org.jboss.portal.portlet.InvalidPortletIdException: Cannot configure producer 
offered portlets

The problem has also been referenced in the mailing list, but it was not 
answered:

http://lists.jboss.org/pipermail/jboss-user/2008-February/112586.html

We are using a mysql backend.


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

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


[jboss-user] [JBoss jBPM] - Re: Dynamic timers ?

2008-05-12 Thread dleerob
Hmmm...I tested changing the name of the timer in the action class that the 
timer calles, by calling executionContext.gettimer().setName("NewName");

It updates the name of the timer, but now when the task instance ends, the 
timer is not removed. Im guessing the original name as defined in the static 
xml file is used to remove/end timers. That's doesn't help.

Looks like I may need to dynamically create the timer in the first place.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Problem with creating an .EAR file

2008-05-12 Thread priyarao234
Hi,I want to know how to deploy an MDB application in JBOSS server...? and i 
hav done like this i made an .ear file for my application and the i placed it 
in server/default/deploy directory of my JBOSS server but it throws an 
exception like 
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
S plz tell me first how to deploy an MDB in JBOSS server and plz tell me how to 
create an .ear file. any help is appriciated...

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

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


[jboss-user] [Microcontainer] - Re: Seam Component Returning Null In Seam Testing

2008-05-12 Thread alesj
This should be asked on Seam forum, or Embedded.
Not MC. ;-)

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

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


[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread timfox
That should certainly never happen.

JBM will (as per JMS spec) always deliver messages in the order they were sent 
from a particular producer.

Please post a simple test case demonstrating the issue. Also please mention 
what version of JBM you are using.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Connection Tracking System

2008-05-12 Thread pank81
I have a query with regard to 'Connection Tracking System' available with  
JBoss Server.

I am using the tracking system to get information on the following parameters :

1) InUseConnectionCount
2) AvailableConnectionCount
3) ConnectionCreatedCount
4) ConnectionDestroyedCount
5) MaxConnectionsInUseCount

My observation is that when I login and then logout from my application running 
on JBoss, the 3rd and 4th parameters listed above get incremented by one every 
3 minutes - implying that a connection is created and a connection is destroyed 
on its own after every time interval of 3 minutes.

I have not been able to understand this phenomenon. Could anybody throw light 
on this?

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

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


[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread subrata_jboss
-->My producer is sending Message M1,M2,M3 to a queue /queue/q1
-->no consumer is running that time, so i see M1,M2,M3 in mysql data base.
--> I started my producer to send messages M4,M5,M6 and at the same
 time i started my consumer too.
--> So in the consumer i see the messages M4,M5,M6 first followed by 
M1,M2,M3(that means it is taking the messages from the memory first rather than 
persistent data base)
--> is there any mechanism that ensures that i get M1,M2,M3,M4,M5 then M6
 (i.e. old message first)

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem with Upgrading from jboss-4.0.2 to jboss-4.2.2.GA

2008-05-12 Thread venummca
We are Upgrading our application from jboss-4.0.2 to jboss-4.2.2.GA 

Environment we are using is:

OS: Windows 2000 pro sp4
Server : jboss-4.2.2.GA

JDK:
 java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


EJB project was deployed successfully 
(Its giving one warning like 
 element in webservices.xml not namespace qualified )

But I am facing problems when I am deploying the web project….
The error message which server is showing is..

16:44:48,984 ERROR [STDERR] java.lang.ClassCastException: 
org.jboss.invocation.unified.interfaces.UnifiedInvokerPro
 cannot be cast to org.jboss.invocation.Invoker
16:44:49,171 ERROR [STDERR] at 
org.jboss.invocation.InvocationContext.getInvoker(InvocationContext.java:103)
16:44:49,171 ERROR [STDERR] at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:22

16:44:49,187 ERROR [STDERR] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
16:44:49,187 ERROR [STDERR] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
16:44:49,187 ERROR [STDERR] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
16:44:49,187 ERROR [STDERR] at 
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
16:44:49,187 ERROR [STDERR] at 
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
16:44:49,187 ERROR [STDERR] at $Proxy1345.create(Unknown Source)

Plz , can anybody..help me


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

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

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


[jboss-user] [JBoss jBPM] - get previous Node

2008-05-12 Thread Sowmya Yellamilli
Hi ,
We have problem retrieving previous node or from which transition we are 
entering a particular Task node without using contextInstance, Any help here is 
greatly appreciated.

Thanks,
Sowmya.


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problem by using Tomcat (web) to access JBoss (app)

2008-05-12 Thread thomas2008ch
The JSP looks as follow:


  | ...
  | <%@ page
  | 
import="javax.naming.*,java.text.*,java.util.*,com.wei.chen.ejbs.stateless.*,com.wei.chen.ejbs.entity.*"%>
  | 
  | <%!private Calculator cal = null;
  | private NumberFormat nf = null;
  | 
  | public void jspInit() {
  | try {
  | InitialContext ctx = new InitialContext();
  | cal = (Calculator) 
ctx.lookup("EntityCalculator/remote");
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | 
  | nf = NumberFormat.getInstance();
  | nf.setMaximumFractionDigits(2);
  | }%>
  | 
  | <%
  | if ("AddFund".equals(request.getParameter("action"))) {
  | cal.addFund(request.getParameter("fundname"), Double
  | .parseDouble(request.getParameter("fundrate")));
  | }
  | %>
  | 
  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";>
  | 
  | 
  | Insert title here
  | 
  | 
  | Add a new Fund:
  | Fund Name :  Growth rate : 
  | 
  | 
  | 
  | <%
  |  Collection  funds = cal.getFunds();
  | 
  | %>
  | ...
  | 

I get more info for the exception from the CMD-Console as follow:


  | javax.naming.NameNotFoundException: Name EntityCalculator is not bound in 
this C
  | ontext
  | at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
  | at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
  | at 
org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.apache.jsp.calculator_jsp.jspInit(calculator_jsp.java:21)
  | at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:51)
  | at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrap
  | per.java:159)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
  | .java:329)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
  | 20)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:233)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:175)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
  | ava:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
  | ava:102)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
  | ve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
  | a:263)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
  | :844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
  | ss(Http11Protocol.java:584)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
  | 7)
  | at java.lang.Thread.run(Thread.java:595)
  | ...
  | 

That means the stateless session bean "EntityCalculator.java" is not bound 
successfully from Tomcat to JBoss.

Somebody has experience?

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with creating a Queue?

2008-05-12 Thread priyarao234
thanQ kiran dats fine... and me too know that creating the Queus What my 
problem is i hav downloaded an Application where they Configured Queue like 
"queue/examples/OurSampleQueue" but generally i have seen in most of the 
applications they have used like queue/testQueue, queue/myQueue.. 
But now what i want is if i configured in dat jboss file like 
then i have to specify that like "queue/testQueue" and dats fine. But if i 
want to specify leke "queue/examples/OurSampleQueue" then how to configure the 
Jboss file?

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

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


[jboss-user] [EJB/JBoss] - Re: Failed to communicate. Problem during marshalling/unmar

2008-05-12 Thread Sarfaraz
I request ur assisatnce is resolving this issue.

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

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


[jboss-user] [EJB/JBoss] - Failed to communicate. Problem during marshalling/unmarshal

2008-05-12 Thread Sarfaraz
Server log:
2008-05-12 12:53:39,760 ERROR 
[org.jboss.remoting.transport.socket.ServerThread] Worker thread initialization 
failure
java.io.EOFException
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:530)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)

Application log:
Caused by: com.pcm.rules.service.RuleServiceException: Error occurred in 
obtaining the Remote Reference of the Blaze EJB
at 
com.pcm.rules.service.blaze.BlazeEJBExecutor.getEJBHandle(BlazeEJBExecutor.java:84)
at 
com.pcm.rules.service.blaze.BlazeEJBExecutor.invokeRuleService(BlazeEJBExecutor.java:53)
... 4 more
Caused by: java.rmi.MarshalException: Failed to communicate.  Problem during 
marshalling/unmarshalling; nested exception is: 
java.io.OptionalDataException
at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at 
org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:175)
at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy0.create(Unknown Source)
at 
com.pcm.rules.service.blaze.BlazeEJBExecutor.getEJBHandle(BlazeEJBExecutor.java:82)
... 5 more
Caused by: java.io.OptionalDataException
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
at 
org.jboss.invocation.unified.marshall.InvocationUnMarshaller.read(InvocationUnMarshaller.java:48)
at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
... 17 more


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with creating a Queue?

2008-05-12 Thread jaikiran
Use the JNDIName attribute for your queue configuration, as mentioned at 
http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch6.chapt.html#d0e14693

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Problem by using Tomcat (web) to access JBoss (app)

2008-05-12 Thread thomas2008ch
Hi all,

I build an application based on 
"http://trailblazer.demo.jboss.com/EJB3Trail/persistence/index.html";, which 
contains an EJB-project (JAR) and a Web-project (WAR).

If I deploy both on the JBoss server, it runs wonderful.

Now I deploy the web-project, i.e. the WAR to Tomcat Server 6.0. As I run it, I 
got error/Exception as follow:


  | Exception
  | 
  | org.apache.jasper.JasperException: An exception occurred processing JSP 
page /addfund.jsp at line 46
  | 
  | 43: 
  | 44: 
  | 45: <%
  | 46:  Collection  funds = cal.getFunds();
  | 47: 
  | 48: %>
  | 49: 
  | 
  | 
  | Stacktrace:
  | 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
  | 
  | root cause 
  | 
  | java.lang.NullPointerException
  | org.apache.jsp.addfund_jsp._jspService(addfund_jsp.java:103)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
  | 

The Fund is an Entity Bean.

I am not sure if I have to include more libraries (JARs) in the web-project or 
should I copy them in the /lib of Tomcat?

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

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


[jboss-user] [Security & JAAS/JBoss] - App server support

2008-05-12 Thread vijayamaladoss
Hi,

I am seeing jboss sso deployed as SAR. I have a requirement where I need to 
deploy this to another J2EE compliant app server. Is this anyway possible ?

Thanks and regards,
Vj

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

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


[jboss-user] [Microcontainer] - Seam Component Returning Null In Seam Testing

2008-05-12 Thread mreddysudarsana
Hi,

I am working on Seam Integration testing.

my simple java class

Stateful
@Name("catalogueMasterSearch")
@Scope(ScopeType.CONVERSATION)
public class CatalogueMasterSearchAction implements CatalogueMasterSearch{
@org.jboss.seam.annotations.Logger
Log log;

AuditLogger auditLog = AuditLogger.getLogger();

@In(value = EprocConstants.Session.CURRENT_STAFF_INFO, scope = 
ScopeType.SESSION)
StaffGeneralInfo staff;

static final String CLIENT_MSG_ID = "pageMsg";

static final String CLIENT_MSG_ID1 = "pageMsg1";

@PersistenceContext(type = PersistenceContextType.EXTENDED)
private EntityManager em;

@In(create = true)
FacesMessages facesMessages;

@Create 
@Begin(join = true)
public String create() {
}
@Destroy
@Remove @End
public void destroy() {

log.info("- Destroy --> CatalogueMastarSearchAction ");

}
public void searchItem() {
log.info("- In Search --> CatalogueMastarSearchAction 
");

}


my test class




import javax.faces.model.DataModel;

import org.jboss.seam.Component;
import org.jboss.seam.ComponentType;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Factory;
import org.jboss.seam.contexts.Contexts;


import org.jboss.seam.mock.SeamTest;
import org.jboss.seam.mock.SeamTest.FacesRequest;
import org.jboss.seam.security.Identity;
import org.testng.annotations.Test;

import com.hp.eproc.action.catalogue.CatalogueMasterSearch;
import com.hp.eproc.action.catalogue.CatalogueMasterSearchAction;
import com.hp.eproc.action.catalogue.ItemSearch;
import com.hp.eproc.security.Authenticator;


/* 
 * © Copyright 2006
 * Consulting & Integration
 * Hewlett-Packard India
 */

/**
 * @author mreddy - Apr 18, 2008
 */
public class CatalogueMasterSearchActionTest extends BaseTest{
 

@Test
   public void testSearchItem() throws Exception
   {

CatalogueMasterSearchAction catalogueMasterSearch;
 new Script()
  {
 
 @Override
 protected void invokeApplication() throws Exception
 {
 
Contexts.getConversationContext().set("itemSearch;", new ItemSearch());
 }
 
  }.run();

 new Script("/jsf/catalogue/rate_master.xhtml") {

@Override
protected void invokeApplication() throws Exception {
CatalogueMasterSearch 
catalogueMasterSearch=(CatalogueMasterSearch)Component.getInstance("catalogueMasterSearch");

invokeMethod("#{catalogueMasterSearch.searchItem}");
}

@Override
protected void renderResponse() throws Exception {
 DataModel itemRateList = (DataModel) 
Contexts.getSessionContext().get("itemRateContractList");
 assert itemRateList.getRowCount()>=1;
}

}.run();


   }

}


when i am executing my test class, i am getting nullpointer exception
bcz Component.getInstance() returning null.

when seam component life cycle starts, how to start programatically?
any idea please help me
-
DEBUG [main] (Events.java:57) - Processing 
event:org.jboss.seam.postDestroyContext.APPLICATION
FAILED: testSearchItem
javax.el.PropertyNotFoundException: Target Unreachable, identifier 
'catalogueMasterSearch' resolved to null
at com.sun.el.parser.AstValue.getTarget(AstValue.java:66)
at com.sun.el.parser.AstValue.invoke(AstValue.java:147)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at 
org.jboss.seam.util.UnifiedELMethodBinding.invoke(UnifiedELMethodBinding.java:36)
at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
at org.jboss.seam.mock.SeamTest$Request.invokeMethod(SeamTest.java:401)
at 
com.hp.eproc.test.CatalogueMasterSearchActionTest$2.invokeApplication(CatalogueMasterSearchActionTest.java:59)
at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:489)
at 
com.hp.eproc.test.CatalogueMasterSearchActionTest.testSearchItem(CatalogueMasterSearchActionTest.java:68

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

2008-05-12 Thread eric.lvyan
I logon ok but still has exceptions like following:

16:48:49,739 TRACE [JBossSecurityMgrRealm] Begin authenticate, 
username=1210582129739
16:48:49,739 INFO  [JBossSecurityMgrRealm] getting credentials:
==
16:48:49,739 INFO  [JBossSecurityMgrRealm] securityMgr class=class 
org.jboss.security.plugins.JaasSecurityManager
16:48:49,739 TRACE [SPNEGO] Begin isValid, principal:1210582129739, cache info: 
null
16:48:49,739 TRACE [SPNEGO] defaultLogin, principal=1210582129739
16:48:49,739 INFO  [SPNEGO] Now LoginContext Class is::class 
javax.security.auth.login.LoginContext
16:48:49,739 ERROR [SPNEGO] Login failure
javax.security.auth.login.LoginException: Login Failure: all modules ignored
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:921)
at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:536)
at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:345)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:499)
at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.authenticate(HttpServletRequestResponseValve.java:64)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.invoke(HttpServletRequestResponseValve.java:51)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.TRACEReportValve.invoke(TRACEReportValve.java:105)
at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
16:48:49,754 TRACE [SPNEGO] End isValid, false
16:48:49,754 TRACE [JBossSecurityMgrRealm] User: 1210582129739 is NOT 
authenticated
16:48:49,754 TRACE [JBossSecurityMgrRealm] End authenticate, principal=null
16:48:49,754 TRACE [JBossSecurityMgrRealm] Begin authenticate, 
username=1210582129754
16:48:49,754 INFO  [JBossSecurityMgrRealm] getting credentials:
==
16:48:49,754 INFO  [JBossSecurityMgrRealm] securityMgr class=class 
org.jboss.security.plugins.JaasSecurityManager
16:48:49,754 TRACE [SPNEGO] Begin isValid, principal:1210582129754, cache info: 
null
16:48:49,754 TRACE [SPNEGO] defaultLogin, principal=1210582129754
16:48:49,754 INFO  [SPNEGO] Now LoginContext Class is::class 
javax.security.auth.login.LoginContext
16:48:49,770 TRACE [SPNEGO] defaultLogin, [EMAIL PROTECTED], 
subject=Subject(15014240).principals=jcifs.smb.NtlmPasswordAuthenti
[EMAIL PROTECTED](MYDOMAIN\Administrator)[EMAIL 
PROTECTED](Roles(members:JBossAdmin(members:MYDOMAIN\Administrator)))
16:48:49,770 TRACE [SPNEGO] updateCache, inputSubject=Subject(15014240)[EMAIL 
PROTECTED](MYDOMAIN\Administrator)org.jbos
[EMAIL PROTECTED](Roles(members:JBossAdmin(members:MYDOMAIN\Administrator))), 
cacheSubject=Subject(15013136).principals=jcifs.smb.NtlmPasswordAut
[EMAIL PROTECTED](MYDOMAIN\Administrator)[EMAIL 
PROTECTED](Roles(members:JBossAdmin(members:MYDOMAIN\Administrator)))
16:48:49,770 TRACE [SPNEGO] Inserted cache info: [EMAIL 
PROTECTED](15013136).principals=jcifs.smb.NtlmPa
[EMAIL PROTECTED](MYDOMAIN\Administrator)[EMAIL 
PROTECTED](Roles(members:JBossAdmin(members:MYDOMAIN\Administrator))),credent
[EMAIL PROTECTED],expirationTime=1210583906676]
16:48:49,770 TRACE [SPNEGO] End isValid, true
16:48:49,770 TRACE [JBossSecurityMgrRealm] User: 1210582129754 is authenticated
16:48:49,770 TRACE [SPNEGO] getPrincipal, cache info: [EMAIL 
PROTECTED](15013136).principals=jcifs.smb.N
[EMAIL PROTECTED](MYDOMAIN\Administrator)[EMAIL 
PROTECTED](Roles(members:JBossAdmin(members:MYDOMAIN\Administrator))),cr
[EMAIL PROTECTED],expirationTim

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: is there a way to tell jboss about an ear in an outside

2008-05-12 Thread jaikiran
Yes. Look at the "URLs" attribuite in the jboss-service.xml file present in 
%JBOSS_HOME%\server\< serverName>\conf folder.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - is there a way to tell jboss about an ear in an outside fold

2008-05-12 Thread Elhananm
hi..

is there a way to tell jboss about an ear which is not located in it's folder 
(i rememberd tomcat has something like it).

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Controlling access web apps

2008-05-12 Thread erasmomarciano
check the server.xml, you will find the tag  is already been configured.

Exmaple



  | www.test.it
  |
  | 
  | 
  | 
  |  


You have to use the host tag   that matches the url (ww.test.it)




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

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


[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread timfox
I am failing to understand what this thread is about.

JBM fully supports all ordering semantics as defined in the JMS spec.

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

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


[jboss-user] [JBoss jBPM] - Re: Dynamic timers ?

2008-05-12 Thread dleerob
Is there a "timer-create" event? I cannot seem to find the option in the GPD. I 
would like to give each timer that is created for each instance of a task, a 
different name.
Eg. statically, the timer is given a name with the following declaration:

  | 
  | 

I would like to then dynamically change the name of each timer, for example: 
"Document Review Reminder 1" and "Document Review Reminder 2" etc. This is to 
workaround a jbpm bug (http://jira.jboss.org/jira/browse/JBPM-1170).

Anyone got any ideas?

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

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


[jboss-user] [JBoss Messaging] - Re: getting messages by the order they were sent

2008-05-12 Thread subrata_jboss
Thanks Tim,
 I am using point to point model.
 So i am using queue (there is no durable subscriber)
 
  If we use Topic also for Durable then its same as Queue with persistance.
  So when my consumer is down it is getting saved in the database and the next 
time i am starting my consumer , i am able to get those messages.

  but my problem was the order as i mentioned.

  Durability ensures that you will lose messages.

  Or you want to say if we use durable topic subscriber, 
 -> produce the 10,000 message when consumer is not running.
 -> stop the producer.
 -> now start the consumer and producer at the same time.
 -> and i will get previous message first then the messages which
  being produced by the recent producer. (and thus ensuring the older
  messages are coming first. )

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

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


[jboss-user] [JBossWS] - Re: Annotation to specify WS url

2008-05-12 Thread [EMAIL PROTECTED]
See: 
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_does_rewriting_of_the_soap_address_in_WSDL_work.3F

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

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


[jboss-user] WebLogic to JBoss App Server Migration Guide

2008-05-12 Thread Seh Chwan Lim

Hi all,

just wondering if anybody has a migration guide on WebLogic App Server 
to JBoss App Server? I have a prospect who is asking for some guide to 
help them to assess the effort needed. Thanks in Advance.


rgds
Seh Chwan
Solution Architect
ASEAN




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


[jboss-user] [JBoss jBPM] - Re: how to save processinstance

2008-05-12 Thread kamleshkr
"JBPM generally takes this approach - if multiple nodes and transitions can be 
executed synchronously, by default it won't commit any until all are done."

Can you tell me how to change this default behaviour of jBPM?. I want to save 
the processinstance after execution of each node. Can i do anything in 
actionhandler for that?

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

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