[JBoss-user] [JBossWS] - Re: Problem with EJB Web service Client

2005-01-11 Thread gayathiri
Hi, Thanks a lot.it worked rgds gayathiri View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861718#3861718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861718 -

[JBoss-user] [JBossWS] - Bug in ServiceDeployerEjb's portURI

2005-01-11 Thread raja05
I have two webservices defined in a single EJB Jar archive. During deployment, an error pops out saying "Cannot use the same url-pattern with different endpoints, check your port-uri in jboss.xml" The server console tells me that the webservices are deployed as 12:18:44,529 INFO [AxisService]

[JBoss-user] [Installation & Configuration] - build failed..

2005-01-11 Thread mahanare
Hi all i hav jboss 4.0 downloaded last month.. when i tried to work with sample bank application getting the follwoing build error. where do i get jboss-net.sar ? BUILD FAILED: C:\eclipse\workspace\jbossj2ee\bank\jboss-build.xml:49: C:\jboss-4.0.0RC1\server\all\deploy\jboss-net.sar not found.

[JBoss-user] [JBoss Getting Started Documentation] - Document translation

2005-01-11 Thread tmatsuzaki
Hallo, We'd like to translate JBoss Getting Started Documentation into Japanese and put it on our web site. Is there any limitation? regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861714#3861714 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [Persistence & CMP/JBoss] - Re: Migrating to JBoss from Weblogic

2005-01-11 Thread HariV
application server specific configurations need to be specified in jboss.xml and jbosscmp-jdbc.xml. 100 600 These are default properties for a container configuration. Container configurations are specified in standardjboss.xml under the conf directory of the server instance. You can also s

[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock

2005-01-11 Thread HariV
This is a sample configuration for instance-per-transaction. DocumentType ejb/DocumentType DocumentTypeLocal Instance Per Transaction CMP 2.x EntityBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Management, JMX/JBoss] - Re: Getting the Host Name and Port No. in the application

2005-01-11 Thread kiran12345
Hai, Thank you very much for your reply. I have seen ServerInfo. I'm able to get host name using org.jboss.system.server.ServerInfo class by (new ServerInfo().getHostName()). But there are no methods in this class to get the port number. Reply me what I have to do to get the port number. Tha

[JBoss-user] [Installation & Configuration] - Real-time signal 28 Received on Linux

2005-01-11 Thread mbates73
The JVM exits without any output other than the following: ./umw.sh: line 187: 17015 Real-time signal 28 "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@" It occurs at random times but it does happen in the same place every time

