[JBoss-user] [HTTPD, Servlets & JSP] - Session persistence

2004-06-24 Thread dunks
I'm using jboss 3.2.4. i log into my webapp...then shutdown the server...start the server back up...and from the same browser window I was just using hit the webapp again...i'm still logged in...it's almost like the session has been persisted. It this a new feature of 3.2.4? If so can you turn i

[JBoss-user] [EJB 3.0] - Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA8

2006-07-05 Thread dunks
I just updated my tests to use embedded ejb alpha 8 from alpha 6. My first set of ejb tests run as normal. When I try to shutdown the the embedded ejb server i get the following errror | ... | 20:19:00,754 INFO [BaseTest] Shutting down embedded JBoss | Jul 5, 2006 8:19:00 PM Reposito

[JBoss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA

2006-07-06 Thread dunks
Upon furthur investigation it seems that this is not a problem unique to my test code. The mdb-standalone example in the emdedded-tutorials also fails to shutdown properly throwing the warning | [java] WARN 06-07 08:09:59,992 (ServiceMBeanSupport.java:stop:210) -Error in stop jboss.mq:ser

[JBoss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA

2006-07-06 Thread dunks
I reverted back to ALPHA7 and things are working again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955845#3955845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955845 Using Tomcat but need to do more? Need to supp

[JBoss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA

2006-07-06 Thread dunks
Spoke too soon... Of course ALPHA7 still has the @javax.annotation.EJB so that causes problems where i have updated to the @javax.ejb.EJB annotation. Is anyone using ALPHA8 with any success? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955846#3955846 Repl

[JBoss-user] [JBoss Portal] - Setting the response Content-type

2005-12-22 Thread dunks
So in my portlet.xml I've set the conent type for a particular portlet with the following config... | | A portlet for creating and editing purchase orders | Purchase Order Portlet | PurchaseOrderPortlet | org.apache.myfaces.portlet.MyF

[JBoss-user] [JBoss Portal] - Re: Setting the response Content-type

2005-12-22 Thread dunks
Actually I did try that initially but it yelled at me when I started the portal saying something about too many elements...so I figured that wasn't allowed... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914082#3914082 Reply to the post : http://www.jboss.

[JBoss-user] [JBoss Portal] - Re: Setting the response Content-type

2006-01-03 Thread dunks
Could someone please explain how the ContentTypeInterceptor, ModesInterceptor and the supports section of the portlet.xml file work to set the content type of the response. Looking at the ContentTypeInterceptor it appears that the response is always going to be text/html no matter what is put in

[JBoss-user] [JBoss Portal] - Re: Setting the response Content-type

2006-01-03 Thread dunks
mholzner wrote : | the content type interceptor determines the content type that the browser requested / can handle | I guess I'm just not seeing how the ContentTypeInterceptor actually does what you said. | ... | try | { | // Set UTF-8 for parameter decoding |

[JBoss-user] [JBoss Portal] - JBoss Portal and MyFacesGenericPortlet

2005-10-03 Thread dunks
I posted this question to the myfaces users mailing list but I'll post it here as well in the hope that someone from the Jboss community could shed some light on the issue... I'm using JBoss Portal 2.0.1 RC1 with the latest nightly build of MyFaces. If I use the default portal and create a new

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

2005-10-04 Thread dunks
As a work around I simpliy extended MyFacesGenericPortlet and overrode the processAction method like this... /** | * Called by the portlet container to allow the portlet to process an action request. | */ | public void processAction(ActionRequest request, ActionResponse res

[JBoss-user] [JBoss Portal] - JBP 2.2 Alpha - Jackrabbit configuration exception on startu

2005-10-04 Thread dunks
JBoss Portal 2.2 Alpha from cvs JBoss AS 4.0.3RC2 Fedora Core 4 MySQL 4.0 I'm getting the following error when starting JBP 2.2 org.apache.jackrabbit.core.config.ConfigurationException: Failed to load the created configuration for workspace default. | at org.apache.jackrabbit.core.config

[JBoss-user] [JBoss Portal] - Deploy a new portal instance on JBP2.2 alpha

2005-10-04 Thread dunks
JBoss Portal 2.2 Alpha from cvs JBoss AS 4.0.3RC2 Fedora Core 4 MySQL 4.0 ...lots of questions tonight. Ealier i was using JBP 2.0 and deploying a new portal instance (configured via *-portal.xml) no problem. I moved over to JBP 2.2 alpha and my app will deploy but I can't seem to naviagte to m

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 Alpha - Jackrabbit configuration exception on st

2005-10-04 Thread dunks
I want back and deleted the data/portal folder and restarted to reproduce this error for you. I'll email you my startup log and maybe it will help. But the path structure that gets created for me looks like this... | | /data | /portal | /cms |/conf | /default-content |

[JBoss-user] [JBoss Portal] - Re: Deploy a new portal instance on JBP2.2 alpha

2005-10-04 Thread dunks
So I understand what you're saying and I changed my instance-ref's for my portlet in my portlet-instances.xml file but I still can't get to my portal instance. I'm trying every url i can think of /portal/myPortal, /portal/local/myPortal, etc. I think this has something to do with what Julien po

[JBoss-user] [Installation, Configuration & Deployment] - Problem changing tomcat port via ServiceBindingManager

2005-10-10 Thread dunks
I am trying to run three instances of JBoss 4.0.3 on the same machine. I followed the directions here for running multiple instances. However, all the instances are trying to run tomcat on port 8080. All other ports are being reconfigured according to my sample-bindings.xml file except tomcat. I

[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem changing tomcat port via ServiceBindingManager

2005-10-11 Thread dunks
Must be a configuration problem on my end. I'll give it another try View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900428#3900428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900428 -

[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem changing tomcat port via ServiceBindingManager

2005-10-11 Thread dunks
anonymous wrote : | I have just installed JBoss 4.0.3. | | I made two copies of the all configuration and called them node1 and node2. | | In the file {jboss.home}/server/node?/conf/jboss-service.xml for both nodes I have uncommented the service binding MBean. | I don't see a ser

[JBoss-user] [Installation, Configuration & Deployment] - Does JBoss 4.0.3 look at the manifest?

2005-10-18 Thread dunks
JBoss 4.0.3 jdk 1.5.0_04 Fedora Core 4 Sorry to raise yet another classloader question but this one has me stumped. I have an ear that has multiple wars. I have a lib folder in my ear that contains all the jars common to the application. I list all the jars in the ${myear}/lib in the manifest f

[JBoss-user] [Installation, Configuration & Deployment] - Re: Does JBoss 4.0.3 look at the manifest?

2005-10-19 Thread dunks
Thanks in the meantime i'm just loading the jars via the application.xml. One thing I should mention maybe is that the jars i'm loading are jars that are for working with myfaces. I removed the jsf-libs that come with jboss because i use the latest nightly build of myfaces and i didn't want an o

[JBoss-user] [Installation, Configuration & Deployment] - Re: Does JBoss 4.0.3 look at the manifest?

2005-10-21 Thread dunks
here is my directory structure i don't put any jars in the WEB-INF/lib all the jars need by my web apps are held in the ear's lib directory... | myear | /lib | *common*.jar |web1.war |web2.war |ejb.ejb3 |aop.aop | /META-IN

[JBoss-user] [Installation, Configuration & Deployment] - Re: Does JBoss 4.0.3 look at the manifest?

2005-10-21 Thread dunks
Already removed the jbossweb-tomcat55.sar/jsf-libs because that was definitely casuing a problem since i was using a more up to date version of them than what came with JBoss. I suppose i could remove the libraries from my deployment or replace the libraries in jbossweb-tomcat55.sar/jsf-libs wit

[JBoss-user] [JBoss Portal] - JBP 2.2 on 4.0.3 SP1

2005-10-26 Thread dunks
I'm writing this post with the full realization that JBP 2.2 is still in alpha. I've been checking the code out of cvs evey couple nights to see if I can get it to run on JBoss 4.0.3. I did get it going a couple weeks ago but then it's been broken because of the UserTransaction issues etc. I tho

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-02 Thread dunks
I'm on Fedora Core 4, fresh JBoss 4.0.3SP1 binary, jdk 1.5.0_04... Followed these directions exactly... anonymous wrote : | 1. Installed JBAS 4.0.3SP1 (binary distro) | 2. Copied server/default to server/portal to be able to wipe it out easily and not clattering the default directory | 3.

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-03 Thread dunks
Whoa I am using JBoss As from the installer too. I'll try the binary zip and let you know. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905148#3905148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905148 -

[JBoss-user] [JBoss Portal] - Re: JBP 2.2 on 4.0.3 SP1

2005-11-03 Thread dunks
Yep works for me now too. So what's wrong with the 4.0.3SP1 installer? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905253#3905253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905253 --

[JBoss-user] [JBoss Portal] - Interceptor stack question

2006-01-04 Thread dunks
If I had a portlet that I sometimes wanted to have write a small amount of content back to the client directly but i didn't want that content to be decorated in a portal window or for that matter even decoracted with the rest of the portal page (ie no html tags, no navigation portlet, the only

[JBoss-user] [JBoss Portal] - Default to maximized state

2006-01-20 Thread dunks
Quick question...is there some property that can be set in the *-object.xml for a window to start in the maximized state by default? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918684#3918684 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: Newbie Question

2006-02-01 Thread dunks
JBoss 4.0.3.sp1 jdk 1.5 ejb3 rc4 portal 2.2.1.rc2 sqlserver 2000 I was getting the no transaction manager problem that others described earlier on this thread. I changed the configuration of the transient tree cache mbean in the portal's jboss-service.xml to the following... | | |

[JBoss-user] [EJB 3.0] - ejb3 embeddable alpha 4 microcontainer deployment

2006-02-01 Thread dunks
I was wondering has anyone gotten the the micorcontainer deployment example (boss-EJB-3.0_Embeddable_ALPHA_4/docs/embedded-tutorial/advanced-deployment/microcontainer-deployment) to work? My tests started failing after i moved from alph3 to alph4 so i decided to check the example and it's failin

[JBoss-user] [EJB 3.0] - Re: ejb3 embeddable alpha 4 microcontainer deployment

2006-02-01 Thread dunks
I managed to fix this issue by extending org.jboss.ejb3.embedded.EJB3StandaloneDeployer and adding the following constructor... | public class MyEJB3StandaloneDeployer extends org.jboss.ejb3.embedded.EJB3StandaloneDeployer | { | public MyEJB3StandaloneDeployer() | { |

[JBoss-user] [EJB 3.0] - Re: ejb3 embeddable alpha 4 microcontainer deployment

2006-02-01 Thread dunks
Nevermind the jndi issue was my own fault View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921039#3921039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921039 --- Thi

[JBoss-user] [EJB 3.0] - Re: ejb3 embeddable alpha 4 microcontainer deployment

2006-02-01 Thread dunks
I'm now facing another issue when deploying in the micorcontainer. My ejbs are not being mapped to 'ejbName/local' as I would expect but rather just 'ejbName' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921036#3921036 Reply to the post : http://www.jboss

[JBoss-user] [EJB 3.0] - @EJB annotation in an entity bean

2006-05-03 Thread dunks
Jboss-4.0.4-CR2 EJB3-RC6 Should I be able to inject a session bean into an entity bean using the @EJB annotation? It doesn't seem to be working (I'm getting an NPE when I try to use the session bean within a method of the entity bean). I am able to do a straight jndi lookup from within the enti

[JBoss-user] [EJB 3.0] - Re: Injecting EJB into JSF Managed Bean

2006-05-04 Thread dunks
I'm pretty certain that (for now) you can only use the @EJB annotation from within another EJB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941240#3941240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941240

[JBoss-user] [EJB 3.0] - Re: Injecting EJB into JSF Managed Bean

2006-05-04 Thread dunks
Yes it should be working between EJBs in a jar. At least I've been able to inject one session bean into another session bean using the @EJB annotation. Which leads me back to my post here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82224 asking why this does not seem to work when t

[JBoss-user] [EJB 3.0] - Generic MappedSuperclass

2006-02-10 Thread dunks
Is there anyway to use a generic class as a mappedsuperclass? I have an abstract class Shipment which looks something like this... | @MappedSuperclass | | public abstract class Shipment extends Entity | | { | | | | protected List shippedItems; | | @OneToMany(

[JBoss-user] [EJB 3.0] - Re: Generic MappedSuperclass

2006-02-10 Thread dunks
I swear posting a question to the forum is the fastest way to guarantee you'll answer it yourself in five minutes... I was able to perform that mapping if i first declared the getters and setters for the ShippedItems attribute in a generic interface which my generic abstract class implemented a

[JBoss-user] [EJB 3.0] - @AttributeOverrides question

2006-02-10 Thread dunks
I must be missing something because I can't get @AttributeOverrides to actually override the mapping laid down in the superclass... Here is my MappedSuperclass... | @MappedSuperclass | public abstract class ShipmentItem extends Entity | { | //relationship | protected Shipment

[JBoss-user] [EJB 3.0] - Re: @AttributeOverrides question

2006-02-10 Thread dunks
Nevermind I had one of those entities pointing at the wrong table. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922987#3922987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922987 --