[JBoss-user] [JBoss Portal] - Re: management portlet and *-object.xml

2006-02-26 Thread the-gtm
The changes are saved in the DB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926333#3926333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926333 --- This SF.Net e

[JBoss-user] [JBoss Portal] - Re: Single Sign On Using JBoss User Portlet

2006-02-24 Thread the-gtm
anonymous wrote : If a user signs onto one machine then to another, I want to invalidate the first session What do you mean by "machine" ? Are you running a cluster ? Single Sign On is about sharing authentification accross multiple web apps. View the original post : http://www.jboss.com/index

[JBoss-user] [Beginners Corner] - Re: remote deployment

2006-02-24 Thread the-gtm
You should NEVER touch files in the work dir, this is a JBoss. If you need to redeploy a war that's in an ear, you've got to redploy the whole ear. To disable hot deploy | | ... | | 5000 | False | ... | | View the original post : http://www.jboss.com/index.html?mod

[JBoss-user] [Beginners Corner] - Re: remote deployment

2006-02-21 Thread the-gtm
Edit jboss-service.xml under server/xxx/conf to disable hot deploy. shutown.bat/shutdown.sh You should read the docs ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925448#3925448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[JBoss-user] [Beginners Corner] - Re: remote deployment

2006-02-20 Thread the-gtm
You just have to drop the ear (or sar or whatever) and voila it is deployed. No authentification is required by JBoss to do that. If you want to secure this, you can either disable hot deployment or restrict write access to the deploy dir. View the original post : http://www.jboss.com/index.htm

[JBoss-user] [Beginners Corner] - Re: Error in deploying EJB

2006-02-18 Thread the-gtm
It means that your EJB packaging isn't valid, you should see another message explaining what's wrong on the console. This could come from ejb-jar.xml, wrong interface ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924746#3924746 Reply to the post : http:

[JBoss-user] [Beginners Corner] - Re: Separate IMG directory from WAR file

2006-02-15 Thread the-gtm
ROOT.war is exploded an you can add static files while the server is running. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923904#3923904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923904 ---

[JBoss-user] [JBoss Portal] - Re: Forums navigation : need a root

2006-02-15 Thread the-gtm
Ok, thank you for this fast reply ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923902#3923902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923902 --- This SF.n

[JBoss-user] [JBoss Portal] - Re: Error accesing Hibernate current session and UserModule

2006-02-15 Thread the-gtm
I'm not accessing UserModule but I got the same exception in a portlet when I tried to use my own SessionFactory, so my solution might apply to your case. Try to edit jboss-portlet.xml to add a "transaction" element : | | | MyPortlet | | Required |

[JBoss-user] [JBoss Portal] - Forums navigation : need a root

2006-02-15 Thread the-gtm
Hello, I use portal and forum version 2.2.1 RC2 and I have a small issue with forum navigation. Maybe someone here can help me out. What I need is to edit the root name of my forum. At the moment it is empty and therefore the user cannot click it, so the only way to get there is to use the "ju

[JBoss-user] [Beginners Corner] - Re: Weblogic to JBOSS

