[JBoss-user] [Beginners Corner] - Re: Possible to use JBOSS AS for a non-EJB CORBA application

2005-04-14 Thread jiwils
It seems to me that writing an MBean to host your CORBA servant is probably the way to go if you already have the CORBA servant part written. I plan to contribute a CORBA service framework MBean that you can plug any CORBA servant into in the near future. I plan to post about this in the Design

[JBoss-user] [Installation & Configuration] - Jboss AS 3.2.7 or 4.0.1sp1 on Solaris 10

2005-04-14 Thread onga
Hi there, I am trying to get JBoss AS to run on Solaris 10. I have had similar issues on Solaris 9. I have set the CLASSPATH and JAVA_HOME directories using Sun's jdk 1.4 and 1.5: CLASSPATH=/usr/jdk/j2sdk1.4.2_06/lib:/usr/jdk/j2sdk1.4.2_06/jre/lib:/usr/jdk/j2sdk1.4.2_06/jre/lib/ext:. JAVA_HOME=

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss4.0.0 + Hibernate2.1.5 Transaction problem

2005-04-14 Thread jetrix
Please help me! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874045#3874045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874045 --- SF email is sponsored by - Th

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR relation on NOT NULL foreign keys

2005-04-14 Thread fmfaulkner
insert-after-ejb-post-create works in Weblogic with Oracle sequences with non-null FK fields being set in ejbPostCreate. I wish someone could provide a definitive answer on how to accomplish this for JBoss 4.0 and MySql. View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [EJB/JBoss] - Re: Configuring dataSource For BMP EntityBeans

2005-04-14 Thread jboss_eval
hi, "milowe" wrote : 1. Define and deploy the Oracle DS (oracle-ds.xml). | 2. Grab a connection for the BMP bean from that DS using its jndi-name. .Deployed oracle DS, and also created the connection for BMP to that DS. But my database transaction is with a table on the default Database

[JBoss-user] [Beginners Corner] - Re: AutoIncrement Primary Key in CMP

2005-04-14 Thread fmfaulkner
Try this: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874042#3874042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874042 --- SF email is sponsored by

[JBoss-user] [Security & JAAS/JBoss] - Re: mod_cookies security issue on JBoss/Tomcat

