[jboss-user] [Management, JMX/JBoss] - Re: JConsole remote not working with JBoss4.2.2GA

2008-03-26 Thread axismundi
kpandey, what exactly did you change? We are having trouble to connect to the JBoss JVM running on Linux. I investigated http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6209663 but changes to /etc/hosts didn't help. I tried to set in run.conf JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address=LOCALIP"

[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component

2008-01-18 Thread axismundi
I get the same exception. I suppose it has a root cause, which is a cycle in page-redirection. But I wonder why the root-cause is not logged. As you can draw from the stacktrace, we are using Icefaces (1.6.1). Btw., the ApplicationUser-class is not the problem. 2008-01-18 09:51:02,984 ERROR [com

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: sar inside EAR not starting up

2008-01-10 Thread axismundi
But why does this not work for a WAR-archive? I can successfully query the war-deployment on JMX via JMX Agent View. However, when I add this to the depends-list like | jboss.management.local:J2EEApplication=app.ear,J2EEServer=Local,j2eeType=WebModule,name=web.war | then the SAR is never

[jboss-user] [Installation, Configuration & DEPLOYMENT] - LDAP-binding via ExternalContext: how to auto-reconnect ?

2008-01-10 Thread axismundi
We are binding an LDAP-server into the JNDI-context. It works properly until redeployment. After redeployment the connection is lost and no new connection is being established. How to specify to auto-reconnect after connection was lost?? | | external/ldap/acme |

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: sar inside EAR not starting up

2008-01-09 Thread axismundi
"jaikiran" wrote : See this http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanAnMBeanDependOnASessionBean Excellent! Ty. That's much better than starting a thread in the MBean to wait for the EJB-archive to finish deployment! View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: sar inside EAR not starting up

2008-01-09 Thread axismundi
I fixed it and the sar is deployed successfully. Now how can I change the order the archives are deployed without modifying the global URLDeploymentScanner defined in conf/jboss-server.xml ? The problem is that the SAR depends on the deployed EJB-archive. I suppose I need some declaration, but

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: sar inside EAR not starting up

2008-01-09 Thread axismundi
Now I get a CNF, even thou the class is existing the sar-archive: Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: pkg.ImportStartupService | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) | at org.jboss.mx.loading.RepositoryClassLoa

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: sar inside EAR not starting up

2008-01-09 Thread axismundi
ty, that's not mentioned in the JBoss-docs and neither in the HelloWorld-example. My MBean definition looks like this: so what exactly is required in the tag ? both "importStartupService" and "myservice.sar" (name of the folder of the exploded sar directly under the ear-folder) appear not to

[jboss-user] [Installation, Configuration & DEPLOYMENT] - sar inside EAR not starting up

2008-01-09 Thread axismundi
I have a simple service.sar residing redirectly in myapp.ear. The sar is not being deployed and I don't understand why. I cannot even find an exception in log-file. Any hint? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118238#4118238 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @RequestParameter: annotated method is called 22 times

2007-12-03 Thread axismundi
"[EMAIL PROTECTED]" wrote : 22 times over what period? Where is it defined it should be called once? over the period of one HTTP-request. I have no idea what might be the purpose of injecting a static value (like a request parameter) more than once into the component. Maybe there is something wr

[jboss-user] [JBoss Seam] - @RequestParameter: annotated method is called 22 times

2007-12-03 Thread axismundi
hello Seam architects I have a session-scoped SFSB with a method annotated like this: @RequestParameter("orderNumber") The method is being called properly. But why is it called 22 times? What is the purpose of calling it multiple times? According to its defined purpose, it should be called onc

[jboss-user] [JBoss Seam] - how setting initial value for @DataModelSelection

2007-11-30 Thread axismundi
| @DataModelSelection | Item item | | @Create | init() { |item = new Item(1); | } The item-variable appears to get overwritten by Seam with the first item of the @DataModel-annotated list. How to define a particular initial item? View the original post : http://www.jboss.co

[jboss-user] [EJB 3.0] - Re: trouble getting correct SFSB-instance in WAR-deployment

2007-11-12 Thread axismundi
ty for this insight View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103563#4103563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103563 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss Seam] - using SFSB on a web-deployment with Seam

2007-11-11 Thread axismundi
cross-post from http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103434 Has anybody successfully retrieved SFSB-instances on a web-deployment via JNDI? We fail with this (see above thread for details) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103

[jboss-user] [EJB 3.0] - Re: trouble getting correct SFSB-instance in WAR-deployment

2007-11-10 Thread axismundi
"ALRubinger" wrote : | Try again with doing one lookup, placing that stub in the HttpSession, and paste your code if you're still having problems? | | S, | ALR I followed your advise and implemented a filter to retrieve the SFSB-proxy once the HTTP-session is created: public void doFi

[jboss-user] [EJB 3.0] - Re: trouble getting correct SFSB-instance in WAR-deployment

2007-11-09 Thread axismundi
"waynebaylor" wrote : when you save the sfsb are you using the same attribute name for all clients? yes, I used the same string for saving the SFSB-instance in the HTTP-session. This is the job of the web-container to seperate web-sessions against each other and should not be involved in this pr

[jboss-user] [EJB 3.0] - Re: trouble getting correct SFSB-instance in WAR-deployment

2007-11-09 Thread axismundi
ty for your input. yes, now I look up the SFSB with every HTTP-request. Before I tried looking it up once and and then having save the instance in HTTP-session, just like you suggest. However, the result does not differ as in both cases the instance acquired on the web-tier/WAR-deployment is not

[jboss-user] [EJB 3.0] - trouble getting correct SFSB-instance in WAR-deployment

2007-11-09 Thread axismundi
We continue having trouble to acquire correct SFLB-instance to the web-deployment (in an EAR on JBoss 4.2.1). It appears the web-session is not identical with the client-session on the EJB-tier, hence JNDI delivers a new instance of that SFLB instead of the one already assigned to this user. be

[jboss-user] [JBoss Seam] - Re: Seam + Hibernate-Validator validation problem

2007-10-30 Thread axismundi
ty. yes, Icefaces also supports the requiredMessage attribute. Practically, this means that the error-message needs to be specified twice, once in the bean-annotation, and second in the JSF-component requiredMessage attribute. How to sell this as an effective and innovative software design? ...

[jboss-user] [JBoss Seam] - Seam + Hibernate-Validator validation problem

2007-10-30 Thread axismundi
Following the Seam-manual we are experiencing trouble to get validation running with Seam 2.0.CR2/Icefaces 1.6.1 JSF: | | | Bean-class: @NotNull | @Pattern(regex="^[a-zA-Z.-]+", message="Fehlender oder ungültiger Nachname") | @Override | public String getFirstName() { | re

[jboss-user] [JBoss Seam] - Re: @In gets not injected thou it exists

2007-10-24 Thread axismundi
"nickarls" wrote : Could there be a non-required outjection somewhere that could overwrite it before the call? The applicationUser is @Out-jected only once, that is in the authenticator class, which has EVENT-scope and should not be called. @Name("authenticator") | @Scope(ScopeType.EVENT) |

[jboss-user] [JBoss Seam] - Re: @In gets not injected thou it exists

2007-10-24 Thread axismundi
a few debug lines before the error occurs, Seam logs DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: applicationUser | DEBUG [org.jboss.seam.contexts.Contexts] found in session context: applicationUser Unfortunely the message doesn't refer to the component

[jboss-user] [JBoss Seam] - Re: @In gets not injected thou it exists

2007-10-24 Thread axismundi
thanks for your input. the component declaration surely doesn't need to be an interface. I added @Name("applicationUser") to my ApplicationUser class, but still it is not being injected. And anyway, the component "applicationUser" IS in fact existing in the Seam session-ctx (according to Seam de

[jboss-user] [JBoss Seam] - @In gets not injected thou it exists

2007-10-23 Thread axismundi
in one particular case the @In annotation is not working here. | @Stateful | @Name("shopTree") | @Scope(ScopeType.SESSION) | public class ShopTreeBean implements ShopTree { | @In | private ApplicationUser applicationUser; <-- ALWAYS NULL | I have verified that Application

[jboss-user] [JBoss Seam] - custom servlet independent from Seam

2007-10-22 Thread axismundi
We need a custom servlet that is completely independent from the application. The problem ist that the Seam-filter is configured to intervene in every request: | | Seam Filter | /* | What is best practise to make the Seam-filter ignoring a certain pattern? Vie

[jboss-user] [JNDI/Naming/Network] - automatically reconnecting to LDAP-server using MBean Extern

2007-10-22 Thread axismundi
We get an exception after not using the JNDI-connection for a few minutes: javax.naming.CommunicationException: connection closed [Root exception is java.io.IOException: connection closed]; | How can I instruct the MBean to reconnect automatically? | | external/ldap/swm |

[jboss-user] [EJB/JBoss] - Re: ejbTimeout called when Timer.cancel is called

2007-10-19 Thread axismundi
"icruz" wrote : Hello, | | ... and when I try to create the timer it fails with a "duplicate key" exception from MySQL driver | | Thanks in advance, | Isaac I wonder where in the JMX-console could you cancel the timer?? I was unable to find it. View the original post : http://www.j

[jboss-user] [EJB/JBoss] - how to cancel EJB3 Timer using web-console or twiddle

2007-10-19 Thread axismundi
Since I did not yet figure out how to change the Timer persistencePolicy, all (frequent) Timer's ever started on this AS-instance continue to run again and again. How is possible to cancel Timers using web-console or twiddle-tool? View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Re: making custom user-object available to Seam context

2007-10-16 Thread axismundi
ty, it was the SCOPE indeed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095891#4095891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095891 ___ jboss-user mailing list jb

[jboss-user] [JBoss Seam] - making custom user-object available to Seam context

2007-10-16 Thread axismundi
I am struggling a little bit with the logic of the Seam context. Currently we get "RequiredException: @In attribute requires non-null value" messages after the user has logged in. Requirement: on authentication, an ApplicationUser object should be made available to Seam-context for later usage.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - logging problem

2007-10-15 Thread axismundi
We simply want JBoss/logj to use WARNING as the threshold. This is the default config in conf/jboss-log4j.xml and we did not even touched it. (see below) Yet we get countless DEBUG-messages from all kinds of categories in the server.log ! How comes? We don't have any additional logging-config-fi

[jboss-user] [EJB/JBoss] - how to set TimerService persistencePolicy

2007-10-12 Thread axismundi
AS 4.2.1 appears to not use TimerServiceImpl anymore, but org.jboss.ejb3.timerservice.jboss.TimerServiceFacade instead, which doesn't offer any setters for the persistencePolicy. Chapter 10.8 from the Guide also doesn't mention the persistencePolicy. Is it possible to configure the MBean org.jb

[jboss-user] [EJB 3.0] - Re: Context

2007-10-11 Thread axismundi
YES, it is a classical classloader problem. I was putting the class mypgk.ImportManager not only in the ejb.jar, but also in mywar.war/WEB-INF/lib. After removing the class from WEB-INF/lib, no ClassCastException anymore. I am fully aware of the type-incompatibility when loaded from different c

[jboss-user] [EJB 3.0] - Re: Context

2007-10-11 Thread axismundi
"jaikiran" wrote : | Try this: | | context.lookup("java:comp/env/ejb/ImportManagerBean"); thanks for the hint. using the absolute JNDI-path "java:comp/env/ejb/ImportManager" I am getting the same proxy-instance like with "kportal/ImportManagerBean/local" This proxy is not type-compatibl

[jboss-user] [EJB 3.0] - Re: Context

2007-10-11 Thread axismundi
there was a typo in web.xml. It should look like this: ejb/ImportManagerBean Session mypkg.ImportManager mypkg.ImportManager ImportManager View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093914#4093914 Reply to the post : http://www.jboss.com/inde

[jboss-user] [EJB 3.0] - Re: Context

2007-10-11 Thread axismundi
I am still having trouble to resolve the SLSB on the web-client (running on the same VM inside the same EAR on AS 4.2.1): jboss-web.xml ejb/ImportManagerBean ImportManager web.xml ejb/ImportManagerBean

[jboss-user] [EJB 3.0] - Re: Can persistence.xml be deployed outside the jar?

2007-10-10 Thread axismundi
The location of persistence.xml is specified by the JPA standard, so - AFAIK - it is impossible to specify another location. However, you are always free to deploy your archives in exploded form. Then you can easily edit the persistence.xml and redeploy the corresponding jar. View the origina

[jboss-user] [EJB 3.0] - Context "java:comp/env/ejb" empty

2007-10-10 Thread axismundi
We have an EAR deployed on AS 4.2.1 In the webapp (war-archive), we need to access an SLSB (EJB3). MyBeanLocal bean = (MyBeanLocal) context.lookup("java:comp/env/ejb"); But this context is not existing! How comes? We can access the Bean-proxy using JNDI-path "myapp/MyBean/local", but this obje

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configure Jboss to hot deploy when class files are chang

2007-09-27 Thread axismundi
I understand that due to JBoss' sophisticated class-loading system it's not possible to hot-deploy single classes like it is possible e. g. in tomcat. However, even when I touch the ejb-jar.xml, the EJB-archive is not reployed. touch jboss-4.2.1.GA/server/default/deploy/kportal.ear/kportal.jar/

[jboss-user] [JBoss Seam] - Re: Security Auto-Login Question

2007-09-27 Thread axismundi
I have no idea how you happen to have the NT-Login-name available in the session. In our configuration the NT-Login is passed as an attribute of the HTTP-request (and availble via request.getRemoteUser()). I am using Seam 2 and I have added the authentication logic in my annotaded authenticatio

[jboss-user] [JBoss Seam] - Re: Security Auto-Login Question

2007-09-26 Thread axismundi
We need also NTLM authentication and the configuration is quite apparent. However to me is not clear how to obtain the HTTP-request-headers from my authenticator.autenthicate() EJB3 bean-method in order to call request.getRemoteUser(). Seam provides Annotation for @RequestParameter, but I don't

[jboss-user] [JBossWS] - 2.0 whitepaper - DIGEST authentication

2007-09-18 Thread axismundi
I could not find any architecture whitepaper explaining how JBossWS 2.0 is built. Anybody has a link? I am trying to figure out whether HTTP 1.1 DIGEST authentication is supported by JBossWS 2.0 on the client side. I could not find any hint in the user manual nor in the Wiki. The FAQ has one li

[jboss-user] [JBoss Seam] - Re: generate-entities in Seam 2.0 doesent work ...

2007-08-29 Thread axismundi
I tried now to run generate-entities using Seam 1.2.1. Surprisingly here is the same result. connection pool is initialized and immediately destroyed without having any code generated. I see from Ant-debug-output that the JDBC-driver is delivering some result-set, but either it doesnt find anythi

[jboss-user] [JBoss Seam] - Re: generate-entities in Seam 2.0 doesent work ...

2007-08-29 Thread axismundi
I am experiencing the same problem with 2.0.0.beta1. seam generate-entities runs thru without any exception but is not generating anything. The driver is loaded and hbm2java is being configured, but the actual code generation is not being triggered. Anybody has found out the problem? View th

[jboss-user] [JBoss Seam] - 'generate-entities' not generating anything

2007-08-28 Thread axismundi
'seam generate-entities' is not generating anything using Seam 2.0.0.BETA1. The task is running thru without any exceptions, the JDBC driver is recognized, build.properties is read properly. But it seems the database (MSSQL) is not even being connected. Anybody having an idea? View the origina

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Building tomcat6.sar

2007-08-23 Thread axismundi
Where can I find instructions how to build the sar that contains a tomcat6 distrubution? thanks. Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077264#4077264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407726