[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Software caused connection abort: recv failed

2005-10-29 Thread mcaughey
I have an application running on JBoss 4.0.2 using Hibernate 3.0 and MySQL Connector 3.1.10 all using the 1.5_04 JDK. I'm seeing this on Windows XP with MySQL 4.0.26 and RedHat Linux 7.1 with MySQL 3.23.58. I'm getting the following stack trace: | | java.net.SocketException: Software

[JBoss-user] [Installation, Configuration Deployment] - Combine Log4J of JBoss and JDK-Log of own EJBs

2005-10-29 Thread newgro
Hi *, my EJBs use JDK-Logging. It's possible to configure it by usage of a propperties file assigned at server start (VMArg). JBoss uses Log4J. In the log4j.xml file the location of log folder is set. param name=File value=${jboss.server.home.dir}/log/server.log/ Now the question: How can my

[JBoss-user] [JBossWS] - Re: Custom parameter in wsdd

2005-10-29 Thread anders.hedstrom
Have you looked at javax.xml.rpc.server.ServiceLifecycle? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904276#3904276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904276

[JBoss-user] [Installation, Configuration Deployment] - Re: Combine Log4J of JBoss and JDK-Log of own EJBs

2005-10-29 Thread jaikiran
You can use log4j for logging from the EJBs. There's one log4j.xml in server/default/conf where you can specify the settings for log4j. However, if you want a specific log4j.xml for your application, you can also do that. Please, have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging

[JBoss-user] [JBossWS] - Can a DII client access a WSDL locked down by basic HTTP aut

2005-10-29 Thread csnow
Hello, I was wondering if there is an easy way to pass authentication information to the ServiceFactoryImpl class before it creates a service? I cannot seem to find an easy way to get access to a WSDL that requires BASIC authentication. Once I have the stub I am fine because I can add

[JBoss-user] [Javassist user questions] - Re: cast errors

2005-10-29 Thread chiba
I think that problem is due to your inappropriate use of class loaders. Section 3.2 of Javassist tutorial might help you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904287#3904287 Reply to the post :

[JBoss-user] [JBossWS] - Re: Can a DII client access a WSDL locked down by basic HTTP

2005-10-29 Thread nehring
Been awhile since using DII. Have you tried setting the USERNAME_PROPERTY and PASSWORD_PROPERTY on the Call object? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904295#3904295 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: Deploy a new portal instance on JBP2.2 alpha

2005-10-29 Thread david.calvente
I'm at the same point: trying to deploy a custom portal in JBoss Portal 2.2 Alpha. My portal is a very simple HelloWorld Portal that works fine in JBoss Portal 2.01RC1. When I depoy the same *.war in 2.2Alpha JBoss does not complain but I can't reach my portal with any URL I can imagine..

[JBoss-user] [JBossWS] - Re: Can a DII client access a WSDL locked down by basic HTTP

2005-10-29 Thread nehring
Sorry, just noticed that you were talking about accessing the WSDL.Maybe a URL with the user/password specified in it would work. Something like: | http://user:[EMAIL PROTECTED]/webservice?wsdl | Not sure if this will actually work, plus it limits the characters allowed for the

[JBoss-user] [JBoss Portal] - Re: Deploy a new portal instance on JBP2.2 alpha

2005-10-29 Thread [EMAIL PROTECTED]
looks in the forums war files and copy it. I am working on a better format for deployment of things such like that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904302#3904302 Reply to the post :

[JBoss-user] [JBossWS] - Re: Can a DII client access a WSDL locked down by basic HTTP

2005-10-29 Thread csnow
That is a great idea but unfortunately I tried that and it didn't work. Now, if I do that from firefox it works fine but I think the client has to support such a feature. Here is my relevant client code: | ServiceFactoryImpl factory = (ServiceFactoryImpl)ServiceFactory.newInstance(); |

[JBoss-user] [JBoss Portal] - Re: Deploy a new portal instance on JBP2.2 alpha

2005-10-29 Thread david.calvente
Thanks Julien, I built the forums portal and deployed it in my JBoss server. To reach that portal I need to point my browser to: http://localhost:8080/portal/local/forums Is this the only one posible?. I tryied http://localhost:8080/portal/forums with no luck... I also checked the internal files

[JBoss-user] [Beginners Corner] - Re: dynamic axis serializer generation fails on 4.0.2+EJB3RC

2005-10-29 Thread sventura
By the way, axis fails to properly serialize agregated arrays on server side if POJO is declared with field access level. For example, it serializes an String[] as if it were a single String object but multiple times (multiplicitly is coincident) If POJO is declared with method level access

[JBoss-user] [Beginners Corner] - getSingleResult behaviour mismatch for count() and sum() whe

2005-10-29 Thread sventura
Is is normal that Number num | = (Number)entityManager.createQuery( |select count(*) from X x;) |.getSingleResult(); works ok, and Number num | = (Number)entityManager.createQuery( | select sum(x.id) from X x) | .getSingleResult();

[JBoss-user] [Beginners Corner] - Re: getSingleResult behaviour mismatch for count() and sum()

2005-10-29 Thread sventura
TITLE IS : getSingleResult behaviour mismatch for count() and sum() when no entities found and I am using 4.0.2 + EJB3RC2 on gentoo with sun-jdk-1.5.05 on postgresql 8.0.3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904312#3904312 Reply to the post :

[JBoss-user] [Beginners Corner] - How do I hack un-jared classes into my ear file...

2005-10-29 Thread justindav1s
I'm migrating from weblogic (maybe). An ear file in weblogic has an APP-INF/lib directory for jarred up libraries and an APP-INF/classes directory, the contents of which eg. com/acme/MyClass.class get loaded ahead of the contents of APP-INF/lib and overide it, this very useful as it allows to

[JBoss-user] [Installation, Configuration Deployment] - Can't find starting URL for JBoss web app deployed with ear

2005-10-29 Thread davidsan1001
I inherited a JBoss web app but can't find the login page. I figured out how to start the server, that seemed to go well. I can log in to http://:8080. My ear file is in the default/deploy directory. I just can't find the correct URL to get me to the start page! Any ideas how to find the