2005-04-14 Thread k.badri
Scott, Thanks for your input, as you mentioned, It was a false alarm raised by the Network Scanner of (ISS http://www.iss.net). This was confirmed by one of their staffs. Regards, Badri. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874040#3874040 R

[JBoss-user] [HTTPD, Servlets & JSP] - Re: mod_cookies security issue in Tomcat

2005-04-14 Thread k.badri
Scott, Thanks for your input, as you mentioned, It was a false alarm raised by the Network Scanner of (ISS http://www.iss.net). This was confirmed by one of their staffs. Regards, Badri. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874039#3874039 Repl

[JBoss-user] [Persistence & CMP/JBoss] - JBoss4.0.0 + Hibernate2.1.5 Transaction problem

2005-04-14 Thread jetrix
Hi all: I used a hibernate service with JBoss4.0.0, the configure file: hibernate-service.xml | | | java:OracleDS | net.sf.hibernate.dialect.OracleDialect | java:/hibernate/OracleSessionFactory | net.sf.hibernate.cache.TreeCacheProvider |

[JBoss-user] [Performance Tuning] - Jboss on Solaris with 64 bits JVM

2005-04-14 Thread [EMAIL PROTECTED]
We are running sucessfuly Jboss3.2.6 on solaris 8 with java j2sdk1.4.2_08 We want to switch to the 64 bits JVM in order to have more then 4G memory. I applied the following changes in run.conf JAVA_HOME="/export/home/stargus/j2sdk1.4.2_08" JAVA="/export/home/stargus/j2sdk1.4.2_08/bin/sparcv9/java"

[JBoss-user] [Management, JMX/JBoss] - Jboss 3.2.6 and java 1.5.0_2 on Solaris

2005-04-14 Thread [EMAIL PROTECTED]
when trying to run jboss using jdk 1.5 I get the following error: Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean at org.jboss.mx.loading.UnifiedClassLoader3

[JBoss-user] [JBossWS] - Re: Unable to access classes and files in subfolders

2005-04-14 Thread msiv
Can you please point me in the right direction? Where should I post this question? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874035#3874035 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874035 -

[JBoss-user] [Installation & Configuration] - Re: Netboot from a server that requires Basic Authentication

2005-04-14 Thread [EMAIL PROTECTED]
Its still supported. The webdav client api needs to be revisted for updates and a more robust mechanism that would allow the authentication info to be obtained in a more opaque fashion would be good. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874033#387

[JBoss-user] [Installation & Configuration] - Netboot from a server that requires Basic Authentication

2005-04-14 Thread Essington
I Started fooling with netboot on JBoss 4.0.2rc1 last weekend, and found that it didn't want to netboot from a server that required authentication. I fooled around with org.jboss.Main and org.jboss.net.protocol.http.DavURLLister and by adding about 15 lines of code, I managed to get JBoss to ne

[JBoss-user] [Clustering/JBoss] - Clustered Singleton Message Driven Bean

2005-04-14 Thread dfisher
The wiki says: anonymous wrote : | If you want a clustered singleton MDB you need to deploy your mdb in deploy-hasingleton or create your own clustered singleton deployment. | Are there any instructions for doing this? I copied my mdb to the deploy-hasingleton directory, but the bean wasn't

[JBoss-user] [JCA/JBoss] - Re: Can I monitor available connections in 2.4.8?

2005-04-14 Thread wcleung9
I want to know the solution too as I am facing exactly the same situation. I need to monitor the connection pool on JBoss 2.4.8 to see if it is the bottleneck of my web-app's performance. I browsed the JMX web-console on port 8082. But it only provides configurations for the DataSourceLoader, s

[JBoss-user] [Installation & Configuration] - deploying datasource from EAR file

2005-04-14 Thread yevgeni
Hello, Is it possible to deploy your datasource from EAR file? Basically I would like to include the ds.xml configuration file in my EAR file. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874029#3874029 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-14 Thread anguyen
Thanks for the tip on disabling HAJNDI autodiscovery. Ok, I ran my server through the debugger watching both the JGroups multicast socket creation and the DetatchedHANamingService.AutoDiscovery multicast socket creation. The main difference is that in org.jgroups.protocols.UDP.createSockets(),

[JBoss-user] [Messaging, JMS & JBossMQ] - Why do MDBs use transacted sessions?

2005-04-14 Thread inderjboss
Hi: 1.) MDBs on JBoss are setup to use transacted sessions, always. The following lines in JMSContainerInvoker actually do that: | // set up the server session pool | pool = createSessionPool(tConnection, | minPoolSize, | maxPoolSize, | keepA

[JBoss-user] [EJB/JBoss] - Problems invoking local home finder methods of BMP-EJBs that

2005-04-14 Thread felandres
Hi all, I'm having problems to invoke finder methods (only those that returns various Value Objects within a Collection) of my BMP-EJBs through their local home interface. If I call them from the home interface it works pretty fine, but when I call from the local home I get a ClassCastExcepti

[JBoss-user] [Installation & Configuration] - Re: jboss 3.2.6 on Solaris using 64 bits JVM

2005-04-14 Thread [EMAIL PROTECTED]
Just to add for that is that when trying to run it using jdk 1.5 I get the following error: Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean at org.jbo

[JBoss-user] [Beginners Corner] - Possible to use JBOSS AS for a non-EJB CORBA application?

2005-04-14 Thread kentn
We currently have a large system based on a number (10-15) CORBA singelton services (eg. messaging, payment, reporting etc) These are running in out own-made "service-container" which we frankly don't want to maintain... However, the system is NOT designed around an J2EE "bean-like" architectu

[JBoss-user] [JNDI/Naming/Network] - Need help with javax.naming.CommunicationException

2005-04-14 Thread chiz
I had several EJBs deployed in a single module, and JNDI lookup worked fine. After splitting some of the EJBs into a separate jar and adding a new module to my EAR for the new EJB jar, the JNDI lookup fails for the EJBs in the new module. All EJBs are local stateless session beans, and so netwo

[JBoss-user] [Beginners Corner] - Re: JCA JNDI problem !

2005-04-14 Thread [EMAIL PROTECTED]
One more time, with proper formatting Put this in your web.xml (as per spec will put it in comp/env): | My important datasource | jdbc/JdelfosDataSource | javax.sql.DataSource | Container | And this in your jboss-web.xml (which maps from global to local):

[JBoss-user] [Beginners Corner] - Re: JCA JNDI problem !

2005-04-14 Thread [EMAIL PROTECTED]
Put this in your web.xml (as per spec will put it in comp/env): My important datasource jdbc/JdelfosDataSource javax.sql.DataSource Container And this in your jboss-web.xml (which maps from global to local): jdbc/JdelfosDataSource java

[JBoss-user] [Persistence & CMP/JBoss] - Re: Help: Deploying CMP Entity Bean on Jboss (DB2)

2005-04-14 Thread troeng
And here is what my console says: === . JBoss Bootstrap Environment . JBOSS_HOME: c:\jboss4\bin\\.. . JAVA: c:\program\java\jdk1.5.0_01\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH

[JBoss-user] [EJB/JBoss] - Re: Find jndi name of all deployed Ejbs in Jboss container

2005-04-14 Thread younes
Thanks for the answer, i know about the jmx console, what i wanted was to read all jndi name of deployed ejbs at runtime, i mean programmaticly. Anyway i fix this problem by using the class XMlBean if some has interess to see the code just make sign. thanks everybody. View the original post :

[JBoss-user] [Persistence & CMP/JBoss] - Help: Deploying CMP Entity Bean on Jboss (DB2)

2005-04-14 Thread troeng
Hi, I have a problem which I have tried to solve for a couple of days now with now success. I have deployed an ordinary Entity CMP Bean which name is Customer. This bean has 2 fields, an id field and a customername field. I use DB2 where the table is named customer and the fields are named as

[JBoss-user] [Beginners Corner] - Re: include jsp or htmls with a path based on web server

2005-04-14 Thread fabianse
I can use < Context path="/images" docBase="I:/images" > to share a unique images folder between different web applications. But if I try to share html files or jsp files, it doesn't run E.g. < Context path="/commonhtml" docBase="I:/commonhtml" > and in a JSP, I try to use < jsp : include page="/c

[JBoss-user] [EJB/JBoss] - Commit option B + read_only method = strange behaviour

2005-04-14 Thread kpaliy
I have some entity bean with commit option B, it has most getters marked as read-only. I start transaction on client, obtain instance of bean and call couple of those methods. I expect ejbLoad only once, but it is called 3 times (ie before each business method). If I remove read-only attribute,

[JBoss-user] [Beginners Corner] - Re: include jsp or htmls with a path based on web server

2005-04-14 Thread fabianse
please read the next post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873987#3873987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873987 --- SF email is spons

[JBoss-user] [JBossCache] - JCache in a Weblogic cluster

2005-04-14 Thread ryanjoe
If I run JCache in each instance of WL and run it in local mode where each Cache shares a common backing store - will I be able to retrieve the same objects on any node providing I have the correct path and key. Weblogic is providing session replication and we don't want any extra overhead with

[JBoss-user] [Beginners Corner] - include jsp or htmls with a path based on web server

2005-04-14 Thread fabianse
I can use < Context path="/images" docBase="I:/images" > to share a unique images folder between different web applications. But if I try to share html files or jsp files, it doesn't run E.g. < Context path="/commonhtml" docBase="I:/commonhtml" > and in a JSP, I try to use < jsp : include page=

[JBoss-user] [Beginners Corner] - include jsp or htmls with a path based on web server

2005-04-14 Thread fabianse
I can use to share a unique images folder between different web applications. But if I try to share html files or jsp files, it doesn't run E.g. and in a JSP, I try to use does anybody knows how to include jsp or htmls with a path based on web server? View the original post : http://www.

[JBoss-user] [JBossWS] - Re: how handle multithreaded web app client?

2005-04-14 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : If I understand you correctly, your | In case your Java Service Endpoint (JSE) is deployed on jboss as well, it is thread safe. Not sure if Jason is right in saying that you should assume the oposite. With our current implementation you get the same behaviour with J

[JBoss-user] [Installation & Configuration] - Re: Configuring the deployement order

2005-04-14 Thread darranl
Here is a page in the WIKI that describes how a MBean can depend on a session bean: - http://www.jboss.org/wiki/Wiki.jsp?page=HowCanAnMBeanDependOnASessionBean If you add a depends tag for each component your service depends on the service will not be deployed until the other components are rea

[JBoss-user] [Installation & Configuration] - jboss 3.2.6 on Solaris using 64 bits JVM

2005-04-14 Thread [EMAIL PROTECTED]
We are running sucessfuly Jboss3.2.6 on solaris 8 with java j2sdk1.4.2_08 We want to switch to the 64 bits JVM. I applied the following changes in run.conf JAVA_HOME="/export/home/stargus/j2sdk1.4.2_08" JAVA="/export/home/stargus/j2sdk1.4.2_08/bin/sparcv9/java" The 64 bit JVM seems to reside unde

[JBoss-user] [Installation & Configuration] - how to config snmp adaptor to send trap

2005-04-14 Thread yangju
I searched jboss forum and documents. But I could not find any detailed info about how to set up snmp adaptor's notifications.xml in 4.0.1. Since we use sitescope to monitor production in our company, we want to use sitescope to monitor our own mbeans also. But sitescope does not support jboss

[JBoss-user] [Messaging, JMS & JBossMQ] - using the same DurableSubscriber stored in jms_subscriptions

2005-04-14 Thread veenmudi
Hello. Hope that this question will be answered easily by some of you. I am trying to use a DurableSubscriber in my servlet so that the messages posted to the Topic while the subscriber is inactive can be received. This is what I do in init() resultTopic = (Topic)jndiContext.lookup(RESULT_JNDI_N

[JBoss-user] [JBossCache] - Re: Help !! Simple JDBCCacheloader code not working

2005-04-14 Thread ryanjoe
My previous entry had all the xml tags stripped - !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873976#3873976 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873976

[JBoss-user] [JBossCache] - Re: Help !! Simple JDBCCacheloader code not working

2005-04-14 Thread ryanjoe
Plug the cacheloader into the config - example: org.jboss.cache.loader.JDBCCacheLoader false false false cache.jdbc.table.name=jbosscache cache.jdbc.fqn.column=fqn cache.jdbc.fqn.typ

[JBoss-user] [JBossWS] - Re: Help me please with a webserice tutorial on jboss

2005-04-14 Thread [EMAIL PROTECTED]
How about the very first post on this forum HOWTO use this forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=62678 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873974#3873974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [JCA/JBoss] - Re: Using JBoss jms-ra.rar in another application server

2005-04-14 Thread disrael
Just a warning for others attempting to follow this path for creating a JBossMQ.rar. The jms-ra.rar code's ManagedConnection.getConnection returns a session object! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873973#3873973 Reply to the post : http://ww

[JBoss-user] [Beginners Corner] - Re: corba tcp connection remains after destoying the orb

2005-04-14 Thread SunFire
"anguyen" wrote : Perhaps the connections are remaining open until _ncRef and _server are garbage collected. | I tried it now but it does not work. :( The connections are still there even after a call to the _release() methods and to System.gc(). View the original post : http://www.jboss.or

[JBoss-user] [HTTPD, Servlets & JSP] - (Seemingly) Random Server Shutdown

2005-04-14 Thread [EMAIL PROTECTED]
hi, i'm using 3.2.3 on redhat es10 and jdk 1.4.2, and at seemingly random times the jboss server just seems to shut itself down. here is a brief snippet: 10:25:44,101 ERROR [STDERR] sql:select guid from event_dates where event_date = '2005-04-16'; 10:25:44,115 ERROR [STDERR] inside spaceManage

[JBoss-user] [JBossWS] - Help me please with a webserice tutorial on jboss

2005-04-14 Thread seybaa
Help me please with a webserice tutorial on jboss, I want to start to use webservice on jobss and need some links or tutorials .thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873969#3873969 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [JBossCache] - Weblogic Transcantion Manager

2005-04-14 Thread lakshmigk
If JbossJCache is running on weblogic ahould it be hooked up to the Weblogic Transaction Manager . How is this done ? On tree cache startup the following code breaks because no credential are used to obtain the context and bind is not allowed in this context. public static DummyTransactionMa

[JBoss-user] [Installation & Configuration] - Configuring the deployement order

2005-04-14 Thread sanjuthomas
Hi all, I have .sar to deploy in the server. This has to work as scheduler job, its worked. but I want deploy it as the last component. So that I can use some of the resources that is already deployed. The problem is how can I control the order of deployment. Hope you all undestood my problem P

[JBoss-user] [JCA/JBoss] - WE NEED THE ABILITY TO MODERATE THE FORUMS EFFECTIVELY

2005-04-14 Thread [EMAIL PROTECTED]
This is officially my last post (for non bug related questions) until the portal developers provide a mechanism to weed out these posts by lazy users. The FAQ is there for a reason. http://www.jboss.org/wiki/Wiki.jsp?page=DynamicallyChangeADatasourceWithRestartingOrRedeployingApplicationsDepe

[JBoss-user] [Security & JAAS/JBoss] - NoClassDefFoundError in custom LoginModule

2005-04-14 Thread jtroxel
Hello. I am implementing a custom login module, extending the UsernamePasswordLoginModule, that calls a web service in another process to authenticate/authorize. So I have a new LoginModule class and some supporting classes that it references. I have pointed to my new class in the login-conf

[JBoss-user] [JCA/JBoss] - Re: Problems with informix

2005-04-14 Thread echav
Problem solved, Jboss 3.2.7 seems to work with Informix JDBC 2.21 JC4 I wonder why informix JDBC 3.0 JC1 didn't work, maybe in JBoss 4. There should be a JDBC versions for JBoss, it would save a lot of time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Beginners Corner] - JCA JNDI problem !

2005-04-14 Thread mtigua
Hi everbody ! I'm trying to configure a oracle datasource for JBOSS 4. My oracle-xa-ds.xml (specific jboss file) looks like: JdelfosDataSource false oracle.jdbc.xa.client.OracleXADataSource jdbc:oracle:thin:@192.168.124.40:1521:idelfos mario mario and my servlet looks like : javax.sql.Dat

[JBoss-user] [JBossCache] - Re: Help !! Simple JDBCCacheloader code not working

2005-04-14 Thread [EMAIL PROTECTED]
There are examples: get the source and search for FileCacheLoaderTest, or JDBCCacheLoaderTest. Source is at cvs.sf.net:/cvsroot/jboss co JBossCache View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873959#3873959 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Thread Zoombie

2005-04-14 Thread danielsmolenaars
I was already doing this, but the problem isnÂt solve. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873957#3873957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873957 -

[JBoss-user] [JBossCache] - Re: Help !! Simple JDBCCacheloader code not working

2005-04-14 Thread rskhanuja
Thanks Bela. As per docs getChildrenNames(Fqn fqn)should return a set of child node names if it finds children or null if there are not children found for the fqn.I have /poc/1,/poc/2,/poc/3 as a Fqns in my database.So it should return these three if i try to search for getChildrenNames(new Fqn

[JBoss-user] [JCA/JBoss] - JBOSS 4 JNDI problem !!!

2005-04-14 Thread mtigua
Hi everbody ! I'm trying to configure a oracle datasource for JBOSS 4. My oracle-xa-ds.xml (specific jboss file) looks like: JdelfosDataSource false oracle.jdbc.xa.client.OracleXADataSource jdbc:oracle:thin:@192.168.124.40:1521:idelfos mario mario and my servlet looks like : javax.sql

[JBoss-user] [Persistence & CMP/JBoss] - Cascade deletes and self referring entities

2005-04-14 Thread mclaughj
Hi, I have a set of calendar entities in my application, which have relations as follows: Calendar-->CalendarMonth 1:n (cascade delete) CalendarMonth-->CalendarWeek 1:n (cascade delete) CalendarWeek-->CalendarDay 1:n (cascade delete) additionally, CalendarDay refers to itsel

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Informix as JMS Database

2005-04-14 Thread genman
This is probably both a FAQ and Wiki. You're missing these MBeans: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding state: NOTYETINSTALLED ObjectName: jboss.jca:name=jdbc/InformixDS,service=DataSourceBinding state: NOTYETINSTALLED

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to Remove a message from the DLQ

2005-04-14 Thread bjordan
Thanks guys, that was very helpful. I had just forgot to call start() on my QueueConnection and that is why I was not getting any messages. Once I did that everything started working as it should. I appreciate your quick responses and effort in getting me back on track! Once I looked at the exam

[JBoss-user] [JNDI/Naming/Network] - JNDI Datasource problem!

2005-04-14 Thread mtigua
Hi everbody ! I'm trying to configure a oracle datasource for JBOSS 4. My oracle-xa-ds.xml (specific jboss file) looks like: JdelfosDataSource false oracle.jdbc.xa.client.OracleXADataSource jdbc:oracle:thin:@192.168.124.40:1521:idelfos mario mario and my servlet looks like : javax.sql

[JBoss-user] [JBossCache] - Re: Use of

2005-04-14 Thread jiwils
http://jira.jboss.com/jira/browse/JBCACHE-131 Attached to it is a modified version of TreeCache based on the latest CVS revision that provides the behavior described in this thread. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873950#3873950 Reply to the p

[JBoss-user] [HTTPD, Servlets & JSP] - Tomcat recompiles jsps always

2005-04-14 Thread fcamacho
I'm deploying an application that uses JSPs, JSFs and EJBs. My .war and .jar files are in the deploy directory. Sometimes, when I redeploy my web application and restart jboss, when I request jsp pages it expends a lot of time... 2 or 3 seconds when it may use less than a second. I know that i

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Tomcat recompiles jsps always

2005-04-14 Thread fcamacho
I have solved the problem!! My country have dst (daylight save time) and I've updated the time on my development machine but not on the server. When I deploy war and jar files on the server it recompiles all jsps because It believe that they are older. View the original post : http://www.jboss

[JBoss-user] [JBossWS] - Re: JBossWS does not clean up the temp files

2005-04-14 Thread [EMAIL PROTECTED]
This has been assigned http://jira.jboss.com/jira/browse/JBWS-180 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873945#3873945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873945 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS on Tomcat 5 & Jboss 4

2005-04-14 Thread [EMAIL PROTECTED]
anonymous wrote : Do I understand right that I need an implementation of Valve interface running as a valve on Tomcat and for every request that has not been authenticated yet, it should connect to JBoss, perform the authentication and populate local subkect with principals received remotely fro

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-14 Thread [EMAIL PROTECTED]
I guess, your problem is this http://jira.jboss.com/jira/browse/JBAS-979 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873942#3873942 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873942

[JBoss-user] [JBossWS] - Re: Problem generating mapping file

2005-04-14 Thread pure
It works fine with ANT now .. thanks for the replies... Here is a test build file that works... | | | | | | | | | | | |

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS on Tomcat 5 & Jboss 4

2005-04-14 Thread Legga
Thank you, I thought about it, but in this case (I have BASIC authentication on Tomcat) I have to supply my LoginContext with a callback object which, in turn, supplies the system with login and password. How shall I get the login and password from Tomcat? It prompts the user by itself and then

[JBoss-user] [Installation & Configuration] - Re: Can a JBoss4 appserver be a client to a JBoss3 appserver

2005-04-14 Thread [EMAIL PROTECTED]
The 4.0.x/3.2.x interop issues won't be fixed until the 4.0.2/3.2.8 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873935#3873935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873935 ---

[JBoss-user] [EJB/JBoss] - Re: Find jndi name of all deployed Ejbs in Jboss container

2005-04-14 Thread rachamzi
enter the following address in your browser http://localhost:8080/jmx-console/HtmlAdaptor or http://localhost:8080 and then click JMX Console then click service=JNDIView under the jboss title then on the invoke button for a list or a xml list i hope this will help you View the original post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-14 Thread [EMAIL PROTECTED]
Yes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873936#3873936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873936 --- SF email is sponsored by - The IT Produc

[JBoss-user] [JBossWS] - Re: [ERROR,PortProxy] Port error - jboss WS examle not worki

2005-04-14 Thread [EMAIL PROTECTED]
I created a JIRA issue for that, sorry about that. http://jira.jboss.com/jira/browse/JBWS-178 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873934#3873934 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873934 --

[JBoss-user] [JBoss Getting Started Documentation] - Problems with informix

2005-04-14 Thread echav
I don't know what's wrong, first when i configure informix driver in JBoss I had a problem that said something about it didn't support read only mode : " 10:29:38,583 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: org.jboss.resource.JBossResourceE

[JBoss-user] [JCA/JBoss] - Problems with informix

2005-04-14 Thread echav
I don't know what's wrong, first when i configure informix driver in JBoss I had a problem that said something about it doesn't support read only mode : " 10:29:38,583 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: org.jboss.resource.JBossResourceException

[JBoss-user] [JBossWS] - Re: how handle multithreaded web app client?

2005-04-14 Thread [EMAIL PROTECTED]
Every call to service.getPort(seiClass) should give you a new instance of a dynamic proxy which internally should not reuse the stateful Call object. Could you perhaps confirm this for me? If this is not the case, we are looking at a bug. The Service you lookup from JNDI should be stateless, so

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS on Tomcat 5 & Jboss 4

2005-04-14 Thread bocio
"Legga" wrote : Do I understand right that I need an implementation of Valve interface running as a valve on Tomcat and for every request that has not been authenticated yet, it should connect to JBoss, perform the authentication and populate local subkect with principals received remotely from

[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-14 Thread [EMAIL PROTECTED]
Can you debug this ? Should be simple to find out. BTW: the JGroups code should do almost the same, so maybe you compare the 2 beasts. Note that you can turn multicast HA-JNDI discovery off by setting a system prop, afair jnp.multicastDiscovery=false. But hit the manual for the exact name. View

[JBoss-user] [Clustering/JBoss] - Re: User Principal not getting replicated in cluster

2005-04-14 Thread grm
Thanks, Scott - that really helped me and now it works. By the way - I had problem with request.getRemoteUser() returning null on resources not protected by url-pattern in web.xml. Found topic on that - may be useful for others: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=9104 View

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS on Tomcat 5 & Jboss 4

2005-04-14 Thread Legga
Do I understand right that I need an implementation of Valve interface running as a valve on Tomcat and for every request that has not been authenticated yet, it should connect to JBoss, perform the authentication and populate local subkect with principals received remotely from JBoss? View the

[JBoss-user] [Security & JAAS/JBoss] - Re: Single sign on across all web apps, all hosts and all vi

2005-04-14 Thread Legga
I found this. May be it will be useful for you too. http://www.josso.org View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873925#3873925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873925 ---

[JBoss-user] [JBossWS] - Re: [ERROR,PortProxy] Port error - jboss WS examle not worki

2005-04-14 Thread jofi
Switching to the DukesBank solved all my problems! :-) It worked right away, and should work as a great template to get into this WS thing -Jon View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873924#3873924 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP and Domino: Groups without Context

2005-04-14 Thread holger.willenborg
I opened a bug report in JIRA after inspecting the source code which excludes an empty searchbase which is needed for Domino: http://jira.jboss.com/jira/browse/JBAS-1682 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873923#3873923 Reply to the post : http:

[JBoss-user] [JBossWS] - Re: how handle multithreaded web app client?

2005-04-14 Thread omatzura
ok.. We are not creating Call objects but using the Stub returned by service.getPort( seiClass ) for our invocations. Could we just create a new stub for each client/thread instead of looking up a new service instance? /Ole View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [JBossWS] - Re: how handle multithreaded web app client?

2005-04-14 Thread [EMAIL PROTECTED]
The javax.rpc.xml.Service that you look up from JNDI should be thread safe. The Call you create from it, is not. Every thread should simply create a new Call. Does that not work for you? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873921#3873921 Reply to

[JBoss-user] [JBossWS] - Re: Problem with port-component-uri in two ejbs

2005-04-14 Thread [EMAIL PROTECTED]
The last one should not deploy at all. The security is associated with the context. You cant reuse the context accross deployments. With normal web apps you can't reuse the context either. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873919#3873919 Reply

[JBoss-user] [JBossWS] - Re: JBoss generates wrong WSDD file

2005-04-14 Thread [EMAIL PROTECTED]
Is there any place left on the wiki advising you to use java2wsdl? Please use wscompile, java2wsdl does not generate WS4EE artifacts. i.e. no jaxrpc-mapping.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873915#3873915 Reply to the post : http://www.jbo

[JBoss-user] [Beginners Corner] - Re: corba tcp connection remains after destoying the orb and

2005-04-14 Thread anguyen
Perhaps the connections are remaining open until _ncRef and _server are garbage collected. You can try changing your destroy() method to: | if (_server != null) { | _server._release(); | _server = null; | } | if (_ncRef != null) { | _ncRef._release(); | _ncRef = null; |

[JBoss-user] [Installation & Configuration] - problem with precedence of java libraries jboss4.0.1sp1

2005-04-14 Thread mnc-co-uk
I have a web app that uses commons-collections-3.0.jar. I deploy the webapp into jboss, Jboss does it's job and deploys the webapp. The problem arises when I use a part of the app that is depenant on the commons-collections-3.0.jar. I get a method not found exception. This is due to a conflicti

[JBoss-user] [Clustering/JBoss] - Re: error on jboss start: b ad argument for IP_MULTICAST_IF:

2005-04-14 Thread anguyen
FWIW, I get the same error when starting the all configuration on Mac OS X 10.3.8, JBoss 3.2.7. I even tried changing the HAJNDI autodiscovery mcast address to the same address used in the JGroup config (different port of course), and still get the same error. I've pretty much ignored it, sinc

[JBoss-user] [Installation & Configuration] - Re: How to set log level at runtime

2005-04-14 Thread sharris
If you want to do it in code, you can define a Logger for each service, get these Loggers using the static Logger.getLoger(name) method and then setLevel(level) on the Logger instanaces. See the log4j API for details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [JBossWS] - Re: Problem with port-component-uri in two ejbs

2005-04-14 Thread acxsjones
Actually the only solution I have found is to package the multiple ejbs into the same jar. I would like to have different jar files for each ejb but have them use the same base context. /contextA/partB/service123 /contextA/partB/service124 I could not find a way to get the same base context p

[JBoss-user] [JBossWS] - Re: Unable to access classes and files in subfolders

2005-04-14 Thread [EMAIL PROTECTED]
No, JBWS-82 was about having the keyword 'services' in your path. I don't think this is related to WS at all View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873914#3873914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Installation & Configuration] - Can a JBoss4 appserver be a client to a JBoss3 appserver?

2005-04-14 Thread forkbomb
We have a multitiered architecture with a business tier consisting mostly of stateless session beans running JBoss 3.2.2, and several web applications running various JBoss 3.2.x versions making RMI calls to the business tier. We would like to be able to upgrade some of these client web applicat

[JBoss-user] [JBossWS] - Re: The soap response does not respect minOccurs=0 and seque

2005-04-14 Thread [EMAIL PROTECTED]
Unfortunately elementFormDefault="qualified" can only be achieved by exlicitly defining the type structure in ws4ee-deployment.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873911#3873911 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [JBossWS] - Re: Processing additional header problem

2005-04-14 Thread [EMAIL PROTECTED]
Have a look at the messages exchanged by the varions header and handlerflow tests, they don't use mustUnderstand either. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873910#3873910 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [JBossWS] - Re: cannot load wsdl files

2005-04-14 Thread [EMAIL PROTECTED]
Can you show me the modifications to make this fail? | $ ant -Dtest=org.jboss.test.webservice.jbws128.JBWS128TestCase one-test | one-test: | [junit] Running org.jboss.test.webservice.jbws128.JBWS128TestCase | [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.343 sec

[JBoss-user] [JBossWS] - Re: HTTPS : java.net.SocketTimeoutException: Read timed out

2005-04-14 Thread [EMAIL PROTECTED]
If your target is a smalltalk web service, can you somehow provide a simple webapp that you can access from a browser via https? Also does the smalltalk endpoint offer a GET for the wsdl? Try that from a browser via https. Finally, use some simple java to retrieve content from that server via h

[JBoss-user] [Beginners Corner] - Help: Duke's bank deployment problem on Jboss 4

2005-04-14 Thread jonghun95
When I tried package ejb, I am getting the following error. could not find file account-ejb.xml to copy. I verified no account-ejb.xml in dd folder. Please help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873907#3873907 Reply to the post : http://www.j

[JBoss-user] [JBossWS] - Re: how handle multithreaded web app client?

2005-04-14 Thread omatzura
Hi! You are correct in assuming that the threading issue arises on the client side (in our struts action) which had created one instance of the sei which it shared between calling threads. The actual web-service endpoint is deployed as a stateless session-bean under jbossws on another machine a

[JBoss-user] [Persistence & CMP/JBoss] - Datasource getConnection method hangs

2005-04-14 Thread abduls0
I am using jboss 3.2.6 with MySQL 4.1 with mysql connector 3.0.16. I am using a DAO object to access persistant data for a BMP beans which works fine but than at some stage the DataSource getConnection method hangs without ever returns. All the connections ever opened are alsways closed however

  1   2   >