[JBoss-user] [JBossWS] - Re: an InstantiationException during invocation on the new 4

2005-10-21 Thread aagmon
well no ... 
the problem was that a testing jar with same class name was in the higher lib 
directory , so the class loader loaded it from there , and indeed the class in 
the lib directory was an interface , when i have removed it from the lib 
directory it was solved .
BTw is there anyway in jboss to configure a private class path for an 
application that will have the highest priority in the class loading process

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Document-literal not working with JBoss 4.0.3?

2005-10-15 Thread aagmon
look , it make sense to me that the problem is in the client i suggest:
1.make sure u wrap all your parameters with object  (dont use Int or String as 
parameter)

2.as u can see in the wiki, 
make sure that u use wscompile with the -keep flag to create the sources for 
the request and response messages, edit your source files after that, make sure 
your methods are using the request and response structs generated by wscompile  
instead of your methods params and your methods return types.

3.
(most important)
use wscompile to generate the client related stubs , and use them.
there is a sensitive issue regarding the parameters wrapping and wscompile that 
sometimes leads to unclear exceptions, so using wscompile with -gen:client and 
also f:wsi will assure that the params fit. 

Alon.  


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JbossWS and .NET - solved!

2005-10-14 Thread aagmon
Hi, 
i have recently had a few problems accessing JbossWS web services from 
.NET in 4.0.3

i have finally managed to do so, 
so i have uploaded a short and simple  step by step doc , regarding all the 
steps 
required to build a service and add a web reference from Visual Studio


it is at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSAndDotNet
contact me for more info



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re:

2005-10-14 Thread aagmon
now when i just switch wscompile to -f:rpcliteral instead of documentLiteral 
its working ... 

i there some issue or bug regarding this in 4.0.3

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Document-literal not working with JBoss 4.0.3?

2005-10-13 Thread aagmon
1. try to modify the log4j config in the conf folder to work in debug mode , 
and to follow the exception in the verbosed log file that will be created.

2. please attach your wsCompile params, config.xml , wsdd , mappings ,wsdl  

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - " Cannot obtain type mapping meta data for: null " using Do

2005-10-13 Thread aagmon
A simple web service consist of one operation 
worked on previous version 4.0.2

when the method is invoked the server report the following error:


  | 2005-10-13 20:48:27,399 DEBUG [org.jboss.webservice.server.ServerEngine] 
TransportHandler: http
  | 2005-10-13 20:48:27,399 DEBUG 
[org.jboss.webservice.server.InvokerProviderJSE] makeNewServiceObject: 
class=tests.editor.ws.IEditor
  | 2005-10-13 20:48:27,419 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Enter: doHandleRequest
  | 2005-10-13 20:48:27,419 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Exit: doHandleRequest with 
status: true
  | 2005-10-13 20:48:27,419 ERROR 
[org.jboss.webservice.server.InvokerProviderJSE] Error from service endpoint, 
processing fault handler chain
  | 2005-10-13 20:48:27,520 ERROR [org.jboss.webservice.server.ServerEngine] 
Server error: AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
  |  faultSubcode: 
  |  faultString: Cannot obtain type mapping meta data for: null
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | {http://xml.apache.org/axis/}stackTrace: 
java.lang.IllegalStateException: Cannot obtain type mapping meta data for: null
  | at 
org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:290)
  | at 
org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
  | at 
org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerProviderJSE.java:93)
  | at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
  | at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
  | at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  | at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  | at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  | at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
  | at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
  | at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
  | at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 


WSDD:

  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  |   
  |   
  | 
  | 
  | 
  | 
  | 
  | 

WSDL

  | 
  | http://tests.editor.ws"; 
xmlns:tns="http://tests.editor.ws"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:ns2="http://tests.editor.ws/types"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns="http://schemas.xmlsoap.org/wsdl/";>
  |   
  | http://tests.editor.ws/types"; 
xmlns="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tns="http://tests.editor.ws/types"; 
xmlns:wsdl="http://schemas.xmls

[JBoss-user] [JBossWS] - Re: Document-literal not working with JBoss 4.0.3?

2005-10-13 Thread aagmon
wscompile generates other classes that should be  in your bin folder, package 
with them.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - an InstantiationException during invocation on the new 4.0.3

2005-10-13 Thread aagmon
as a matter of fact , this is a simple JSE endpoint
worked on 4.0.2.

after a sucessfull redeployment, 
on the first method invocation the following error and log entries are created:

Error:

  | 
  | {http://xml.apache.org/axis/}stackTrace: java.lang.InstantiationException: 
tests.editor.ws.IEditor
  | 

Log Entries:

  | 2005-10-13 15:42:55,178 DEBUG 
[org.jboss.webservice.server.ServiceEndpointServletJSE] doGet: 
http://lap:8080/TestEjb3WS/WSEndpoint?wsdl
  | 2005-10-13 15:42:55,338 DEBUG [org.jboss.webservice.server.InvokerProvider] 
initServiceDesc: service=TestEjb3WS.war#WSEndpoint/IEditorPort
  | 2005-10-13 15:42:55,348 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] Create a handler chain for 
