[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 jbos

[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 mes

[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://

[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

[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

[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.web

[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 ---

[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.IEdit

[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#386193

[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 we

[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 ma

[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=385655

[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

[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 ---

[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 - "..

[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 interfa

[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 (af

[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

[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 : h

[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 d

[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-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 -

[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 origin

[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

[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 p