[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock

2005-01-11 Thread dragon_jdh
thanks,HariV two more question: 1: how to configure your entity bean as instance per transaction ? 2: I change the lock to JDBCOptimisticLock by modify standardjboss.xml, the deadlock disappear. but new error happend. the exception is: 2005-01-12 10:44:49,147 ERROR [org.jboss.ejb.plugins.LogInter

[JBoss-user] [HTTPD, Servlets & JSP] - Slow HTTP upload of POST content

2005-01-11 Thread mmerkulo
We are experiencing a very strange problem with HTTP uploads on jboss4/tomcat. When uploading large files from IE over the network, upload speed is capped at about 70kbytes/sec even though the network allows for much higher speeds. Neither CPU nor disk access appears to be the bottleneck. Whe

[JBoss-user] [Persistence & CMP/JBoss] - Re: Can any one help me in writing CMP2.0 application

2005-01-11 Thread Xjava2001
Did you get this resolved? I am having problems finding the properties in jboss.xml for which I do in weblogic. Thanks Xjava View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861701#3861701 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Persistence & CMP/JBoss] - Migrating to JBoss from Weblogic

2005-01-11 Thread Xjava2001
Hi, We are in the process of migrating from weblogic to Jboss. Currently we have these properties set up in weblogic-ejb-jar.xml for container managed transactions ,what are the xml elements I can use to get same functionality what I get from weblogic. These are the properties currently in web

[JBoss-user] [Installation & Configuration] - Re: Using jboss with apache

2005-01-11 Thread additome
Thanks beyarecords, you re right, that's what i mean. Sorry, my english is poor... but i still can not get your meaning. which part should I add these rule in http.conf? in the virtual hosting part, or just add anywhere is ok? (as there has more than i domain hosted in that server) I have 2 m

[JBoss-user] [Persistence & CMP/JBoss] - Weird Oracle9i and ejbCreate()/ejbPostCreate() problems

2005-01-11 Thread hany_bee
Hi, I'm having this weird problem that I'm not quite sure how to deal with. I have a table TestMe: | id varchar(32) | name varchar(32) | type varchar(10) | parent varchar(32) | The column "parent" is actually the same as the "id", an object can have sub-objects. And "parent" can be n

[JBoss-user] [JBossWS] - Re: making a redeployable .war or .ear

2005-01-11 Thread simpletron
Can you tell JBoss (4.0.1) to override the default behaviour of inserting the deploying server's hostname and port in the of the wsdl? My home network is behind a router/firewall which forwards traffic on port 80/8080 to the server running JBoss. I would like to test my web service from outsid

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-11 Thread Mette
I am using a JSE, so that part is not a problem. However, it is not obvious to me how to access the SOAPEnvelope. I have looked around based on some of the key words that you provided in your reply, but was unable to find anything. Is there any documentation for how to do this? View the origin

[JBoss-user] [JBossWS] - Cannot find port with name 'XXXXX' in wsdl document

2005-01-11 Thread iamapony
I am trying to deploy my third web service, I have successfully deployed two services with complexTypes. The third contains simple types only and for some reason I can't get it working. Any assistance would be greatly appreciated. I'm staring at the two that works and comparing it to the two tha

[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-11 Thread [EMAIL PROTECTED]
Unlikely, I can look at it not earlier than next week. If you want to find out yourself you need to debug org.jboss.webservice.deployment.TypeMappingDescription |/** | * Load the javaType with the given class loader. | */ |public Class loadJavaType(ClassLoader cl) |

[JBoss-user] [JBossWS] - Re: wrapped document/literal

2005-01-11 Thread [EMAIL PROTECTED]
anonymous wrote : | What's that? I cannot implement webservices with more than one parameter? This cannot be true! | The strong point about doc/literal is, that the message receiver can validate the payload of the message against a given schema. Business entities that exchange complex doc

[JBoss-user] [Management, JMX/JBoss] - Re: Problem Deploying Quartz Scheduler in jboss-3.2.6

2005-01-11 Thread mvlst2
Using PostgreSQL, passing 'false' or empty string to the database that is used in the WHERE clause of the query will result in a type operator error returned by the database. That explains the error shown in the stack trace; however to track the real reason for the exception one would have to l

[JBoss-user] [JBossWS] - Re: Unsupported number of service elements in wsdl document

2005-01-11 Thread [EMAIL PROTECTED]
You can of define more than one in webservices.xml. Each represents an endpoint associated with a WSDL service. The server side WSDL should not contain multiple service elements. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861688#3861688 Reply to the pos

[JBoss-user] [Security & JAAS/JBoss] - Re: Upgraded from 3.2.5 to 3.2.6 and login now fails

2005-01-11 Thread jhag
Did you find the fix for this, I have the same issue. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861686#3861686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861686 ---

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread rhook
"jgra" wrote : All JBoss classloading scenarios are available on following wiki page: | http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases | Try to test them on your server before deploy of your real applications. | BTW, You should never ever add rt.jar to ear archives, it's c

[JBoss-user] [JBoss.NET] - Re: MDB as Web Service endpoint?

2005-01-11 Thread [EMAIL PROTECTED]
An MDB can act as WS endpoint in JBossWS since jboss-4.0.1. This cannot be done with JBoss.NET. The use case is to add quality of service guaranties at the transport level (JMS) which HTTP cannot offer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861692#3

[JBoss-user] [JBossWS] - Is there a way to get the soap body as raw XML?

2005-01-11 Thread Mette
I have been trying to use custom types for my web service, but have been running into problems with it, and I have been reflecting on how a far easier thing for me would be to simply get access to the raw XML contained in the SOAP message. This way I can unmarshal the XML document myself in the

[JBoss-user] [JBossWS] - Re: Is there a way to get the soap body as raw XML?

2005-01-11 Thread [EMAIL PROTECTED]
You can access the SOAPEnvelope from handlers and java service endpoints (JSE) there is no equivalent for EJB endpoints. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861691#3861691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread [EMAIL PROTECTED]
This question gets repeated often in the forums. People, please refer to the JBoss Wiki for information. Go to the Jboss Web Site and Click on Developer Zone. You will see Wiki and you can get information there also. Ok, this problem is solved by: http://www.jboss.org/wiki/Wiki.jsp?page=Wh

[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-11 Thread Mette
I tried copying the compiled class directory structure for the classes in question into WEB-INF/classes in my war. I redeployed, and double checked in the expanded war file in temp, and the classes were indeed in the right location. However, I still get the warning that the classes cannot be fou

[JBoss-user] [Performance Tuning] - Re: JBoss and usage of multiple processors

2005-01-11 Thread [EMAIL PROTECTED]
JBoss relies on the JVM completely. It has no fancy code to do parallel processing with the processors on the system. If it is a feature of the JVM(I mean parallel processing), then JBoss indirectly makes use of it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [Installation & Configuration] - Re: java.net.BindException: Address already in use: Cannot b

2005-01-11 Thread [EMAIL PROTECTED]
The port in Q is 1162. Also if you do not need snmp services, remove the "snmp-adaptor.sar" under the deploy dir. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861687#3861687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Installation & Configuration] - Does JBpm2 works on JBoss4?

2005-01-11 Thread chuckzhg
If anyone has it working, can you tell us how? I am using JBoss-4.0.1 and got following error: (org.jbpm.ConfigurationException) couldn't instantiate class org.jbpm.persistence.hibernate.HibernateSessionFactory (as configured in key jbpm.persistence.session.factory) : see stacktrace for more de

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread rhook
"[EMAIL PROTECTED]" wrote : UseJBossWebLoader only affects the wars in the ear, not the ear itself. When set to false you are using the tomcat class loader as a child to the ear class loader instead of using the ear unified loader at the war layer. Thanks for that clarification, that was the un

[JBoss-user] [Installation & Configuration] - java.net.BindException: Address already in use: Cannot bind

2005-01-11 Thread [EMAIL PROTECTED]
Hi, I install JBoss 4.0.0RC1 and configure all the environment settings. After that I try to startup JBOSS by running run.bat. Below is the error I got. = 15:55:09,144 ERROR [TrapdService] Starting failed jboss.jmx:name=SnmpAgent,servi ce=trapd,type=logger java.net.BindExcept

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to run JSF on JBoss4?

2005-01-11 Thread chuckzhg
Thanks for the reply. Do you mean for every war I make, I need to include those files? or only need to make one bundle of them, somehow deployed into JBoss4 deploy dir and shared by all JSF apps? cheers chuck View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Security & JAAS/JBoss] - Cross-context form-based authentication

2005-01-11 Thread ryoung2504
I have two applications each with their own context root and each has their own JAAS security domain. I have a set of users with the same logon credentials for both security domains but with differing roles for each domain. If I set the auth-method for both apps to BASIC then I can authenticate

[JBoss-user] [EJB/JBoss] - cookie problem! (org.apache.jasper.JasperException)

2005-01-11 Thread repkin
connector myconnector = home.create(); Cookie[] cookies = request.getCookies(); if( myconnector.checkCookies(cookies) ) -- in my connectorBean I have define this mehod public boolean checkCookies( Cookie[] cookies ) ---

[JBoss-user] [Installation & Configuration] - Re: HTTP Session Timeout Configuration?

2005-01-11 Thread [EMAIL PROTECTED]
In the web.xml file under conf directory of jbossweb-tomcatxxx.sar in the deploy dir of your configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861674#3861674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to run JSF on JBoss4?

2005-01-11 Thread lafr
create a war file with this files additional: WEB-INF/lib/jsf-api.jar WEB-INF/lib/jsf-impl.jar WEB-INF/lib/jstl.jar WEB-INF/lib/standard.jar WEB-INF/faces-config.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861656#3861656 Reply to the post : http://www

[JBoss-user] [Installation & Configuration] - Re: Does JBpm2 works on JBoss4?

2005-01-11 Thread chuckzhg
Even with JBoss 3.2.5, it passed 'ant deploy' in the Getting Startd guide, but failed immediately on the next step 'ant deploy.process.archives' with following reason: java.lang.RuntimeException: couldn't deploy process archives : couldn't instantiate class org.jbpm.persistence.hibernate .Hiber

[JBoss-user] [Installation & Configuration] - Re: Does JBpm2 works on JBoss4?

2005-01-11 Thread chuckzhg
Even with JBoss 3.2.5, it passed 'ant deploy' in the Getting Startd guide, but failed immediately on the next step 'ant deploy.process.archives' with following reason: java.lang.RuntimeException: couldn't deploy process archives : couldn't instantiate class org.jbpm.persistence.hibernate .Hiber

[JBoss-user] [Persistence & CMP/JBoss] - Re: Intermittent TransactionRollbackLocalExceptions

2005-01-11 Thread darretta
Sorry for the long delay in my reply. Here is the stack trace: 15:54:26,636 ERROR [BeanLock] Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=moonrock.metnet.navy.mil//10, BranchQual=] 15:54:26,636 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public ab

[JBoss-user] [Persistence & CMP/JBoss] - inconsistent state of entity bean using auto-increment

2005-01-11 Thread troyschulz
JBoss Version : 3.2.4,3.2.5,3.2.6 We are using auto-increment fields with SQL Server and have enabled insert-after-ejb-post-create in order to support NOT NULL FK constraints. >From a session bean, a call such as: User u = userHome.create("first","last", "[EMAIL PROTECTED]"); returns an objec

[JBoss-user] [Messaging, JMS & JBossMQ] - Hung Messages

2005-01-11 Thread trickard
jboss-3.2.5, oracle datastore, jdbc3, hp-ux11.x For some reason we have some messages for a durable subscription that I have not been able to receive. I was in a tight time frame (month end) and chose to read the blobs directly, create a new message and send it to a queue where they were proces

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Getting ping timeout trying to connect to a Queue

2005-01-11 Thread ehansen
I did not see a reply relevant to this post, so I would like to raise it again... what can cause this to ping timeout to happen? I have the same symptoms... the appliation will run for several days without problem, the whammo, these exceptions appear and the app is dead. It happened last nig

[JBoss-user] [JBossWS] - Re: Problem with using custom datatypes in WSTypeMapping

2005-01-11 Thread [EMAIL PROTECTED]
The classes should be seen by the deployment class loader. If WEB-INF/lib is not included it would be a bug. http://jira.jboss.com/jira/browse/JBWS-71 Have you tried putting them in WEB-INF/classes ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861636#3861

[JBoss-user] [HTTPD, Servlets & JSP] - How to run JSF on JBoss4?

2005-01-11 Thread chuckzhg
Qudos to JBoss after having JBoss4.0.1 RC1/EJB 3.0 preview running. I would really appreciate if someone (JBoss or not) can tell us how to run JSF (Sun RI, or MyFaces, etc) on top of JBoss 4 (preferably 4.0.1RC1 till JBoss get EJB 3.0 works on higher-than-RC1). Thanks very much in advance, c

[JBoss-user] [JBossWS] - Re: Frequently Asked Questions [Web Services]

2005-01-11 Thread [EMAIL PROTECTED]
The wiki should be the primary source of information View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861633#3861633 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861633

[JBoss-user] [JBossWS] - Re: Complex types in WS4EE.

2005-01-11 Thread [EMAIL PROTECTED]
webservices.xml is a server side deployment descriptor, so it does not apply. ws4ee-deployment.xml is given as the third parameter. I corrected the wiki on this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861631#3861631 Reply to the post : http://www.j

[JBoss-user] [JBossWS] - Re: Problem with EJB Web service Client

2005-01-11 Thread [EMAIL PROTECTED]
Your client code uses the crimson parser that is the JDK default and cannot handle xml schema. Use Xerces instead like this | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861630#3861630 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Performance Tuning] - Re: JBoss and usage of multiple processors

2005-01-11 Thread frankgrimes
If load isn't being balanced correctly across your processors, here are two likely culprits: a) Operating System b) Java Virtual Machine implementation for said O/S I seriously doubt there is any Jboss code that could impact processing load distribution View the original post : http://www

[JBoss-user] [Management, JMX/JBoss] - Big Problem with Schedulable

2005-01-11 Thread atillman
I have several Schedulable items that are designed to run at ~5min intervals. There is a ServletContextListener that starts up the items when our application deploys. These schedulable items worked fine for months but now they are giving us problems. When our application starts up the Sch

[JBoss-user] [Installation & Configuration] - HTTP Session Timeout Configuration?

2005-01-11 Thread daorriss
Where is HTTP Session Timeout configured in JBoss? What file needs to be edited, etc? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861644#3861644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861644 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote Topic.... Bug o wrong configuration?

2005-01-11 Thread craig1980
Hi all... sorry but i'm still blocked in this error from 7 days...Has anybody a tip? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861628#3861628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861628

[JBoss-user] [Clustering/JBoss] - Edition 6 is the latest version of the documentation I can f

2005-01-11 Thread dpasiuk
Hello, Friends, The latest version of JBoss Clustering that I can find online is Edition 6, which seems to be for JBoss <3.2.26. I'm currently working with JBoss 4.0.1. Is this the most current version of this doc? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Installation & Configuration] - Re: Address already in use: JVM_Bind

2005-01-11 Thread jingc3
Solved - there is a copy of Oil2-service.xml in the same directory, and that caused the problem View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861640#3861640 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861640

[JBoss-user] [EJB/JBoss] - Re: Stateful Session bean and java.sql.Connection problem

2005-01-11 Thread ter_d
Hi darranl, so... where's my reply with my problem? Esther View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861639#3861639 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861639 -

[JBoss-user] [Installation & Configuration] - Re: Multiple .har possible?

2005-01-11 Thread luxmatic
"mveitas" wrote : Try using two differnet sessionFactories. That was the hint I needed. I was under the impression (wrongly) that the sessionFactory was defined and configured elsewhere. Changing the 2nd .har's SessionFactoryName to java:/hibernate/SessionFactoryExample2 - and then referring

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Docs\examples\ejb\simplemessage

2005-01-11 Thread zarniwoop
Hi there, the JNDI Port (default 1099) is specified in your servers conf directory in the file jboss-service.xml. I had to change that due to conflicts with my virus protection software. Rgds Jens View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861624#386162

[JBoss-user] [Installation & Configuration] - Address already in use: JVM_Bind

2005-01-11 Thread jingc3
Hi there, I am starting a jboss-3.2.3 on a server, and no matter what port number I changed for OIL2, I always get the error saying: 2005-01-11 13:53:38,640 ERROR [org.jboss.mq.il.oil2.OIL2ServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.

[JBoss-user] [Installation & Configuration] - Re: Connect JBoss from client pc

2005-01-11 Thread max_ten
I'm using WinXP on both machines. By using proxy server software, the client PC can share the internet connection from host PC. But just can't get it when type http://hostIP:8080/myApp in client PC. Have i miss up something? View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSTL/JBoss/JSP error

2005-01-11 Thread jlauman
For anyone interested here's what I did to solve the JBoss problem with the PropertiesEditor error. I edited org.jboss.util.propertyeditorDateEditor.java and recompiled it wth the following changes and the problem went away. I tried creating a date/time editor and a BeanInfo class but sometimes

[JBoss-user] [JBossWS] - Re: document literal style and ws method with no parameter

2005-01-11 Thread [EMAIL PROTECTED]
This is a bug http://jira.jboss.com/jira/browse/JBWS-70 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861634#3861634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861634

[JBoss-user] [Installation & Configuration] - Sometimes it compiles, sometimes it doesn't

2005-01-11 Thread TimGE
Our code is developed using Eclipse and deployed to JBoss as WAR file. I've recently tried to add an additional method to one of the classes in our package. When I deploy it to the server and then access the site, sometimes it works and other times I get an error saying that the compiler cannot

[JBoss-user] [Clustering/JBoss] - Re: How can i setting up JMS clustering on jboss4.0?

2005-01-11 Thread DashV
The JBoss Clustering docs would be a great way to get started. You have to pay for them but they are well worth it. They should tell you just about everything you'd want to know. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861617#3861617 Reply to the post

[JBoss-user] [Javassist user questions] - Adding Methodes

2005-01-11 Thread sirrurg
Hi everyone! I have a question about bytecode manipulation with Javassist. Is it possible to modify more than one class a time and compile them together?!? I think of doing sth like this: | class A{ | void dosth(){ | ... | B.dosthmore(); | | }

[JBoss-user] [Installation & Configuration] - Re: how to configure ssl in jboss server

2005-01-11 Thread planeski
Yes, it's explained, but it doesn't work. At least not "out of the box" with 4.0. I get the following exception: 12:22:38,526 ERROR [StatelessSessionContainer] Starting failed jboss.j2ee:jndiName=examples/ejb20/testbeans/stateless/TraderRequired Home,service=EJB java.lang.RuntimeException: inv

[JBoss-user] SSL help

2005-01-11 Thread Manjunath R
Hi All,   I 'am trying to configure ssl in jboss/tomcat. I am using Jboss-3.2.6. I made changes in theserver.xml to use self singed certificate with thevalid password.When I tried to run the server. It is throwing theexception as given below. I am giving the correct path of the keystore andpass

[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-11 Thread fredatwork
You definitely have to load a class as Frito told you : Thread.currentThread().getContextClassLoader().loadClass() But also, I would consider migrating immediately consider to JBoss 4.0.1. I had plenty of problems with JBoss 4.0.0 loading classes of mine dynamically and more generally with the J

[JBoss-user] [Installation & Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread [EMAIL PROTECTED]
Use the global JNDI namespace in JBoss. Don't bind to java:/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861615#3861615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861615 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS fills up database

2005-01-11 Thread tprice
Thanks Adrian for the resposne. I'm creating a subscriber using: topicSubscriber = session.createSubscriber(topic); which, I think, should default to a non durable subscription. Is there something else I need to do? Tim. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [JCA/JBoss] - Re: java.sql.SQLException: Io exception: Broken pipe

2005-01-11 Thread georgewinner
Adrian I have the same "error" in my application, So it's not a "real error" but and wrong message thrown ?? 12037157 INFO 10 Jan 2005 23:04:28,401 connectionmanager.TxConnectionManager$TxConnectionEventListener - Unregistered handle that was not registered! null for managedConnection: [

[JBoss-user] [JBoss.NET] - Re: MDB as Web Service endpoint?

2005-01-11 Thread [EMAIL PROTECTED]
I fail to understand why an MDB has to be exposed as a Web Service. An MDB has no contact with the external world (read clients) except with the container. When a message arrives at a destination, the container creates a MDB and assigns the message to it. Tell me if I am wrong. View the or

[JBoss-user] [EJB/JBoss] - Timer vs. cluster & scheduler

2005-01-11 Thread fredatwork
Hello, I have a few questions about EJB timers : 1/ I'm interested to know what JBoss 4.0 AS does with timers in a clustered environment. More specifically, I would like to know if timers can be made highly available with JBoss clustering features (the J2EE specification does not mandate high

[JBoss-user] [Installation & Configuration] - Multiple datasource configuration files for Hypersonic

2005-01-11 Thread afrl2005
Hello, I want to configure JBoss to run Hypersonic (in-process mode). The hsqldb-ds.xml file is easy to modify, but I am running into a a problem. The application we are developing dynamically points to several datasources. However, I always want each datasource to go to the same Hypersonic

[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
there is an exception 18:02:43,314 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] java.lang.Exception: STACKTRACE what is the reason for that and what I have to do? View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [JBossWS] - Re: How do I deploy a SOAP Webservice (ServiceManagerClient

2005-01-11 Thread empress101
ok i looked at that page and the instruction http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET and they are not clear HOWTO switch between JBossWS/JBoss.NET Before you can use JBoss.NET you need to remove JBossWS and install JBoss.NET manually. Here is what you need to do from the jboss.net

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS JDBC Persistence and server restart.

2005-01-11 Thread Frank-15
Hi, the situation is the following: my application consumes messages slower than their incoming rate is thus some of them will be persisted to a Postgres RDMS (depending on memory cache-size settings, etc.) However all of these messages will be marked with 'T' and be deleted at server restart a

[JBoss-user] [Installation & Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread wmprice
There is a reason for this: the java:comp/env namespace is reserved for application components running in a managed environment. What this basically means is that each application component has its own private namespace bound to the context of java:comp/env. When running outside of the conta

[JBoss-user] [JBoss.NET] - Re: MDB as Web Service endpoint?

2005-01-11 Thread dsmiley9
Can someone please reply to this? I think I've heard references to this existing however as I look through the JBoss.NET source tree, I see no support for exposing MDBs as web services. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861600#3861600 Reply to

[JBoss-user] [Beginners Corner] - Re: creating connection pool! please help me!

2005-01-11 Thread wmprice
There are a few things to look for: 1) Use the JNDIView MBean to list the JNDI context and make sure that DataSource, as you have configured it is showing up. You should see it in the Global JNDI namespace. 2) Add a resource reference to application component (EJB or otherwise) that allows

[JBoss-user] [Management, JMX/JBoss] - Re: namespaces in -service.xml

2005-01-11 Thread GreyDeath
Check out the following -service.xml file | | http://www.w3.org/2001/XMLSchema-instance";> | | email | destination | com.ftiso

[JBoss-user] [Persistence & CMP/JBoss] - Re: @jboss.method-attributes

2005-01-11 Thread HariV
That is true. The Entity Bean wont be enlisted in a transaction, if the read only method is called,but the entity bean will be locked for the duration of the method call. You need to specify a time-out also View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [JBoss Getting Started Documentation] - Re: How Can I specify the startup class in Jboss4.0?

2005-01-11 Thread darranl
http://www.jboss.org/wiki/Wiki.jsp?page=JBossFrequentlyAskedQuestions View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861598#3861598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861598 ---

[JBoss-user] [Installation & Configuration] - Re: javax.naming.NameNotFoundException: comp not bound

2005-01-11 Thread peake
The Answer: These are the properties: -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.provider.url=jnp://JBOSS_HOST:1099/ -Djava.security.auth.login.config=login.conf The login.conf file, pointed to by ?java.security.auth.login.config?, needs to contain:

[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock

2005-01-11 Thread HariV
I forgot to check one think what is the exact exception message is it an exception from SQL Server or from entity bean. My previous reply was applicable for entity bean lock. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861591#3861591 Reply to the post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: dead lock

2005-01-11 Thread HariV
There are different locks on entity bean Method Lock The method lock ensures that only one thread of execution at a time can invoke on a given Entity Bean. This is required by the EJB spec. But, this single-threadedness, can be overridden by marking the bean reentrant in its deployment descrip

[JBoss-user] [EJB/JBoss] - Re: creating connection pool! please help me!

2005-01-11 Thread HariV
The lookup should be DataSource ds = (DataSource)ctx.lookup("java:/jspNedirMysql"); instead of DataSource ds = (DataSource)ctx.lookup("jspNedirMysql"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861588#3861588 Reply to the post : http://www.jboss.org/

[JBoss-user] [Installation & Configuration] - Application Static Variable Isolation

2005-01-11 Thread kumaran5
Hi all, I am having a web application that creates the properties file when it gets deployed by means of ini.java that said to be ?load-on-startup? servlet class and save the database properties as static by calling simple java class. I deployed the same web application once again in the same s

[JBoss-user] [Clustering/JBoss] - Re: cluster jmx-console not updated in different nodes

2005-01-11 Thread [EMAIL PROTECTED]
Correct. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861585#3861585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861585 --- The SF.Net email is sponsored by: Be

[JBoss-user] [Installation & Configuration] - Re: Multiple .har possible?

2005-01-11 Thread mveitas
Try using two differnet sessionFactories. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861589#3861589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861589 --- The

[JBoss-user] [Installation & Configuration] - Log4 Problem

2005-01-11 Thread georgewinner
Hello to all, I have a problem with the jboss & the log4j. The file the i have created for logging my messages jboss , writes to many messages for all the jars related for the application, which is not correct, Struts, jdom, jboss messages This makes the performance of the application to s

[JBoss-user] [JCA/JBoss] - Re: NewConnection SQL execution

2005-01-11 Thread [EMAIL PROTECTED]
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection uses it: |/** | * Checks whether a connection is valid | */ |SQLException isValidConnection(Connection c) |{ | // Already got a checker | if (connectionChecker != n

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.1 and xalan

2005-01-11 Thread [EMAIL PROTECTED]
Using what jdk and how is jboss being started? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861587#3861587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861587 --

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread [EMAIL PROTECTED]
Class loading isolation with overrides is the correct approach, but the deployment should have have any java.* or javax.* classes in the deployment as these cannot be overriden. Apparently most other class loading approaches just ignore attempts to load such classes and so don't care about their

[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to Deploy Duke's Bank org.jboss.deployment.Deploy

2005-01-11 Thread jhhdk
This problem seem to have returned unless it was never fixed. How do I fix it? 13:43:43,781 ERROR [MainDeployer] could not create deployment: file:/C:/tools/jboss-4.0.1RC1/server/default/tmp/deploy/tmp61598JBossDukesBank.ear-contents/bank-ejb.jar org.jboss.deployment.DeploymentException: Verific

[JBoss-user] [Management, JMX/JBoss] - Re: namespaces in -service.xml

2005-01-11 Thread [EMAIL PROTECTED]
Try describing what your trying to do. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861586#3861586 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861586 --- The SF

[JBoss-user] [Installation & Configuration] - Re: Tomcat and ClassLoader Problems

2005-01-11 Thread [EMAIL PROTECTED]
Create a bug report with a sample war on jira so we can look into why redeployment is causing the problem. http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861584#3861584 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [JBossWS] - Re: wrapped document/literal

2005-01-11 Thread omatzura
Hi! as far as I understand, doc/literal web-services can only have one in/out complex message part (in accordance with basic profile). If you need multiple in-parts you should use rpc/literal style web-services instead (which should work fine with jboss in accordance with j2ee 1.4). correct?

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 Linkage Error Nightmare

2005-01-11 Thread [EMAIL PROTECTED]
UseJBossWebLoader only affects the wars in the ear, not the ear itself. When set to false you are using the tomcat class loader as a child to the ear class loader instead of using the ear unified loader at the war layer. View the original post : http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [Beginners Corner] - Re: creating connection pool! please help me!

2005-01-11 Thread repkin
try { InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("jspNedirMysql"); java.sql.Connection jspNedirCon = null; jspNedirCon = ds.getConnection(); }catch(SQLException ex) { setMessage(ex.toString()); }catch(NamingException ex) { setMessage(ex.toString()); } -

  1   2   >