2006-02-15 Thread the-gtm
If you use the defaut config (I mean if you just install JBoss and don't edit the config), everthing printed in System.out will be shown in the console. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923807#3923807 Reply to the post : http://www.jboss.com/in

[JBoss-user] [Beginners Corner] - Re: remote deployment

2006-02-14 Thread the-gtm
This is the easy part with JBoss : you just have to drop the ear in the deploy dir ! Use FTP, NFS or whatever is avaible to copy a file on a remote host View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923804#3923804 Reply to the post : http://www.jboss.com/in

[JBoss-user] [Beginners Corner] - Re: Separate IMG directory from WAR file

2006-02-14 Thread the-gtm
You can use the ROOT webapp for this purpose, simply put your /img dir under /deploy/jbossweb-tomcat55.sar/ROOT.war Your images will be available under http://host/img/pic.jpg I let you guess the right path for hrefs ;) Good luck View the original post : http://www.jboss.com/index.html?module=b

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss in Production Environment

2006-02-14 Thread the-gtm
Out of the box JBoss allows to hot deploy (or hot redeploy) EARs (among other things). If you use packaged ear (single file) just drop the new release in the deploy dir. If you use an exploded ear, I 'think' you have to change what you need to change, and then touch the application.xml file. So

[JBoss-user] [Beginners Corner] - Re: UserTransaction

2006-02-12 Thread the-gtm
Most API classes are in jboss-j2ee.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923118#3923118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923118 --- This S

[JBoss-user] [Beginners Corner] - Re: problem with JBoss class loading

2006-02-11 Thread the-gtm
In almost all my projetcts I user the following packaging structure and it works fine : - All JARs, WARs, SARs... at EAR root level - Nothing classpath related in MANIFEST.MFs - All modules are in the application.xml eg : | | 3rd-party.jar | | View the origin

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate Locking Problem

2006-02-07 Thread the-gtm
This might come from wrong transaction demarcation between insert and select. Do you let JTA manage transactions or are you starting/committing/rollbacking them yourself with the Hibernate Transaction object ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=392

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: How to create a DB pool in JBoss??

2006-02-07 Thread the-gtm
If you have create a datasource, you have added a oracle-ds.xml (for instance) into your /deploy directory. This is the file you need to edit, adding a whatever View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922114#3922114 Reply to the post : http://www.jbo

[JBoss-user] [Installation, Configuration & Deployment] - Re: Can i run JBoss only using JRE with tools.jar or i need

2006-02-07 Thread the-gtm
I have no idea why you would do that but the best thing to do would be to try by yourself :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922113#3922113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922113 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why using app servers, for example Jboss: Spring/Hiberna

2006-01-25 Thread the-gtm
My personnal experience so I might be biased and/or wrong : If you need to expose services through RMI, JMS and SOAP, if you need transactions, security, connection pooling, POJO/Entity caching, clustering (and more) you can indeed do just fine using Tomcat + a few frameworks. But enventually yo

[JBoss-user] [JBoss Portal] - Define CMS default page at instance level

2006-01-05 Thread the-gtm
As far a I know (and as far as I understand the sources), the default page for the CMS portlet is configured at portlet level. I would like to be able to override it at instance level (using instance preferences for instance). The idea is to have multipe CMS instances displaying their own start p

[JBoss-user] [Beginners Corner] - Re: LOG

2006-01-05 Thread the-gtm
Add a param element | | to the server.log appender in /conf/log4j.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916013#3916013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916013 --

[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: Verification of Enterprise Beans failed

2005-12-29 Thread the-gtm
I *think* you also need to include the xerces.jar supplied with jdom in your app's classpath. Have you tried to run your app outside of Jboss, with only jdom.jar on the classpath ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914759#3914759 Reply to the p

[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: Verification of Enterprise Beans failed

2005-12-28 Thread the-gtm
Your jdom.jar library must be declared in your application.xml, not in in the manifest. | | jdom.jar | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914688#3914688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[JBoss-user] [Installation, Configuration & Deployment] - Re: Proper Packaging - Conflicting Information

2005-12-15 Thread the-gtm
Maybe this will help : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72287 This is what I do and it works fine : all server side classes are packaged in jars wich are in the ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912970#3912970 Reply

[JBoss-user] [Beginners Corner] - Re: Config-files outside of .EAR

2005-12-14 Thread the-gtm
An other approach would be to create 2 ears (one prod, one test), using Ant for instance. This is what I use to do, my build script would create each WARs, JARs EARs etc. with appropriate config files for the 2 environnements. View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [JBoss Portal] - Re: Login failure results in 404 error

2005-12-13 Thread the-gtm
The file were the wrong login page is configured is portal-server.war/WEB-INF/web.xml | | FORM | JBoss Portal | | /login.jsp | /errorpages/wronglogin.html | | | You can either create the page /errorpages/wronglogin.html or edit

[JBoss-user] [Beginners Corner] - Re: CanĀ“t start my application since i start working with CV

2005-12-07 Thread the-gtm
Somehow your application archive got corrupted. This happens if you store it in CVS without marking it as a binary file because CVS will try to do keywords substitution in your archive. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911263#3911263 Reply to t

[JBoss-user] [Performance Tuning] - Re: Slow first time execution. Need to preload?

2005-11-11 Thread the-gtm
8s is a long time, looks like the client is trying to connect to a machine that doesn't exist. After the timeout has expired it somehow manages to reach the server. Several server names in your config files ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906

[JBoss-user] [Installation, Configuration & Deployment] - Re: Java Web Start Client deployed on JBoss Packaging Questi

2005-11-10 Thread the-gtm
If I understand correctly, our WS (Web start) app will need to interact with the server (eg sending http requests), so your web app (server side) will need some classes to. Basically you should split your classes into 3 jars : my-client.jar contains the classes only needed by the client my-serve

[JBoss-user] [Beginners Corner] - Re: Where to put hibernate.properties and hbm.xml in the pa

2005-11-08 Thread the-gtm
I'm a newbie so please correct me if I'm wrong but I think you should package your app as an EAR containing your WAR + an HAR. The HAR should contain your mapping files + a hibernate-service.xml. This file is the descriptor to a mBean where you put configuration stuff for your session factory (d