roles: []
  | 2005-10-13 15:42:55,348 DEBUG 
[org.jboss.webservice.handler.HandlerChainBaseImpl] init: [config=null]
  | 2005-10-13 15:42:55,358 DEBUG 
[org.jboss.webservice.server.ServiceEndpointServletJSE] Set 
transport.url=/TestEjb3WS/WSEndpoint
  | 2005-10-13 15:42:55,358 DEBUG 
[org.jboss.webservice.server.ServiceEndpointServletJSE] Process wsdl request
  | 
  | 
  | 2005-10-13 15:43:09,118 WARN  
[org.jboss.axis.encoding.DeserializationContextImpl] Ignoring invalid namespace 
mapping: [prefix=,uri=]
  | 2005-10-13 15:43:09,118 DEBUG [org.jboss.webservice.server.ServerEngine] 
invoke: [EMAIL PROTECTED]
  | 2005-10-13 15:43:09,118 DEBUG [org.jboss.webservice.server.ServerEngine] 
TransportHandler: http
  | 2005-10-13 15:43:09,128 DEBUG 
[org.jboss.webservice.server.InvokerProviderJSE] makeNewServiceObject: 
class=tests.editor.ws.IEditor
  | 2005-10-13 15:43:09,148 ERROR [org.jboss.webservice.server.ServerEngine] 
Server error: AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
  |  faultSubcode: 
  |  faultString: tests.editor.ws.IEditor
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | {http://xml.apache.org/axis/}stackTrace: 
java.lang.InstantiationException: tests.editor.ws.IEditor
  | at java.lang.Class.newInstance0(Class.java:335)
  | at java.lang.Class.newInstance(Class.java:303)
  | at 
org.jboss.axis.providers.java.JavaProvider.makeNewServiceObject(JavaProvider.java:620)
  | at 
org.jboss.webservice.server.InvokerProviderJSE.makeNewServiceObject(InvokerProviderJSE.java:55)
  | at 
org.jboss.axis.providers.java.JavaProvider.getNewServiceObject(JavaProvider.java:280)
  | at 
org.jboss.axis.providers.java.JavaProvider.getServiceObject(JavaProvider.java:131)
  | at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:335)
  | at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  | at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  | at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  | at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
  | at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
  | at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
  | at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoin

[JBoss-user] [EJB/JBoss] - Re: serious leak container doesnt call ejb remove() -- urgen

2005-01-13 Thread aagmon
thanks for the reply,

as far as i know ejbPassivate is just a phase in the  way to remove()...
its a SLSB using hibernate to various DB tasks ,
thats it really.
just tell me what info do you need

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - serious leak container doesnt call ejb remove() -- urgent pl

2005-01-12 Thread aagmon
hi every body , 
i have a serious problem on a production server,
we have an ejb dealing with DB actions.
now after a few days i noticed in the web console that the create count just 
keep raising without any call to remove().
and after the thread count goes beyond 500 when i try to login to the web 
console for instance through jaas (file role based) i get an IO error too many 
open files 
whats it got to do with the remove().

here are the bean's lifcycle methods:


 public void ejbCreate(){
  | getSessionFactory(); --gets hibernate session
  |  
  | Logger log = Logger...get log stuff
  | }
  | public void ejbRemove(){}
  | public void ejbActivate(){
  | getSessionFactory();
  | Logger log = Logger...get log stuff
  | }
  | public void ejbPassivate(){
  | factory = null;
  | log = null;
  | 
  | }


i just dont know how to address this problem

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - I/O leak in jboss application -

2004-12-13 Thread aagmon
hi all,

we have recently deployed a jboss based application to a production server -
after 7 days of  perfect performance - the sys admin tried to logon 
using jass- role based auth (user/role properties file) 
and failed every time.

after watching the logs i have noticed an I/O Exception- too many open files - 
now thats  odd - 
and after further tests i noticed that the thread count is always rising .
after 3 days the thread count is 400 !!  

so first how can i isolate the leak to find if its in the WEB/EJB container ?

considering the fact that i cant physically access the server only through a 
secured shell - how can i find  the source of all the threads?

we are using Jboss 4.0 on Linux fedora 2 with jdk 5(tiger)

if anyone has any advise or idea ...
thanks

Alon.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - standalone client using HTTPIL

2004-11-26 Thread aagmon
hi all,
i have a java standalone client need to send a msg to a jboss queue,
i want to use the HTTPIL connectionFactory, to avoid firewall issues
how can i get the ConnectionFactory from the client using http

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - extending jboss's MQ to other servers - design

2004-11-15 Thread aagmon
hello , 
we shiped an application consist of offline clients using a stand alone 
application to process their data and when a client is online - he send an rpc 
call to announce he is online , and exchange his data using messages 
to jbossMQ for persisting and further processing.

