[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread poojac20
Thanx robisz. Understood this connector thing now. But about using HttpURLConnection, in my case, this will not be possible - my client is a pos terminal which dials on to a modem and which then passes on to some server's specific port. Including a URL is not possible in this scenario. I

[JBoss-user] [Beginners Corner] - Some problems and question from newbie

2004-10-27 Thread Bastie
Deutschsprachige Antworten sind gern' gesehen Hello, I try JBoss 4.0.0 to use these at critical position in my company. I installed JBoss 4.0.0 under Win 2000. First I need to change the run.bat because some paths are false grummel . Now JBoss is running but not at all (?!). I try the link to

[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread robisz
It's possible to write non-http servlet, but you need an appropriate servlet container that can handle it. Are you sure you want to use J2EE? As I see, all you need is a plain TCP/IP socket. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852871#3852871 Reply

[JBoss-user] [Management, JMX/JBoss] - Re: Attribute Stats can't retrieve

2004-10-27 Thread [EMAIL PROTECTED]
You probably need to put 'jboss-mananagent.jar' in your client classpath to get the definition of org.jboss.management.j2ee.statistics.ServletStatsImpl This class seems to be missing from jbossall-client.jar. Did you use jbossall-client.jar? View the original post :

[JBoss-user] [Security JAAS/JBoss] - Principal=null.... please help me

2004-10-27 Thread craig1980
Hi all; i'm using a great WfMS called wfmOpen; now i have a problem.. i must call a secure EJB; this EJB is in a secure domain called danet-workflow; all the people who can call it must have a role: StaffManagementRole_0; now i have created a my web appplication; i have a login.jsp page, a

[JBoss-user] [Beginners Corner] - Re: java.net.NoRouteToHostException when there's no network

2004-10-27 Thread sfrind
I guess you are using Windows 2000 or something like this. It is definitely not an issue of Java, MySql or JBoss. I have the same issue and have not found a solution. Maybe some windows expert can help. Stephan. View the original post :

[JBoss-user] [Beginners Corner] - Re: java.net.NoRouteToHostException when there's no network

2004-10-27 Thread tkmetta
hi Stephan, You are right, I'm using Windows 2003 server. Hmmmanyone has the solution? Pls let me know. Thanks tk View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852875#3852875 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - unknown pk beans - db2

2004-10-27 Thread jornik
Hi! I have a bean which is defined with an unknown primary key. The bean has a jbosscmp-jdbc.xml file associated where the pk is specified. It all works fine in the hypersonic db and jboss 3.2.5, but when bringing it to our real db environment, db2 7.2, I get the following problems: At

[JBoss-user] [Installation Configuration] - Is there any way to config max user using JBoss?

2004-10-27 Thread duylt
Is there any way to config max user using JBoss? .if have please show me how to do that Thank View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852879#3852879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852879

[JBoss-user] [Security JAAS/JBoss] - Re: Principal=null.... please help me

2004-10-27 Thread craig1980
Hi again; i have forgotten that in the login-config.xml i have inserted this: anonymous wrote : !-- Bind workflow security domain to staffmgmt authentication -- | application-policy name = danetworkflow | | login-module code =

[JBoss-user] [EJB/JBoss] - EJB Deployment Decriptors

2004-10-27 Thread normanfung
I'm newbie in J2EE, having read a bunch of stuff I'm still in the wood. Please bear with me. Here's an example descriptor: | ejb-jar | enterprise-beans | session |ejb-namebeanA/ejb-name |... |resource-ref | res-ref-namejdbc/dbname/res-ref-name |

[JBoss-user] [Persistence CMP/JBoss] - default values

2004-10-27 Thread tomerbd
is there anyway to have my CMP Entity bean have default values ? (Like I want a default guest user to be in my user table...) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852882#3852882 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - JBoss kills accept-encoding Header?!?!

2004-10-27 Thread ThReCa
I'm using jboss-3.2.6 with its jbossweb-tomcat50.sar. Now i'm testing gzip-compression of http-requests... Using this web.xml: ?xml version=1.0 encoding=UTF-8? | !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; | web-app

[JBoss-user] [Persistence CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread robisz
Probably you need to specify an entity-command in your jbosscmp-jdbc.xml Have you done it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852885#3852885 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852885

[JBoss-user] [The Lizzard's corner] - Re: How to run a Message Driven bean in Jboss

2004-10-27 Thread darranl
Why don't you follow through the getting started guide? If you want help with a current problem you need to provide enough information to describe the problem, JBoss version, JDK version, Exceptions and stack traces a full description of what you are trying to do and where appropriate code

[JBoss-user] [The Lizzard's corner] - javax.jms.JMSSecurityException: User: Null is NOT authentica

2004-10-27 Thread [EMAIL PROTECTED]
I'm using JBoss 4.0 and Oracle 9i. when I'm using default server(hypersonic) for jms it is working but when I'm shifting to Oracle it is giving the following error. javax.jms.JMSSecurityException: User: Null is NOT authenticated at

[JBoss-user] [Security JAAS/JBoss] - isCallerInRole returns no security context-set with webstart

2004-10-27 Thread henkkacre
Hi, I have been fighting this thing for days. I have read the JAAS how to and I've read through the whole forum and still not got this right. Maybe I've become blind to my own code. I use jboss-3.2.5. The architecture of my application is following: I have an ear that holds one jar package of

[JBoss-user] [Security JAAS/JBoss] - User: Null is NOT authenticated

2004-10-27 Thread [EMAIL PROTECTED]
I'm using JBoss 4.0 and Oracle 9i. when I'm using default server(hypersonic) for jms it is working but when I'm shifting to Oracle it is giving the following error. javax.jms.JMSSecurityException: User: Null is NOT authenticated at

[JBoss-user] [EJB/JBoss] - Re: error of deploy EJB

2004-10-27 Thread robisz
The answer is in bold part in your message... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852890#3852890 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852890 ---

[JBoss-user] [Installation Configuration] - Re: Is there any way to config max user using JBoss?

2004-10-27 Thread darranl
What do you mean by max user? Maximum number of users logged on to a web app? Maximum number of concurrent requests that can be processed by web app? Maximum number of a session bean that can process requests concurrently? Something else? View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Attribute Stats can't retrieve

2004-10-27 Thread diripu
Thanks , Have added jboss-management.jar file in classpath. Now i could retrieve the Stats attribute. In the remote client am using jbossall-client.jar and jboss-jmx.jar and now this jboss-management.jar file. But I am using a swing gui tool called ejtool which is only using

[JBoss-user] [Javassist user questions] - Re: unable to locate the proper class - and some newbie ques

2004-10-27 Thread alvlim1982
Hi again, I have another problem (again...never ending problems). This time, I really really have no idea what is happening. As I've said earlier, I tried to use javassist to generate run-time Value Object (there's no physical file). Then after that, I will pass the instance of the newly

[JBoss-user] [Javassist user questions] - dispatch algorithm limitation

2004-10-27 Thread tar
We can read this at the end of the tutorial : anonymous wrote : The compiler does not correctly implement the Java method dispatch algorithm. The compiler may confuse if methods defined in a class have the same name but take different parameter lists.anonymous wrote : | | | | what it

[JBoss-user] [Javassist user questions] - Re: dispatch algorithm limitation

2004-10-27 Thread tar
Sorry the layout may be a little confussing... here is the right layout. We can read this at the end of the tutorial : anonymous wrote : The compiler does not correctly implement the Java method dispatch algorithm. The compiler may confuse if methods defined in a class have the same name but

[JBoss-user] [Installation Configuration] - Re: JDK5.0 JMX Agent conflit

2004-10-27 Thread Furykid
Yes, this has been fixed for 4.0.1 and 3.2.7 could you please specify when it will be available for download ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852896#3852896 Reply to the post :

[JBoss-user] [Installation Configuration] - weird jar dependency loading problems

2004-10-27 Thread hany_bee
When I configure the Hibernate mbean service, I get a weird problem about missing dependency class. I added the following to $server/conf/jboss-service.xml: jboss.jca:service=RARDeployer jboss.jca:name=DefaultDS, service=LocalTxCM

[JBoss-user] [Management, JMX/JBoss] - Couldn't lookup

2004-10-27 Thread diripu
Couldn't get ManagementHome and getting exception ejb not bound... My program is like the below. --- Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.put(Context.URL_PKG_PREFIXES,

[JBoss-user] [Security JAAS/JBoss] - Re: make a jsp runnin' on https

2004-10-27 Thread Lviz
hi yea i think you can do it without apache... http://www.jguru.com/faq/view.jsp?EID=748030 for redirect with no logon take a look... [url]http://struts.application-servers.com/[url] we use struts layout with all of our jsp's it will take some time to prepare an example... and i am busy right

[JBoss-user] [Persistence CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread jornik
I took away the hypersonic one and tried with default key-generator without success I also added one myself into the standardjbosscmp-jdbc.xml which mapped to org.jboss.ejb.plugins.cmp.jdbc.DB2IdentityValLocalCreateCommand, which was mentioned in some posts about it being developed... (This

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread darranl
Have a look at JNDI View from jmx-console to see what is bound. Were there any errors on deployment? Your question would be better in the beginners corner forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852901#3852901 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Does data get flushed to the DB on commit when in Commit

2004-10-27 Thread tomerbd
http://www.jboss.org/wiki/Wiki.jsp?page=CMPCaching View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852902#3852902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852902

[JBoss-user] [Persistence CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread robisz
You should try with get-generated-keys entity-command. Please post your jbosscmp-jbc.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852904#3852904 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852904

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread diripu
Thanks Will post this in beginners corner forum. But the program i have written is correct ? I couldn't see any errors on deployment. Also i couldn't find this JNDI name in the JNDI-view . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852905#3852905

[JBoss-user] [Persistence CMP/JBoss] - Cache invalidation of all entities programatically - possibl

2004-10-27 Thread bobjones
Any CIF experts out there then please help!!! I want to invalidate all instances of all entities from the container's cache programatically. In the deployment descriptor of all my entity beans I will set cache-invalidation to false. I will do this because I do not want to invalidate entities

[JBoss-user] [Beginners Corner] - Is it safe to update xalan, xercesImpl and xml-apis jar file

2004-10-27 Thread fredrik_is
Hi! I am writing an application that uses Xalans XSLTC package. When testing outside JBoss I am using the latest jars from Xalan's web site, put in the $JAVA_HOME/jre/lib/endorsed directory. This I do because the jars that comes along in the J2SDK 1.4.2_06 are not working correctly. Now I want

[JBoss-user] [Clustering/JBoss] - Cache invalidation of all entities programatically - possibl

2004-10-27 Thread bobjones
This is not a clustering question, it's a cache invalidation question. And although the two usually go hand in hand, they do not necessarily do so. But this does seem to be a place where experienced Cache Invalidation Framework experts hang out. So, any CIF experts out there then please help!!!

[JBoss-user] [Persistence CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread jornik
Here is my jbosscmp-jdbc.xml ?xml version=1.0 encoding=UTF-8? jbosscmp-jdbc java:/test type-mappingDB2/type-mapping false create-tablefalse/create-table remove-tablefalse/remove-table read-onlyfalse/read-only time-out300/time-out

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread robisz
What version of JBoss? ejb/mgmt/MEJB exist only in 4.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852911#3852911 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852911

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread diripu
I could resolve the problem. The problem was because I didn't deploy the ejb-management.jar . And by default its not being deployed in version 3.2.5 and 4.0.0. But in the prev. version of JBoss ie (3.0.8, 3.0.4) this application was being deployed by default. Thanks View the original post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread poojac20
Actually, I have most of the business logic already available as EJBs. Hence J2ee as back end is already there. I need to use these EJBs and am trying to avoid RMI calls through another home-made server. And then I also thought IF JBoss can manage multiple sockets/threads/clients on its own

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread wdfink
Hi, if you want save, the best way (IMO) is to put all in an EAR-File. So your application work with the necassary XSLT and JBoss and other applications in the same JBoss AS runs with different.. Wolf View the original post :

[JBoss-user] [Management, JMX/JBoss] - RMIAdaptor Call From JBoss 4.0.0 to JBoss 3.2.5 - InvalidCla

2004-10-27 Thread nickman
I am trying to make an RMIAdaptor call from JBoss 4.0.0 to JBoss 3.2.5. However, when I lookup the RMIAdaptor in 3.2.5 from 4.0.0 using JNDI, I get the following error: | Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: |

[JBoss-user] [Persistence CMP/JBoss] - could not instantiate CacheProvider: net.sf.hibernate.cache.

2004-10-27 Thread beyarecords
Hi, I get the above mentioned error when I try to use EhCache in Hibernate. I have placed ehcache-1.0.jar in: /default/deploy/lib/ Is this the correct place to put the jar file? regards Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852919#3852919

[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss kills

2004-10-27 Thread ThReCa
Please delete this thread... http://jboss.org/index.html?module=bbop=viewtopict=55767 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852920#3852920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852920

[JBoss-user] [Installation Configuration] - Re: 3.2.4 - 4.0 migration guidance?

2004-10-27 Thread fengleit
I would like to see a migration guidance too. Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852921#3852921 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852921

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread fredrik_is
I have already tried that. I put the three jars in my .ear file, and declared them as java modules in the ear's META-INF/application.xml, as I do with several other libraries used, but it does not work. I get the same error as I get when running with the old jars only. /Fredrik View the

[JBoss-user] [Installation Configuration] - Why is Xalan included in JBoss 3.2.6 distribution?

2004-10-27 Thread fredrik_is
Why is Xalan included in JBoss 3.2.6 distribution? The jars xml-apis.jar, xercesImpl.jar and xalan.jar are included in the directories jboss/lib and jboss/server/default/lib, respectively. They are also included in the JRE distribution. This would be reasonable if some startup config file

[JBoss-user] [Security JAAS/JBoss] - Re: Principal=null.... please help me

2004-10-27 Thread craig1980
Hi i haven't showed the de.danet.an.staffmgmt.jbossx.StaffMemberLoginModule, here it is: import java.security.acl.Group; | import java.util.Map; | import java.util.List; | import java.util.ArrayList; | import java.sql.Connection; | import java.sql.Statement; | import

[JBoss-user] [Installation Configuration] - Integration of JBoss/Tomcat and IIS on different servers?

2004-10-27 Thread osma
Hi, I'm trying to integrate IIS (IIS5) with JBoss/Tomcat (3.2.5/5.0.26) that are on different servers. Does anyone know any good guides or have any tips on how to set it up? All examples I have found uses a standalone tomcat, that's run on the same server as the IIS. View the original post :

[JBoss-user] [Clustering/JBoss] - How to get failover with HASingletons ?

2004-10-27 Thread monocongo
I have created an application which uses stateful HASingletons. In the event of the master node going down these HASingletons are successfully started on the new master node, but they lose all state information. Once this occurs my application becomes confused and bad voodoo ensues. I had

[JBoss-user] [Beginners Corner] - Re: JBOSS start-up problem

2004-10-27 Thread kalyan120
Why can't a SAR be deployed with PrefixDeploymentSorter? I don't see any reason for not employing this technique. From what you say (or from the comments in jboss-service.xml), it appears that, SARs should get deployed first. But from the exception that's mentioned, it shows that the SARs are

[JBoss-user] [Security JAAS/JBoss] - Does security work on jboss 4?

2004-10-27 Thread p_nevilleuk
Hi, Thought I would as this as I have spent a day trying various configurations with little joy. I am simply trying to use basic authentication (configured in web.xml) and then use a policy for UsersRolesLoginModule. I have set up some secutiry on the EJB that the servlet is calling and get

[JBoss-user] [Security JAAS/JBoss] - Re: UnsupportedCallbackException using TextInputCallback

2004-10-27 Thread leathurman
I know this thread is very old but I am trying to implement something very similar, I too need to capture the users organisation. However all I did was amend my customer and the ClientLoginModule to supply a TextInputCallback. Both my JAAS login and the filter which uses the Client-login

[JBoss-user] [Installation Configuration] - apache commons-logging stopped working under jboss 4.0

2004-10-27 Thread mboulatian
We hava been using jboss 3.2.3 for some time. I tried to migrate to jboss 4.0. One thing I notice that logging does not work in jboss 4.0. I cannot get logging to work from our applications. All appenders are setup properly but things that worked in 3.2.3 don't work under jboss 4.0. We use

[JBoss-user] [Messaging, JMS JBossMQ] - Re: SocketException

2004-10-27 Thread adamrice32
I am experiencing the exact same behavior. Did you figure out what was wrong? My first thought was that the queue connection was not closed, but explicitly calling queueConnection.close() did not make a difference. Any thoughts? Thanks, Adam Rice hswen wrote : Hi, | I have a stand alone

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Do I have to close QueueSession

2004-10-27 Thread adamrice32
Hi Adrian, I was experiencing something similar, where I was getting a SocketException after pumping a bunch of messages onto a queue. I added code to close the session and then close the connection, but I still see a single EOFException when the client shuts down. Any thoughts? Thanks,

[JBoss-user] [Persistence CMP/JBoss] - Re: TransactionRolledBackException, IllegalStateException, J

2004-10-27 Thread ivanlc
Hi all, error is due to a compilation of EJB-QL sentence. There must be a good reason why it doesn't compile but I can't see it (yet). 2004-10-27 14:23:21,484 ERROR [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=pdmV1-I1.EDestinLocalHome,service=EJB

[JBoss-user] [Security JAAS/JBoss] - Re: Does security work on jboss 4?

2004-10-27 Thread p_nevilleuk
BTW: The same project works in 3.2.5, so I would love to hear from anyone with similar experience. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852951#3852951 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852951

[JBoss-user] [Security JAAS/JBoss] - Re: Principal=null.... please help me

2004-10-27 Thread craig1980
Hi again.. well i have changed my servlet code; now it's this one: import java.lang.reflect.InvocationTargetException; | import java.lang.reflect.Method; | import java.security.PrivilegedAction; | import java.security.PrivilegedActionException; | import

[JBoss-user] [Persistence CMP/JBoss] - JBoss 4.0 + HAR archive = classloading hell.

2004-10-27 Thread destr0
I'm trying to deploy a har archive to jboss. When the session factory is bieng built, particularly when the mapping files are bieng mapped to classes, the class that corresponds to a found hmb.xml file is reported as not bieng found. These classes are most definitely in the archive, both the

[JBoss-user] [Installation Configuration] - NamingContext and HA discovery

2004-10-27 Thread Frito
Hi, today I was a bit surprised when I tried to lookup an object with the url jnp:/localhost:1099 finding an object with no JBoss running on my computer. Looking into the sources of NamingContext, I found the jnp.disableDiscovery property and the feature of this NamingContext to do some

[JBoss-user] [Persistence CMP/JBoss] - Re: could not instantiate CacheProvider: net.sf.hibernate.ca

2004-10-27 Thread beyarecords
I have changed the cache provider name to : net.sf.ehcache.hibernate.Provider but am now getting the following message: [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath:

[JBoss-user] [Installation Configuration] - Re: apache commons-logging stopped working under jboss 4.0

2004-10-27 Thread mboulatian
Hi, I figured out myself. Here is the explanation if someone gets the same problem. There is a new package under deploy directory called ebxmlrr-service.sar. Apparently, this package contains commons-logging.properties file that specifies NoOpLog as an implementation for the logger that stops

[JBoss-user] [Persistence CMP/JBoss] - Re: could not instantiate CacheProvider: net.sf.hibernate.ca

2004-10-27 Thread Furykid
... look inside the ehcache.jar file itself ! regards furykid View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852959#3852959 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852959

[JBoss-user] [Clustering/JBoss] - Clustered HASingleton How-To

2004-10-27 Thread monocongo
Here is an outline of the steps I took in order to use HASingletons in a clustered JBoss application. I hope it will be helpful to others who try to use HASingletons for the first time. The below is based on the approach explained by Ivelin Ivanov in the ONJava article found here:

[JBoss-user] [Beginners Corner] - J2EE Application Client : How do they work?

2004-10-27 Thread alchemista
I went through the JBoss Getting Started tutorial, and was wondering how J2EE Application Clients worked with JBoss. I see that in the Duke's Bank example, the Ant target that launches run-client simply makes a normal Java call to the application client main class. However, there's no launch

[JBoss-user] [Clustering/JBoss] - Re: Manually emtying the CMP beans cache

2004-10-27 Thread bobjones
Will flush() write the contents of the cache to the data store (as the name suggests), or simply invalidate the contents of the cache? If running in commit option A, perhaps flush() knows that it is in control of the DB and therefore knows that it is in sync with the DB and there would be no

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error after login on Dukes Bank

2004-10-27 Thread alchemista
I'm having the same problem. I added the security domain information, and then login works (it rejects if I've used a bad password, and lets me in if I use a correct password). However, once I login with the correct password, I get the same error that the poster mentioned. The stacktrace from

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss3.2.6-JNDI Over https not working

2004-10-27 Thread ss_jain
Here is the exception I am getting, please let me know how to fix this as soon as you can- Exception in thread main javax.naming.NamingException: Failed to retrieve Nami ng interface [Root exception is java.io.IOException] at

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Can not publish a MapMessage

2004-10-27 Thread gmand
Anyone? Ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852965#3852965 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852965 --- This SF.Net email is sponsored by:

[JBoss-user] [JCA/JBoss] - Re: TransactionManager - error in delist; already committed

2004-10-27 Thread natebowler
Could somebody please post what exactly was fixed here? I'm using 3.2.6 final and I'm getting the same error I've always been getting trying to integrate TopLink using JTS and JBoss 3.2.6. The problem is this: In the afterCompletion() event, TopLink closes the DB connections (returns them to

[JBoss-user] [JCA/JBoss] - Re: afterCompletion() database connection closing

2004-10-27 Thread natebowler
This is the exact same problem I am having, but this thread died without an explanation of the fix. What was the trick here? How did you modify the TopLink JTSSynchronizationListener to play nice with JBoss? Nate View the original post :

[JBoss-user] [JBoss Getting Started Documentation] - startDatabaseManager failing

2004-10-27 Thread TechWizard
I'm working my way through the getting started guide, and have created the DB, and data. I bring up the jmx-console and go to the Hypersonic service. But, when I invoke startDatabaseManager the console displays the following error: 12:18:59,979 ERROR [STDERR] java.lang.NoClassDefFoundError

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread raja05
One thing you can try (if you are using jboss-3.2.5 or above) is set the isolated property on EARDeployer to true so that your EAR has a scoped classloader. If you are using a earlier version, then you can always set scoped class loading for your ear using jboss-app.xml. Check the jboss docs

[JBoss-user] [Nukes User] - How To Restrict Users From Viewing Certain Items in Download

2004-10-27 Thread mchinn
I have a site with A LOT of groups, each wanting their own download view for their items. How can I either: -Restrict permissions to certain categories within the main downloads module screen. or -Add a downloads menu item for each group that will only list thier downloads? Matt View the

[JBoss-user] [Nukes User] - How to Get Rid of Modules Title on Left menu?

2004-10-27 Thread mchinn
Is there a way within the Gui or JXM console to get rid of the Modules title/label on the default menu? I want the default user menu items to slam up against the Home link... Matt View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852971#3852971 Reply to the

[JBoss-user] [JBoss Getting Started Documentation] - jBoss 4.0 charpter 5/ Web services deployment

2004-10-27 Thread wy_zhu
I followed the example in the book. However, I got the following exception when running deploy-ws command. What did go wrong in parsing Webservices.xml? 11:19:18,824 ERROR [ObjectModelBuilder] Failed to invoke method newChild java.lang.NoClassDefFoundError: javax/wsdl/WSDLException at

[JBoss-user] [Persistence CMP/JBoss] - Why an ejbLoad() call for each get* method?

2004-10-27 Thread ricardovm
I'm writing an entity bean called from a session bean. For teste only, I do: ctx.getUserTransaction().begin(); TestLocal t = home.findByPrimaryKey(id); String str_field = t.getStringField(); Integer int_field = t.getIntegerField(); t.setStringField(New Value);

[JBoss-user] [EJB/JBoss] - Why an ejbLoad() call for each get* method?

2004-10-27 Thread ricardovm
I'm writing an entity bean called from a session bean. For tests only, I do: ctx.getUserTransaction().begin(); TestLocal t = home.findByPrimaryKey(id); String str_field = t.getStringField(); Integer int_field = t.getIntegerField(); t.setStringField(New Value); t.setIntegerField(new

[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-27 Thread monocongo
monocongo wrote : Once I finally have everything worked out I will post a forum message or Wiki entry outlining all of the steps I needed to take to get this working. Hopefully it will help other developers who want to use Singletons in a clustered JBoss application avoid the headaches I've

[JBoss-user] [JCA/JBoss] - Re: Problems under heavy production load

2004-10-27 Thread tsnoke
Hi- What this issue address in 3.2.6? We are running JBoss 3.2.6 under heavy load with 1.5GB for the JVM and finding that the JVM heap keeps growing and we are having to reboot the servers daily to keep from having JBoss generate out-of-memory errors. We have set the acccept count to 10 and

[JBoss-user] [JBoss Getting Started Documentation] - Duke's Bank: EJB security-domain doesn't work, gives Authent

2004-10-27 Thread alchemista
I tried enabling security for the Duke's Bank application as mentioned in the Getting Started guide. When I added the security-domain element for the jboss-web.xml file for the web application, the login does work. However, the Getting Started guide also says to add a security-domain element

[JBoss-user] [Security JAAS/JBoss] - SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread begemotic
How can I configure JBoss 3.2.5, so I can access the SSL configured Tomcat container via Port 443, and have not to run JBoss as a system user with a userid below 1024? I must use the standard HTTPS port 443, because my external JBoss server is outside the company firewall and will run my

[JBoss-user] [Security JAAS/JBoss] - Re: SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread nehring
What operating system are you running? With Linux I use iptables to redirect port 443 to 8443 and run JBoss as a non-privileged user.This involves setting up iptables for destination NAT. r, Lance View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread begemotic
Hi, currently I'm using SuSe 8.2, but I will switch to Debian30. Because I'm new to managing the firewall with iptables (I use the SuSe yast tool), it would be nice to have an initial help to build the filter tables for NAT. Regards, Roland View the original post :

[JBoss-user] [Clustering/JBoss] - Re: Manually emtying the CMP beans cache

2004-10-27 Thread nickman
Your question is really more an issue of understanding EJB and not JBoss specifically. When using commit option A, the container assumes exclusive ownership of the database so it can cache the data very aggresively. However, at no time does the cache contain incomplete writes to the database

[JBoss-user] [Persistence CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?

2004-10-27 Thread dannyb23
You probably need to update to commit option A etc... in the default commit option, you application server does not assume he is the only one touching the database therefore with every get you perform your app server refreshes itself from the database in case anyone else updated the database.

[JBoss-user] [Persistence CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?

2004-10-27 Thread ricardovm
dannyb23 wrote : You probably need to update to commit option A etc... | in the default commit option, you application server does not assume he is the only one touching the database therefore with every get you perform your app server refreshes itself from the database in case anyone else

[JBoss-user] [Persistence CMP/JBoss] - Image Retrieved from DB, doeesnt get displayed correctly in

2004-10-27 Thread robinbajaj
Summary :: Why is my browser not showing my constructed image Retrieved image from DB , constructed using ImageIcon Details My Servlet code is retrieving image using resultset.getBlob() method and then constructs an ImageIcon from it using the following code. But when i display it using img

[JBoss-user] [Persistence CMP/JBoss] - CachedRowSet.getBlob() throws Datatype mismatch while retrie

2004-10-27 Thread robinbajaj
My Servlet code is using a CachedRowSet to get a blob datatype from mySQL4 database using getBlob() function,from the table uploads(uploadid int(10),filename varchar(20),BINARYFILE BLOB); using the following code. CachedRowSet rs; rs =new

[JBoss-user] [Persistence CMP/JBoss] - Re: Image Retrieved from DB, doeesnt get displayed correctly

2004-10-27 Thread craigdberry
Rather than embedding a reference to the image data, you need to return a properly formed response containing the correct http headers, then the image data. Here's an excerpted example from one of my servlets that does this: | ImageDTO imageValue = |

[JBoss-user] [JCA/JBoss] - Using UserTransaction from a Mbean doesn't commit against XA

2004-10-27 Thread alexOscar
I am not sure if I post this to JMX forum or here, hoping this is the right place. I've defined an Xa Oracle Datasource and I'm using UserTransaction to commit, but it is not happening (I am not getting any error or something) Here's the simplified code below (the actual code involves a

[JBoss-user] [Installation Configuration] - Re: NamingContext and HA discovery

2004-10-27 Thread kalyan120
I **guess** this feature is provided to faciliate the creation of NamingContext in clustering scenarios. Looks like HA JNDI is used as the JNDI provider in clusters and hence, even if you do not provide PROVIDER_URL value, it will try to obtain a NamingContext, if it could find any server in

[JBoss-user] [Security JAAS/JBoss] - Username passed to LoginModule from Web tier

2004-10-27 Thread MLipp
I'm using my own login module since 2.x. One special feature of this module is that the principal returned after successful authentication is not the user name. It is a special id associated with the user name (yes, this does make sense, actually it is common practice: think of Unix, your user

[JBoss-user] [Persistence CMP/JBoss] - EJB QL Parsing problem

2004-10-27 Thread derekbotfield
Can anyone point out what must be quite obvious: This is an error message from the console concerning the failure to parse a query. What's wrong with the query? Note that there is a CMP field called 'location'. with a getter and a setter. The problem seems to be syntactic..? ... Caused by:

[JBoss-user] [EJB/JBoss] - EJB Remote interfaces and Caching

2004-10-27 Thread sudhadoesnotexist
Hello, I am rather new to this, so please excude my ignorance. I am developing an application that needs frequent read access to data in a database and infrequent write access. Hence I am using entity beans to access this data. For performance reasons, I will be using session beans as a

[JBoss-user] [Installation Configuration] - cannot get server to run on boot...

2004-10-27 Thread zambizzi
I'm trying to get jboss to run on startup but I just can't figure out what's going wrong... I can start it manually and it works just fine, however, jboss constantly writes to the console so I'm locked into it until I shut it down, when it is started manually, so I need the startup script to

[JBoss-user] [Javassist user questions] - synchronized

2004-10-27 Thread Bill Burke
hey, can javassist support synchronized blocks? Is it too hard to implement? Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852999#3852999 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3852999

[JBoss-user] [Jobs@JBoss] - JBoss Community Manager

2004-10-27 Thread ivelin
Come join a rapidly growing enterprise software and services company and the home of Professional Open Source. JBoss, Inc. has immediate opening for Proactive Support Specialists to join our team in Atlanta, Georgia or Austin, Texas. This is a tremendous opportunity to be a part of a

[JBoss-user] [HTTPD, Servlets JSP] - WebService Work, Servlet deploys, but can't locate

2004-10-27 Thread cballew
I have a webservice I deployed and can access at http://localhost:8080/ws4ee/services/WebServiceSourceService?wsdl and it works like a champ. I deployed a Servlet and it deploys just fine, but I can't figure out how to access it. in my web.xml I have /servlet/ConfigUpdater I go to

  1   2   >