[JBoss-user] [Installation & Configuration] - Re: JVM Crash

2005-02-25 Thread DaveyS
Do you mean:anonymous wrote : -XX:MaxPermSize=64m I've set this higher and it makes no difference. Relevant parts of the error trace are below: | Heap | def new generation total 26240K, used 23310K [0x02a2, 0x0469, 0x0469) | eden space 23360K, 99% used [0x02a2, 0x0

[JBoss-user] [Installation & Configuration] - Re: Configure an Oracle 9i data source

2005-02-06 Thread DaveyS
>From the trace it looks like you have called your deployment file >"my_oracle_ds.xml". Data sources have to end with "-ds.xml", so if you rename >your file "my_oracle-ds.xml", it will probably deploy fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=386

[JBoss-user] [Installation & Configuration] - JVM Crash

2005-02-04 Thread DaveyS
I'm getting a lot of JVM crashes on JDK 1.5.0_01 on Win XP (1Gb Memory) and JBoss 4.0.1 Looking at the crash log (relevant buts posted below), it looks like the perm gen space is full, so I thought that I must have the wrong Xmx etc arguments when starting up JBoss. I've tried several differen

[JBoss-user] [Beginners Corner] - Re: How to change from initial default

2005-01-21 Thread DaveyS
You need to edit deploy/jbossweb-tomcat50.sar/server.xml Have a look on the Wiki http://www.jboss.org/wiki/Wiki.jsp?page=ConfigureServerPorts View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863047#3863047 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [JBossWS] - Re: Logging SOAP requests and responses

2005-01-20 Thread DaveyS
I use TCPMON (as an IntelliJ plugin). You don't need to use this as a plugin, you can use it as a standalone app also. See http://ws.apache.org/axis/java/developers-guide.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862871#3862871 Reply to the post :

[JBoss-user] [JBossWS] - Re: Just want to create Hello World jboss-4.0.1 Web Service

2005-01-18 Thread DaveyS
You should be able to get web service working without installing either of these. Briefly what you need to do is: 1. Create a stateless session bean with a remote method to expose. 2. Run wscompile to generate the necessary mappings. 3. Write webservices.xml 4. Package it all up into an ear and

[JBoss-user] [JBossWS] - Re: No serializer found for class - C# Client, JBoss Web Ser

2005-01-13 Thread DaveyS
Have you tried generating your jaxrpc-mapping and wsdl file via wscompile? If you do that, you may not need the ws4ee-deployment.xml file. I was getting the same error with my C# clients. When I stopped using the ws4ee-deployment.xml file (i.e. used wscompile and removed ws4ee-deployment.xml

[JBoss-user] [JBossWS] - Generating WSDL

2005-01-13 Thread DaveyS
Reading the Wiki, it says that wscompile is used to generate WSDL for EJB endpoints, whereas axis-java2wsdl is used for Java Service Endpoints. Is there any reason why different tools are used? Which is better? Ta. Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [JBossWS] - Re: JBoss.net or JBossWS

2005-01-07 Thread DaveyS
If you're using JBoss 4, I'd recommend JBossWS. If you're not using JBoss 4, I'd recommend upgrading to it and using JBossWS. ;) Seriously though, JBossWS is J2EE 1.4 standard and fairly straightforward to use when you get your head round it. I've used both JBoss.net and JBossWS and much prefer

[JBoss-user] [Beginners Corner] - Re: JDBC Driver for MS SQL Server

2004-12-31 Thread DaveyS
I'd recommend the jTDS drivers for SQL Server http://jtds.sourceforge.net/. Just put them in the server/default/lib directory (if you are using the default installation. If not, replace default with the appropriate directory). Cheers. Dave. View the original post : http://www.jboss.org/ind

[JBoss-user] [Nukes User] - Incorrect data shown in forum

2004-12-02 Thread DaveyS
If I look at a topic that I created in the JBossWS forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57094, the initial post is accredited to me (DaveyS), but I did not make this post. Has something gone wrong? View the original post : http://www.jboss.org/index.html?modu

