[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.4 - can't get HttpServletRequest from R

2008-08-17 Thread bvogt
renderRequest.getControllerContext().getServerInvocation().getServerContext().getClientRequest()http://docs.jboss.com/jbportal/v2.6.4/javadoc/org/jboss/portlet/JBossRenderRequest.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170979#4170979

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: database issue

2008-08-17 Thread taocore
Sorry, it is my mistake.
Before quitting from isql, I did not commit, so the inserting recodes were not 
really written to the database.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170976#4170976

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - changing sar, ear, war deployment order

2008-08-17 Thread dorbd
Hello, 

I need to set my sar to run after my ear deployed. 

As i read regard this issue, there are several ways of doing that. 

I found one of those. What are the other ways?

The one i have found is editing the 
org.jboss.deployment.MainDeployer-xmbean.xml within the conf\xmdesc directory.

If i add sar priority to the list that sets the sar files to run at last 
(800:.SAR) can it be a trouble in the future ? is it the best way ? 

Dor

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170973#4170973

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: SAR WAR EAR Jboss 4.2.2 Question

2008-08-17 Thread dorbd
thanks ron, i will check the other thread.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170972#4170972

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170972
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Setting service sequence / dependency Jboss 4.2.2

2008-08-17 Thread dorbd
thanks ron i will check the other thread.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170971#4170971

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170971
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Using Connection Pool in EJB 3.0

2008-08-17 Thread mabimal
Thank you so much jaikiran ji,
I am delighted to get the reply. Now that you have answered most of the 
questions, i want to provide details on XML file, i m currently not using 
-ds.xml file of jboss rather using custom file named configurator.xml in which 
the root user,password,and IP where the database server is located.How can i 
make ejb read this file so that my connection to the database will be created?

Thank you in advance.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170969#4170969

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - ACCESS Replication trigger

2008-08-17 Thread javidjamae
Looking at JBoss 5 CR1, the documentation in the jboss-web_5_0.dtd file does 
not mention the ACCESS replication-trigger value, but the code seems to support 
it based on the org.jboss.metadata.web.jboss.ReplicationTrigger.java class 

http://anonsvn.jboss.org/repos/jbossas/projects/metadata/trunk/src/main/java/org/jboss/metadata/web/jboss/ReplicationTrigger.java

Which one is correct?

Thanks,
Javid

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170967#4170967

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: lazily initialize collections in their getters

2008-08-17 Thread skajotde
It rather question for hibernate forum... forum.hibernate.org

With getter are problems. Hibernate check getters if object changed. And when 
you get object from database and no explicity write, hibernate invoke flush and 
compare hydrated objects before transaction and after. Getters return other 
values and hibernate executes additional updates (even you only executes 
selects - true in standard way but i guess it is configurable with cache mode 
or something), this may ends with very poor performance with huge amount of 
updates.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170959#4170959

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-17 Thread skajotde
And in main question:

SvrMonService  mayby should be synchronized and is written stateless ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170958#4170958

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170958
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-17 Thread skajotde
this Exception:

Caused by: javax.management.InstanceNotFoundException: datang:service=SvrMon is 
not registered. 

is not by twice name SvrMon scheduler-service.xml ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170957#4170957

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170957
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user



[jboss-user] [Clustering/JBoss] - Re: non serialization object is put into application which i

2008-08-17 Thread skajotde
If you have one node of cluster then you don't need replication and can turn 
off its. (eg set cache mode to LOCAL).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170956#4170956

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: non serialization object is put into application which i

2008-08-17 Thread skajotde
You put org.hibernate.impl.ScrollableResultsImpl  in HttpSession (which is 
replicated on cluster).

ScrollableResultsImpl is not Serializable but replication requires this.

Try to put in session something like list not scroll from hibernate and all 
objects in this lists also must be serialized  - clustering world of java ;)

There are some solution which doesn't requires Serializable in replication but 
it is other topic.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170955#4170955

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - PostConstruct loadClass fails when porting to JBoss 5

2008-08-17 Thread jcstaff
I am in the process of trying out the new JBoss 5.0CR1 with Java 5 and am 
running into some classpath/loading issues. All applications built, deployed, 
and tested successfully with a legacy instance of JBoss 4.2.2.GA just prior to 
running these tests, so I am sure the overall structure of the EAR/EJB is 
correct. Something appears different with the class loadClass() in JBoss 5 
versus earlier versions.

My @PostConstruct has the following code

  | @PostConstruct
  | public void init() {
  | log.warn("init(), daoClass=" + daoClassName);
  | teller = new TellerImpl();
  | 
  | try {
  | //direct instantiation works
  | AccountDAO dao = new xxx.jpa.JPAAccountDAO();
  | log.warn("found:" + dao.getClass());
  | //reflection approach no longer works 
  | dao = (AccountDAO)Thread.currentThread()
  |.getContextClassLoader()
  |.loadClass(daoClassName)
  |.newInstance();
  | ((TellerImpl)teller).setAcctDAO(dao);
  | }
  | catch (Exception ex) {
  | log.fatal("error loading dao class:" + daoClassName, ex);
  | ...
  | }
  | }
  | 