now , the client wants to make the system available to web clients from a web 
application on tomcat on a diffrent machine, now the requirment is to do as 
less changes as possible to the jboss application.

the question is how can i send Messages from tomcat/spring web application to 
jboss's queue,  via http (firewall)

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

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


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - add authentication to application clients

2004-11-13 Thread aagmon
how can i add role based authentication to application clients ?
is there such an option?

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

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


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - critical exception using jaas on a production server - too m

2004-11-08 Thread aagmon
Hello , 
we have deployed an application to production 2 weeks ago 
application has an administration screen using a jaas domain and a 
user/properties file -  

today the admin failed to login - when i checked the log : 
i saw an IOException saying that it cant find the users/roles file and - 
".. (too many open files ).." 

of course we checked and files were there but what does the too many open files 
means..??

if anyone has a clue..
a restart solved it , but it cannot be restarted every time !

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - serviceLocator pattern used correctly

2004-10-28 Thread aagmon
hi , 
the service locator pattern advise to use a locator to get the context from a 
contextFactory and return the home IF to the client to apply the create method ,

now if its all about decoupling the lookup code from the client -
isnt it wiser that the serviceFactory will return the home interfaces to the 
locator(singleton) which will be bound to the application's context , and for every 
call for service will create a remoteInterface and deliver it to the client's helper

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

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


---
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins003001msi/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Accessing JBoss server from the WWW

2004-10-22 Thread aagmon
the problem can be in many configurations of the OS , Server , Fw

my suggestion:  use the following configuration it works 4 me on xp !!

1.set up an apache virtual server  listening to your ip 
add to the httpd.conf 

proxyPass / http://localhost:8080 
ProxyPassReverse / http://localhost:8080
(after u loaded mod_proxy )

that will direct all the requests to your ip(:80) to http://localhost:8080 
and in case u left jboss configuration as original ,jboss is listening on 
0.0.0.0:8080 which mean any ip on 8080  
  

try it .. for more info refer to the wiki 

 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - jboss service freeze at linux boot

2004-10-20 Thread aagmon
Hello ,(using jboss 4.0.0 Linux Red Hat ES)

i used the exact script used in the wiki  to start jboss as a service at boot.
now jboss service do start well , but the starting script doesnt reach the   exit 
command (somehow) ,
when i boot with it - it just hang with "starting jboss" 
same thing happens with "service jboss start"

i followed the wiki step by step

if someone knows the problem.please help

Alon


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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - jboss 4 opens a uil2 socket instead of Jvm with components o

2004-10-18 Thread aagmon
hello all,

as i understood from the docs regarding MQ , whenever im using java:/connectionFactory 
, with components on same Jvm (in my case a servlet sends a msg to a queue/mdb) it is 
recognized as a jvm conn factory , 

but  in the log , i saw it as uil2 socket 

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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - adding parameters to the connection

2004-09-26 Thread aagmon
hi all ,
im using mysql 4.1+ connector(3.1)  with hibernate and jboss4 

im trying to add parameters to my mysql connection like  :

[url]?useUnicode=true or [url]?characterSetResult=utf-8

and everytime i add it to the url in my mysql-ds.xml  

im getting errors.. like this is not the way to do it 
how can i add  this params ?




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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: restricting the web console by an ip access list

2004-09-20 Thread aagmon
hi ,
well first thank u for your quick response 
though i couldnt find docs regarding the use of valves restricting 
ip access to a web-app 
i saw thats it is done somehow in the context.xml but how ?
i'll be glad if someone will direct me to a fair doc/example

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - restricting the web console by an ip access list

2004-09-20 Thread aagmon
is there a way to restrict the access to the web-console 
by an ip access list 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - synchronizing access to ejb's methods

2004-09-20 Thread aagmon
hi all ,
i have a registerUser(User user) method on a remote ejb interface,
the servlet acquire the bean's remote interface by a lookup in the servlet Init()

does the calling method from the servlet need to be synchronized ? like:

synchronize(this){
   bean.registerUser(user);

}

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How are you supposed to add a child entity in a CMP CMR

2004-09-16 Thread aagmon
ok,
lets say we have a team and player entities.

use a session bean that preforms a lookup for team's  and player's home.

you can add to the session bean:
after you create a new player

public void addPlayer(String  player_name ,String team){

Player player = PlayerHome.create(player_name);

Team team = home.findByName(team);
 
team.add(player);


} 

while in the Team entity the add() will be implemented as:

public add(Player player){
Collection players =  getPlayers();
players.add(player);
}

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How are you supposed to add a child entity in a CMP CMR

2004-09-16 Thread aagmon
the Entitiy's home is creating instances of the Entitiy's Remote Interface


Collection entities = Ent1Home.findBySomething();
  | 
  | Iterator t = entities.iterator()
  | 
  | while(t.hasNext){
  | Ent1Remote ent1 = (Ent1Remote)t.next;
  | 
  | ent1.doSomething()
  | 
  | }



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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user