[JBoss-user] [Installation & Configuration] - Re: Application Errors

2004-09-09 Thread DaveyS
My latest error log file showed similar info. I'll give this a try. Thanks very much, Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847648#3847648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847648 -

[JBoss-user] [Installation & Configuration] - Re: Application Errors

2004-09-09 Thread DaveyS
I have just experienced another crash using JDK 1.5RC The end of log file is as follows, there are no errors or anything posted in the log. Is there a recommended JVM for JBoss? 11:58:10,562 INFO [TomcatDeployer] deploy, ctxPath=/test_web, warUrl=file:/C:/devtools/java/jboss-4.0.0RC2/server/

[JBoss-user] [Installation & Configuration] - Re: Application Errors

2004-09-09 Thread DaveyS
I've not got a JBoss log as it was overwritten when I started up again. I've got the following Java Log from JDK 1.5 RC if thats any use. # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6d704cdd, pid=5080, tid=6036 # # Ja

[JBoss-user] [Installation & Configuration] - Application Errors

2004-09-09 Thread DaveyS
I'm not sure if this is the corect forum, because I think I have got a general Java problem, but hopefully someone can help me ;) I am getting random General Protection Errors with JBoss running on Windows XP. In the event viewer I see that the faulting application is java.exe in module jvm.dll.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Database locking problem with CMP and SQL Server

2004-08-16 Thread DaveyS
Thanks for the tip! The no-select-berfore-insert works as expected, but I still get inserts and then updates when using the INSERT after ejbPostCreate option My jboss.xml looks like | | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | | |

[JBoss-user] [Persistence & CMP/JBoss] - Re: Database locking problem with CMP and SQL Server

2004-08-13 Thread DaveyS
I've put a profile trace on the database and that is exactly what I see. CMP does an insert to initially create the bean and then does an update afterwards to save the relationships. I can't change the way it does this can I? Does this mean that I can't effectively use CMP and CMR for the scena

[JBoss-user] [Persistence & CMP/JBoss] - Re: Database locking problem with CMP and SQL Server

2004-08-12 Thread DaveyS
Hi, createNew() is the only method being called. This creates the CMP beans only and the relationships between them. I am not knowingly doing any updates, but the CMP engine may be. I have just turned off hyperthreading on my pc (having had bad experiences of it before) and the situation has

[JBoss-user] [Persistence & CMP/JBoss] - Database locking problem with CMP and SQL Server

2004-08-12 Thread DaveyS
I have developed some entity beans and have deployed them on JBoss 4.0RC1 (and also JBoss 3.2.4) against a SQL Server 2000 database. CMP BeanA has a 1 to many relationship with CMP BeanB which in turn has a 1 to many relationship with CMP BeanC. i.e. 1 BeanA has many BeanB and 1 BeanB has many

[JBoss-user] [EJB/JBoss] - Changing EJB JNDI Name

2004-08-06 Thread DaveyS
Hi, I'm trying to change the JNDI name of a stateless session bean to be the same as the class name so I can implement a EJBHomeFactory (ie do JNDI lookups just by specifying the class name of the remote home interface) but it doesn't seem to work. I'm editing the jboss.xml file for the bean, b

[JBoss-user] [Beginners Corner] - Re: [newbie] deploy jar ejb files...

2004-07-30 Thread DaveyS
If you get nothing in the server console, it sounds like you have put the jar in the wrong location. Are you running the default JBoss? What command did you use to start JBoss? Ta, Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843746#3843746 Repl

[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB

2004-06-18 Thread DaveyS
Can't you just create a singleton and access it through a stateless session bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839191#3839191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839191 ---

[JBoss-user] [Management, JMX/JBoss] - Treeview closing on web-console

2004-06-15 Thread DaveyS
On 3.2.4, if I browse to the web console and open up the System node in the tree view and then open up the JMX MBeans node, I see everything as expected. Occasionally after about 5 seconds or so, the whole tree view closes down so all I can see is the top level nodes (Monitors, J2EE Domains, Sys