[JBoss-user] [Management, JMX/JBoss] - How can i invoke mbean operations

2005-07-12 Thread riyaz_ahmed_mansur
hi all, i am trying to invoke server.invoke() method for listing all the dependencies through serviceController. but it is throwing following exception. java.io.NotSerializableException: org.jboss.system.ServiceController$ServiceProxy at java.io.ObjectOutputStream.writeObject0(

[JBoss-user] [Management, JMX/JBoss] - Re: client jmx through httpinvoker

2005-07-12 Thread riyaz_ahmed_mansur
use this initialContext ic = new initialContext(env); RMIAdaptor server = (RMIAdaptor ic.lookup("jmx/invoker/RMIAdaptor"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884657#3884657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [JBossCache] - TreeCache configuration TCP or UDP

2005-07-12 Thread ruchiahuja10
ClusterConfig attribute can be configured to use either TCP or UDP as the transport protocol. I want to know when is multicasting done, in case of TCP or UDP? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884654#3884654 Reply to the post : http://www.jbos

[JBoss-user] [JBoss Portal] - Re: Overriding the portal layout for a single page

2005-07-12 Thread scientist
Yeah, it works! :) Thank you very much... maybe you should add this information to the documentation... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884650#3884650 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38846

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS 4.0.2 Messaging Problem

2005-07-12 Thread sampr_s
I have deployed the SampleQueue in Machine A and trying to look-up from a servlet deployed on Machine B I have made the following entry in jbossmq-destinations-service.xml mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=SampleQueue" /mbean

[JBoss-user] [Messaging, JMS & JBossMQ] - wfmopne with oracle in jboss

2005-07-12 Thread johnvip
Sorry I am not ultra clear on JBOSS but am trying to set up WFMopen (workflow engine) for some workflow tests with the Oracle server and I can't access the Data of the workflow that I have bean initial before.I think this is the jms problem.Because some exceptions(below) are thrown when the jboss

[JBoss-user] [Advanced Documentation] - Re: class loader problem: can't find class in APP-INF/lib

2005-07-12 Thread [EMAIL PROTECTED]
i put all .jar files in an explored directory with suffex .jar and add the explored directory name as java module in application.xml .it can work well! test on 4.0.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884647#3884647 Reply to the post : http://

[JBoss-user] [Installation & Configuration] - Re: JMX Web Page Login

2005-07-12 Thread gandalf_el_gris
I have the same problem with the same versions of the product. The errors are the sames. I have checked the 8080 port and no process are listening there. What can I do, please! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884646#3884646 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: securing mbean access...

2005-07-12 Thread genman
You can password protect the JNDI. I don't know offhand how to protect a single entry versus just the whole thing, check out the security forum. As for the console, you can PW protect it or remove it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884645#38

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Exiting on IOE java.net.SocketException: socket closed

2005-07-12 Thread geniusfox
But, When i catch too many "close exception",then Jboss would send a "Sockte:Open too many files" and stop work. How can i fill it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884644#3884644 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [JNDI/Naming/Network] - set IP for JDNI properties at start up

2005-07-12 Thread HoS
Hello My Client application is built to contact with a Java Server JBoss. I have a JNDI properties file that is attached with my .jar client file. The content of this file is as the following: --- java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.

[JBoss-user] [Clustering/JBoss] - Re: No fail-Safe nor Load-Balancing

2005-07-12 Thread pkles
P.S - Forgot to say that in the client app that calls the mentioned SLSB, we had cached the home and remote interfaces. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884641#3884641 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [JBoss Portal] - Re: jbp 2.0 has lots of pitfalls

2005-07-12 Thread yxyang
Chinese character is not a problem. At least according to my experience. But i have no such requirement on my website yet. If any problem with Chinese characters, there are a few reascons: (1)DB configuration. This could be a reason two years ago. Now, i don't think this is a problem. (2)Set

[JBoss-user] [Clustering/JBoss] - No fail-Safe nor Load-Balancing

2005-07-12 Thread pkles
Hi, We are having some troubles with the cluster configuration and we are running out of ideas, so please give as some advice!!. The story goes like this: First of all. we are using jboss 4.0.0, with the "default" server. After copying some services and libraries from the "all" configuration to

[JBoss-user] [Management, JMX/JBoss] - Re: connect JBoss MBean services to different Application s

2005-07-12 Thread genman
I suppose you could connect them the same way you connect to those other servers remotely. How do you get an MBeanServerConnection from WebLogic anyway? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884640#3884640 Reply to the post : http://www.jboss.org/

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Issue on AS4.0.3RC1?

2005-07-12 Thread genman
4.0.3 changed something so that your JBoss services can't get access to classes in your .war file. There's probably something about this. The best solution would be to repackage as an .ear, put the common classes in a .jar, and share them using a common classloader. View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Is it possible for JBOSS or JMX or(J2EE application) to

2005-07-12 Thread genman
You want JBoss to talk to another "standalone" application via JMX or some other protocol? Why not deploy the application on a mimimally configured JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884636#3884636 Reply to the post : http://www.jboss.or

[JBoss-user] [Management, JMX/JBoss] - Re: how to tell JBoss do not wait for startService() one mbe

2005-07-12 Thread genman
It might make sense to deploy this slow MBean at the very end of JBoss deployment, do a search on the Wiki for barrier services. http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884634#3884634 Reply to the

[JBoss-user] [Management, JMX/JBoss] - Re: dependencies

2005-07-12 Thread genman
You can probably get the data from the debug output when JBoss is starting up. I don't think there's a "tree" you can view to see the dependency relations. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884635#3884635 Reply to the post : http://www.jboss.or

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Re-Delivery of messages on server restart

2005-07-12 Thread genman
Don't persist the message? Refer to the spec on this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884633#3884633 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884633 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Exiting on IOE java.net.SocketException: socket closed

2005-07-12 Thread genman
It's DEBUG my friend, if it were an error you'd see ERROR in the logs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884632#3884632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884632 -

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

2005-07-12 Thread genman
anonymous wrote : 1) Is is possible to manipulate messages in a queue/topic? We want to be able to delete messages. There are third-party tools, like HermesJMS, you can use. If all you want to do is delete certain messages using a message selector, then writing a trivial MBean to do so would be

[JBoss-user] [JBossCache] - Re: How to Expire Objects in JBoss Cache with Time Interval

2005-07-12 Thread [EMAIL PROTECTED]
http://www.jboss.org/products/jbosscache/docs View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884628#3884628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884628 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Jboss client hang in QueueConnection.start() - IOExcepti

2005-07-12 Thread genman
Get a stack trace of your application and see what it's doing in JBoss land. Also, upgrading and testing wouldn't hurt and might not be too hard to try... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884629#3884629 Reply to the post : http://www.jboss.or

[JBoss-user] [JBossCache] - Online JBossCache documentation

2005-07-12 Thread [EMAIL PROTECTED]
http://www.jboss.org/products/jbosscache/docs View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884627#3884627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884627 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS 4.0.2 Messaging Problem

2005-07-12 Thread genman
javax.jms.InvalidDestinationException: This destination does not exist! QUEUE.SampleQueue Where or how are you deploying the queue "SampleQueue"? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884626#3884626 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Could not store message: 127 msg=90 hard NOT_STORED PERS

2005-07-12 Thread genman
3.2.1 is full of bugs, many critical, so upgrading to 3.2.7 at least is your best bet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884625#3884625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884625 -

[JBoss-user] [JBoss Portal] - Re: problem with installing jbossportal2.0 on jbossas4.0.3RC

2005-07-12 Thread [EMAIL PROTECTED]
Something is screwy here and it doesn't look like its portal-related, per se... Can you post your portal-ds? Also, you may try removing the .sar, leaving the portal-ds and restarting jboss. See what you get then. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [JBoss Portal] - Re: JBoss and Slide

2005-07-12 Thread [EMAIL PROTECTED]
You may want to ask the Slide list. With portal, this is possible. If you're putting together your own web-app, you may want to ask/search the slide list. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884624#3884624 Reply to the post : http://www.jboss.org/

[JBoss-user] [JBoss Portal] - Re: JBoss Portal in isolated web-app

2005-07-12 Thread [EMAIL PROTECTED]
When it comes to mail and security, we may be leveraging some jars outside of whats included in the .sar. Perhaps Julien can clarify the use of the security jars, as he wrote that piece. We should be at JBW Barcelona. Will you be there? View the original post : http://www.jboss.org/index.html?

[JBoss-user] [JBoss Portal] - Re: CMS RDBMS Configuration error

2005-07-12 Thread [EMAIL PROTECTED]
mzuzu, wipe clean your /data/portal directory and make certain it is not using this by following the steps in the slide config... which you already did. Restart jboss and you should see the tables populated for you. I'm assuming you also ran the correct sql from the downloads in the user guide.

[JBoss-user] [Clustering/JBoss] - Catalina SessionFacade throwing notSerializableException

2005-07-12 Thread jwisetech
I'm getting a bunch of java.io.notSerializableException messages from org.apache.catalina.connector.SessionFacade (...in a non-clustered config the exception is not thrown...) Could this be due to something being stuffed into an HttpSession object that is not serializable??? Anyone else seen

[JBoss-user] [JBoss Portal] - Re: Admin CMS Portlet, upload file error

2005-07-12 Thread [EMAIL PROTECTED]
Do you have the proper rights for it to write to your cms directory? The stack trace and FileUpload use is correct: List fileItems = upload.parseRequest(aReq); Try creating an html file and see if it saves. Then, try uploading a different file with a basic filename "foo.gif" and see if that wor

[JBoss-user] [HTTPD, Servlets & JSP] - newbie looking for info on writing clustered servlets

2005-07-12 Thread richmlpdx
Can anyone point me towards good books, articles, etc. on writing servlets that are going to be clustered. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884618#3884618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Clustering/JBoss] - XAConnectionFactory not bound error

2005-07-12 Thread regvito
Hello, I have jboss-4.0.3RC1 installed on 2 machines. I do a "run -c all" to both and get a cluster of nodes going. I deploy an MDB to the farm folder in one and it gets distributed to the other node fine. I fire up a client to send 10 JMS messages to the MDB queue on one of the machines. Some

[JBoss-user] [JBossCache] - Re: How to Expire Objects in JBoss Cache with Time Interval

2005-07-12 Thread ramesh373
"ramesh373" wrote : hi , Thanks for your reply. | So , I have the cache-config xml file where i can set the expiry time interval for that particular Object right !!! | | attribute name="EvictionPolicyConfig"> | config | attribute name="wakeUpIntervalSeconds" 5 /attri

[JBoss-user] [JBossCache] - Re: How to Expire Objects in JBoss Cache with Time Interval

2005-07-12 Thread ramesh373
hi , Thanks for your reply. So , I have the cache-config xml file where i can set the expiry time interval for that particular Object right !!! 5 5 1000 Is the attribute timeToIdleSeconds

[JBoss-user] [Installation & Configuration] - Re: jboss 3.2.7 on aix 5.3

2005-07-12 Thread kkeerrttee
Ive run it with nohup the debug message doesnt occur without nohup..not yet atleast...monitoring it though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884614#3884614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Installation & Configuration] - Re: jboss 3.2.7 on aix 5.3

2005-07-12 Thread kkeerrttee
btw this message doesn't appear in 4.0.1sp1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884612#3884612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884612 --- T

[JBoss-user] [Installation & Configuration] - jboss 3.2.7 on aix 5.3

2005-07-12 Thread kkeerrttee
get the following repetitive message the server.log file after starting up the default conf: (dint try other conf's) 2005-07-12 13:42:47,321 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, pass word=--hidden--} any clues? View the origin

[JBoss-user] [JCA/JBoss] - Re: Getting Trying to return an unknown connection2!

2005-07-12 Thread jbossli
We are using OJB 1.0.0 and JBoss 3.2.3 and got the simlar problem in first round. We got that error inside a transaction block. But after looking into the code we found it related to the errors caused by using the JDBC Connection outside the OJB persist code section. if(queryType.equals

[JBoss-user] [JBoss Portal] - Admin CMS Portlet, upload file error

2005-07-12 Thread javatwo
When I tried to upload a file using the Admin CMS Portlet, I got the following error message: ( I am using JBoss AS 4.0.3 RC1, JBoss Portal 2.0, MySql 4.1) javax.servlet.ServletException: An error occured during the action request : Servlet execution threw an exception org.jboss.portal.

[JBoss-user] [JBossCache] - Re: How to Expire Objects in JBoss Cache with Time Interval

2005-07-12 Thread [EMAIL PROTECTED]
Look at the eviction policy and how to configure it. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884607#3884607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884607 --

[JBoss-user] [JBossCache] - How to Expire Objects in JBoss Cache with Time Interval

2005-07-12 Thread ramesh373
Hi , I want to expire an Object stored in JBoss cache without calling explicitly the cache.remove method. Is there any way we can set the timeline in JBoss cache on a particular object. Say Im storing an object in the JBoss cache and I need it to be removed from the cache after 2 hours. I lo

[JBoss-user] [Installation & Configuration] - Re: Configuring PHP on Jboss ?????

2005-07-12 Thread rintin
Just a thought but why would you want to deploy PHP applications within a J2EE Application server? Don't think anyone will have deployed PHP on JBoss. Are you considering migrating to a J2EE architecture? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884605

[JBoss-user] [JBoss Portal] - Re: How to display page from another server in portlet windo

2005-07-12 Thread mholzner
it is displaying the url because you don't fire an action URL on the portlet, hence the doView is called, which in turn renders the link. You need to fire an action request on the portlet in order to call processAction() , then your browser will be redirected. try this in your code: |

[JBoss-user] [Installation & Configuration] - Running Tomcat & JBoss separately?

2005-07-12 Thread rintin
Hi all, Can anyone help me to configure a separate install of Tomcat to communicate with the JBoss installation? I'm working on a new application and would like to keep the servlet engine separate to the business logic tier. Is this a common configuration or is it recommended to use the integ

[JBoss-user] [Jobs@JBoss] - JBoss Support Engineer - Silicon Valley, CA

2005-07-12 Thread [EMAIL PROTECTED]
Come join one of the fastest growing enterprise software and services companies and the home of Professional Open Source?. This opportunity is a tremendous chance to become part of a fast-paced, leading edge company that is changing the way middleware is developed, sold, and supported. This po

[JBoss-user] [Clustering/JBoss] - newbie looking for loadbalancing advice

2005-07-12 Thread richmlpdx
I can't seem to find the best way to implement the following so I'm looking for some advice: Internet -> Loadbalancer -> JBoss cluster I'm trying to figure out the best way to load balance JBoss. I've looked at UltraMonkey 3 which looks good for HA and Failover, however it doesn't take care of

[JBoss-user] [EJB/JBoss] - Re: java.sql.SQLException: ORA-00904: invalid column name

2005-07-12 Thread schmidts
"schmidts" wrote : | SELECT t0_o."countyNbr", t0_o."districtNbr" FROM DISTRICT t0_o WHERE (t0_o."districtNbr" = 99); this should read: | SELECT t0_o."countyNbr", t0_o."districtNbr" FROM DISTRICT t0_o WHERE (t0_o."districtNbr" = '99'); (note the '99' as the excerpt of your log files sugge

[JBoss-user] [EJB/JBoss] - Re: java.sql.SQLException: ORA-00904: invalid column name

2005-07-12 Thread schmidts
Check whether your table DISTRICT really has mixed uppercase/lowercase column names (countyNbr, districtNbr). If so, those column names should be surrounded by quotation marks ("countyNbr", "districtNbr"). You might want to try something like this in SQLPLUS: DESC DISTRICT SELECT t0_o."countyNbr

[JBoss-user] [Installation & Configuration] - Apache Lenya/ Cocoon

2005-07-12 Thread rodrigousp
Hi, I am working on the implantation of the CMS Apache Lenya. My target platform is a HP-UX running JBoss. But, back to the JBoss world, I have seen a complaint that nowadays makes a lot of sense to me...To install the Apache Cocoon in JBoss one must change the lib directory of the Application Ser

[JBoss-user] [JBoss Portal] - How to display page from another server in portlet window.

2005-07-12 Thread rahulrkg2001
Hi, How can we forward to new page using a portlet. Is there anytihng called response.sendRedirect("url"); . If yes how to use it. I tried using this code... but it is not working. | package org.jboss.portal.core.portlet; | | import java.io.IOException; | import java.io.PrintWriter;

[JBoss-user] [JBossCache] - Re: Clustered Transactional Replicated TreeCache with single

2005-07-12 Thread [EMAIL PROTECTED]
1) The JBoss TransactionManager is good enough, as you're only accessing 1 DB. 2PN across a cluster is done by JBossCache, and its state is memory-only, so it can always be reloaded from the DB. 2) No, but of course if your driver supports XA that's fine too. View the original post : http://ww

[JBoss-user] [Javassist user questions] - Re: Error in javassist.compiler.TypeChecker

2005-07-12 Thread mpresley
Don't mind me. I figured out that the MtMethod I was doing setBody(..) on was from java.lang.Object, so putting in a method body that invoked super was a losing proposition. However, I would still recommend something a little more overt than ultimately a NullPointerException. View the original

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-07-12 Thread fechotecho
"darranl" wrote : "fechotecho" wrote : it can't help itself but to crash when I use Jsdk 1.4.2. | | When discussing problems in the forums it is useful to include the actual error that you are getting, you then have more chance of finding someone that can relate to the problem. Sorry, you

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-07-12 Thread fechotecho
You're rigght! Here's it, in all its glory... 16:26:04,662 ERROR [Engine] ContextConfig[] Exception processing JAR at resource path /WEB-INF/lib/ejbtags.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/ejbtags.jar at org.apache.catalina.startup.

[JBoss-user] [JBossWS] - java.lang.ClassCastException: org.jboss.axis.message.RPCPara

2005-07-12 Thread bsheward
Hi, I think I'm finally getting the hang of things, but I'm having some weird behaviour. I have been able to return an array of TestValueObject objects from a web services server and the client was able to work with the returned array just fine. The client code (a JUnit test) is: | pub

[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-07-12 Thread bsheward
Thomas, You wrote: "[EMAIL PROTECTED]" wrote : Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. | | Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | | | | Service

[JBoss-user] [JBoss Portal] - Re: POST in jsr168 portlets

2005-07-12 Thread mholzner
the issue is that the portlet can't "see" the posted data unless it is posted as part of a render or action request targeted to this particular portlet. In other words: the action="post-url-here" must be an action URL in the sense of a portlet action url , so add that token to the URL and it sh

[JBoss-user] [JBoss Portal] - POST in jsr168 portlets

2005-07-12 Thread szimano
Hello, I'm trying to make JSPWiki become a portlet. As JSPWiki is written whole in JSP i did simple portlet that is a part of JSPWiki.war and includes .jsp pages in it. To do that i did simple servlet filter, to change all hrefs from for example /Wiki.jsp?page=MyCoolPage to http://localhost:

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Look up returns null on Hibernate session factory

2005-07-12 Thread nxbalas
I am using Hibernate 2.1.7 and using the switch info from wiki (URL is above in the trail) I changed the hibernate 3.x integration in JBoss-4.0.2 to Hibernate 2.1.x. Rest everything left as is. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884576#3884576

[JBoss-user] [JBossCache] - Feature Request: Please version the library(ies)

2005-07-12 Thread gregorypierce
It would be beneficial for deployment and maint. if JBossCache (and indeed all JBoss libraries) adopted a versioning of the .jar files so that IT folks will be able to ensure proper versioning of applications in production environments. jboss-cache-1.2.3.jar is easier to check the deployed versi

[JBoss-user] [Beginners Corner] - Cannot get Entity Manager using MySQL

2005-07-12 Thread mikeeprice
I am trying to use JBoss 4.0.3RC1 with MySQL 4.0.24 with Connector/J 3.1.8a and have not been successful so far. I have not been able to find a good source of documentation on this so I have tried to piece it together from multiple sources. One must put a mysql-ds.xml file in \server\default\de

[JBoss-user] [Javassist user questions] - Error in javassist.compiler.TypeChecker

2005-07-12 Thread mpresley
Noticed that if a TypeChecker is ever created for java.lang.Object that it will throw a NullPointerException if TypeChecker.getSuperName(..) is ever called. Found this out 'cause I'm trying to create an implementation for hashCode() in an object that directly subclasses java.lang.Object. The bo

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-07-12 Thread darranl
"fechotecho" wrote : it can't help itself but to crash when I use Jsdk 1.4.2. When discussing problems in the forums it is useful to include the actual error that you are getting, you then have more chance of finding someone that can relate to the problem. View the original post : http://www.

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Look up returns null on Hibernate session factory

2005-07-12 Thread darranl
"nxbalas" wrote : U use Hibernate 3 and I use 2.1, what diff. does it make where I deploy as long as I package it right? I haven't had a chance to look at the instructions you followed yet but the version makes a big difference. Hibernate 2 has classes in the net.sf.hibernate package, Hibernate

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Could not store message: 127 msg=90 hard NOT_STORED PERS

2005-07-12 Thread vgamerma
We have the same issue. I believe it's due to use of HSQLDB. Currently investigating movign the backend data store for ConfigJBossMQDB to Oracle. One thing I can't find an answer to is either this is available in 3.2.1. I am afraid we will have to migrate to at least 3.2.4. http://www.jboss.org

[JBoss-user] [JBoss Portal] - Re: CMS RDBMS Configuration error

2005-07-12 Thread [EMAIL PROTECTED]
we are going to provide an implementation based on hibernate, it will be probably in 2.0.1 released this month. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884563#3884563 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [JBoss Portal] - Re: Changing the context path

2005-07-12 Thread martingi
Yes, but it didn't help. My first guess that it was just a problem to let JBP run with ROOT context, but it does not work with other context names for me as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884562#3884562 Reply to the post : http://www.j

[JBoss-user] [JBoss Portal] - Re: Changing the context path

2005-07-12 Thread [EMAIL PROTECTED]
did you restart the server after ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884560#3884560 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884560 --- This SF.Ne

[JBoss-user] [JBoss Portal] - Changing the context path

2005-07-12 Thread martingi
Hi, it is not possible for me to change the context path, as described in the user guide. I tried various portal path names, changing $PORTAL_HOME/build/local.properties (and including rebuild and jboss restart) - with the same effect that I can access JBP only at /portal. I tried modifying th

[JBoss-user] [JBossCache] - Clustered Transactional Replicated TreeCache with single Ora

2005-07-12 Thread binario
Hi all, We're trying to configure and test the TreeCache as a hibernate second level cache in a clustered JBoss environment. We're using hibernate version 2.1 with JBoss 3.2.5. We have a single oracle database and we are testing on a cluster of jboss nodes. We are aiming for a transactional re

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB access with client

2005-07-12 Thread outbox
Hi, I am a newbie and have a question regarding my logic/understanding correctness of JMS-MDB. Any help will be appreciated. I deployed example MDB (over JBossMQ Wiki) MessageAccessBean.java And created XML for QUEUE under server/default/deploy | | jboss.mq:service=DestinationManager

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to make sure a message is delivered no more than onc

2005-07-12 Thread radix_zero
As I experiment with this more I find that it is a time delay in removing the message from the queue. If i sleep the consumer thread for a small random interval it helps break things up. But I still get duplicates on each consumer. View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [EJB/JBoss] - java.sql.SQLException: ORA-00904: invalid column name

2005-07-12 Thread bbbrotg
I am trying to get a simple session facade to run using JBoss 4.0.2 and Oracle 8i. The code compiles fine the beans deploy fine but when I run the client I get the following error... 2005-07-12 09:03:51,046 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.District#findNameGivenNumber] Exec

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to make sure a message is delivered no more than onc

2005-07-12 Thread radix_zero
yes, it is a Queue. I am a little suprised at this problem, although I have never done a Queue before usually always dealing with topics. I need to distribute a process. a queue with multiple consumers seemed the perfect answer, because each task passed along could get grabbed by exactly one

[JBoss-user] [JBoss Portal] - Re: Sample Portlets and Themes

2005-07-12 Thread mholzner
yes, you try to create a second page named 'default' for the default portal. Give your page a different name and you should be ok cheese, does nobody read stack traces ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884548#3884548 Reply to the post :

[JBoss-user] [Installation & Configuration] - problem deploying 2 seperate apps to the JBoss

2005-07-12 Thread sirmyth
Hi, I deployed 2 seperate apps on the same instance of JBoss. I have few problems with the filters inside web.xml. Both apps inside their web.xml have a loginFilters ( that restrict pages that can be viewed if not logged in). Also, they both use a SecurityServlet filter. At first 2 login filters c

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deploying webapps outside jboss deploy/ dir

2005-07-12 Thread cageot
Reposting because my xml tags were swallowed, can't find a way to post with using [] instead, sorry... My software company is considering migrating from Tomcat 4 to JBoss 4, but I am stuck with a the following problem: For organization reasons, our webapps are located in a directory structure

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Could not store message: 127 msg=90 hard NOT_STORED PERS

2005-07-12 Thread krishnad2468
Hi, No one replied so far to my question? Can any one have any idea please? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884540#3884540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884540 --

[JBoss-user] [JBossWS] - Array wrapping a MUST when using rpc/lit ?

2005-07-12 Thread fpitschi
I want to use rpc/lit with Arrays. I have a method returning a String[]. If I don't use a wrapper for the String[], it looks like my String[] is returned rpc/ENCODED (and not rpc/LITERAL, according to wsdl) from the server: | | http://db.bioinfo.rzg.mpg.de";> |http://schemas.xmlsoap

[JBoss-user] [HTTPD, Servlets & JSP] - Deploying webapps outside jboss deploy/ dir

2005-07-12 Thread cageot
My software company is considering migrating from Tomcat 4 to JBoss 4, but I am stuck with a the following problem: For organization reasons, our webapps are located in a directory structure rooted at a SOFT_HOME directory. During the development process there can be many different SOFT_HOME d

[JBoss-user] [JNDI/Naming/Network] - Re: Getting caller principal into SSB connection?

2005-07-12 Thread darranl
It is possible to pass in the login principle and credentials when obtaining the InitialContext: - http://wiki.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory http://wiki.jboss.org/wiki/Wiki.jsp?page=JndiLoginInitialContextFactory The server will still need to be configured to peroform t

[JBoss-user] [JBoss Portal] - JBoss Portal in isolated web-app

2005-07-12 Thread jimmyed2001
Hi Guys, Do you know if the default JBoss Portal web-app is happy running as an isolated web app. e.g. are you relying on any JARs that are not in jboss/lib, jboss/server/default/lib and not in the jboss-portal.sar JARs? thanks James P.S. are you guys going to be at LinuxWorld or JBoss World

[JBoss-user] [JBoss Portal] - Re: Overriding the portal layout for a single page

2005-07-12 Thread mholzner
try to use: | | default | | MyPage |MyLayout | | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884529#3884529 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [EJB/JBoss] - Re: Optimizing number of ejbLoad() calls

2005-07-12 Thread johns2005
We're also having the same problem, I can't seem to find a way of controlling when ejbPassivate. Is it because there isn't one (in JBoss 3.2.7) ? Thanks John View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884528#3884528 Reply to the post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-07-12 Thread fechotecho
Hi y'all! I'm having some troubles trying this (or any) deployment on the Jboss 4. It seems that it can't help itself but to crash when I use Jsdk 1.4.2. Does anyone have the same problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884523#3884523 Reply t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS 4.0.2 Messaging Problem

2005-07-12 Thread sampr_s
I am using a default configuration of 4.0.2. Also I tried the following options 1) I have removed the jvm-il-service.xml 2) Currently using uil2-service.xml 3) Modifed jbossmq-service.xml to remove the interceptor. Still no luck. Please help!! View the original post : http://www.jboss.org

[JBoss-user] [JBoss Portal] - Overriding the portal layout for a single page

2005-07-12 Thread scientist
Hello, I've read in several posts here in the forum that it should be possible to specify the portal layout on page level and override the general portal layout. I could not find out how to configure this behaviour until now. The layout settings are defined in default-portal.xml: | |

Re: [JBoss-user] [Persistence & CMP/JBoss] - special primary key

2005-07-12 Thread Allan Kamau
I could provide you with part 1 of the solution. Your table seems to have a composite primary key comprising of the two foreign keys form countries and languages tables. If this is so, you may need to create a primary key class. Which is basically a java bean containing the two fields (country and

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Look up returns null on Hibernate session factory

2005-07-12 Thread nxbalas
U use Hibernate 3 and I use 2.1, what diff. does it make where I deploy as long as I package it right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884520#3884520 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884520

[JBoss-user] [JBossCache] - Re: remove leaves the caches consistent in clustered environ

2005-07-12 Thread xexecute
You're wrigt ... I did it and it works ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884519#3884519 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884519 --- T

[JBoss-user] [Persistence & CMP/JBoss] - Re: ORACLE BLOBS

2005-07-12 Thread pallotjk
Answer to this is as follows: 1. ensure that the 10g version of ojdbc14.jar is deployed to server/default/lib (if using default) 2. write method to obtain BLOB from table and write it to an OutputStream (in this example has been placed in a class called ProductBO - see 3 below) public vo

[JBoss-user] [Installation & Configuration] - Configuring PHP on Jboss ?????

2005-07-12 Thread jaiganesh
Hello, We are planing to deploy PHP applications in JBoss server. Is it possible to configure PHP in JBoss server ? Google search has no information and the Jboss forums has no answers as well. Has anyone deployed / configured ? Any help would be highly appricated. View the original post : ht

[JBoss-user] [Beginners Corner] - StrutsMenu & JBoss & Acegi. error with permissions based men

2005-07-12 Thread MmarcoM
Hello all, has anyone used Strutsmenu with Acegi for a permission-based menu in a webapplication deployed on JBoss? My situation is this: i have a webapplication which uses acegi security framework and struts menu, and i decided to use permissions for my menu. I followed what was suggested me

[JBoss-user] [Security & JAAS/JBoss] - Re: Can't DatabaseServerLoginModule and SSO to work with web

2005-07-12 Thread jbrosan
Well, after much pounding of my head during the last few days, I actually found a solution. As it turns out, I needed to remove the security role tag from the web.xml file and place an '*' into the role-name tag. It's currently my assumption, that once the user is authenticated, the code would

[JBoss-user] [JBoss Portal] - Re: examples

2005-07-12 Thread gontouf
Sorry for the big post on top of this one, but it's working now... it seems that i forgot this line in HelloWorld.java (my servlet) resp.setContentType("text/html"); But i still want to know how to include the servlet instead of the jsp page if it's possible... I'll try at my side... Thanks for

[JBoss-user] [JBossWS] - Re: using WSEE doclet

2005-07-12 Thread dhartford
"[EMAIL PROTECTED]" wrote : If you want to protect your investment, focus on standard web service annotations as defined in JSR-181. This already works in HEAD (jboss-5.0.0alpha) Thanks, I guess I'm concerned about tools support when jumping too far ahead. When will Jboss5 with annotations be

[JBoss-user] [JBoss Portal] - problem with installing jbossportal2.0 on jbossas4.0.3RC1

2005-07-12 Thread MistaMoasn
hi! regarding to http://docs.jboss.com/jbportal/v2.0Final/user-guide/en/html/installation.html i installed the jbossportal 2.0 on jbossas 4.0.3RC1 but i get the following exception when running jboss: 13:51:23,613 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4. | 0.3RC1/s

  1   2   >