As shown by the following debug output, the direct instantiation (added to help 
debug this) works, but the reflection no longer works when I deploy to JBoss 
5.0CR1 versus 4.x


  | WARN  [TellerEJB] init(), xxx.jpa.JPAAccountDAO
  | 
  | WARN  [TellerEJB] found:class xxx.jpa.JPAAccountDAO
  | FATAL [TellerEJB] error loading dao xxx.jpa.JPAAccountDAO
  | java.lang.ClassNotFoundException: xxx.jpa.JPAAccountDAO
  | 

thanks,
jim

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170954#4170954

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170954
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Using JBoss Remote API in the JBoss App server

2008-08-17 Thread [EMAIL PROTECTED]
See thread "JBoss Remoting Clients (not using InvokerLocator)" at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121402.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170952#4170952

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: UnknownHostException after successful connection to port

2008-08-17 Thread jbrow
For future browsers of this thread, the solution seems to be in this thread .  
Setting the remoting.bind_by_host property to false causes JBoss remoting to 
use the IP address.  More information here

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170951#4170951

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Setting service sequence / dependency Jboss 4.2.2

2008-08-17 Thread [EMAIL PROTECTED]
See thread "SAR WAR EAR Jboss 4.2.2 Question" at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140597.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170950#4170950

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: sending Streams using POJOS

2008-08-17 Thread [EMAIL PROTECTED]
Hi Greg,

"caultonpos" wrote : 
  | Will I be able to use Remoting 3 with Jboss 4.2 ?
  | 

Yes, we intend for Remoting 3 to be wire and API compatible with Remoting 2.  
Remoting 3 is really targeted to Application Server 5, though, so I don't know 
whether Remoting 3 will ever ship (and be tested with) some future version of 
AS 4.2.

"caultonpos" wrote : 
  | Do you have a rough date as to when it will be available? 
  | 

The scheduling is still rather fluid, but Remoting 3 will come out in stages, 
with a fully functional version out, I guess, by the end of the year.  But 
don't quote me!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170949#4170949

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: SAR WAR EAR Jboss 4.2.2 Question

2008-08-17 Thread [EMAIL PROTECTED]
Hi Dor,

I'm going to suggest that you post this question to the "Installation, 
Configuration & DEPLOYMENT" forum at 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=61, since it's not 
related to Remoting.

Also, you could take a look the Application Server Reference at 
http://docs.jboss.org/jbossas/guides/j2eeguide/r2/en/html/, particularly 
Section 1.4.2.4. "Specifying Service Dependencies".

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170948#4170948

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170948
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem

2008-08-17 Thread jorgemoralespou_2
Is there an easy way to save all in-memory state to Database. I need to update 
database state, since it may be corrupt, prior to updating my running instances 
with a patched version of JDBCCacheLoader with the fix you suggested?

Any help will be appreciated.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170947#4170947

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - JBoss Portal 2.6.4 - can't get HttpServletRequest from Rende

2008-08-17 Thread mcs02
Hello,

I am trying to get the HttpServletRequest from a RenderRequest 
(javax.portlet.RenderRequest). This is some existing code (running on Websphere 
Portal 5.1)  that orginally was doing this:

HttpServletRequest request = (HttpServletRequest) renderRequest;

However, on Jboss Portal, This throws a ClassCastException:
java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest

So I tried this approach after a few Google searches:

HttpServletRequest request = (HttpServletRequest) 
renderRequest.getAttribute("javax.servlet.request");

No ClassCastException but...The resulting request object is returned but is 
NULL.

Any ideas as to what might work?

Thanks in advance.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170946#4170946

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring a non-JBoss JMS Provider (Weblogic) in JBoss

2008-08-17 Thread skajotde
foresight

It looks that this attribute is wrong type. Where foresight is defined ?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170944#4170944

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170944
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Delivery Failure

2008-08-17 Thread Postmaster

-
The message you sent to euro-dome.ro/birou_toamnei was rejected because it 
would exceed the quota for the mailbox.

The subject of the message follows: 
Subject: =?windows-1251?B?3erx6uv+5+jiOiDs4PLl8O375SDx8uj16CDL5e3o7eAg?=


-

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Web Service URL pattern

2008-08-17 Thread skajotde
You can apply annotation @RolesAllowed, eg.:

holder for auth roles constant:

public class Roles {
  | private static final XXX = "033";
  | 
  | }

and in Webservice:

@WebMethod
  | @RolesAllowed(Roles.XXX)
  | public void youMethod(

This annotation is same as in EJB and use JAAS to configuration.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170943#4170943

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler

2008-08-17 Thread AJanz
ok signal in an actionhandler is not possible

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170942#4170942

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user