[JBoss-user] [JBoss Portal] - Personalization

2005-09-14 Thread rickmacc
This is more of a roadmap question but I don't see it in Jira so here goes: Are 
there any plans to allow individual users to select which portlets they'd like 
to see?

Thanks,
Rick

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894735


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBossSX Question

2003-09-24 Thread rickmacc
Hi,
 I've got a webapp deployed in a JBoss 3.2.2 server making RMI calls to some EJB's 
deployed in a remote JBoss 3.2.2 server. I've got method permissions on the remote 
EJB's and I'm trying to work through the most efficient way to maintain the correct 
security credentials as I make the EJB calls. Currently, I'm establishing a 
LoginContext at the top of every JSP and logging out at the bottom but I get the 
feeling that's not the most efficient way of doing it.

I tried using the LoginInitialContextFactory which worked fine on the first call but 
failed with principal=null on subsequent calls. I'm also a bit confused about the 
difference between the login-config.xml on the remote machine and the auth.conf file 
on the client machine as they relate to remote invocations.

Any advice would be greatly appreciated.

Thanks,
Rick


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] War Client calling EJB's in remote server

2003-09-11 Thread rickmacc
I've been having trouble calling EJB's in a remote JBoss server from a War client.

Here's my environment
Client War deployed in JBoss 2.4.4 using Tomcat

EJB ear deployed in remote JBoss 3.2

I can call the EJB's from a standalone client no problem, when I look at the output 
from the following code:

Object obj = jndiContext.lookup(MY_EJB_OBJECT);
System.out.println("** Got EJBObject object from JNDI :" + 
obj.getClass().toString());
Class[] classes = obj.getClass().getClasses();
System.out.println("** classes == null :" + (classes == null));
System.out.println("** classes count :" + classes.length);
if (classes != null) {
for (int i = 0; i < classes.length; i++) {
System.out.println("*** Class :" + 
classes[i].getName());
}
}
Class[] interfaces = obj.getClass().getInterfaces();
System.out.println("** interfaces == null :" + (interfaces == null));
System.out.println("** interfaces count :" + interfaces.length);
if (interfaces != null) {
for (int i = 0; i < interfaces.length; i++) {
System.out.println("*** Interface :" + 
interfaces[i].getName());
}
}
System.out.println("* Is obj assignable to MyEJB.Home ?"
+ MyEJB.Home.class.isAssignableFrom(obj.getClass()));

I get :

** Got EJBObject object from JNDI :class $Proxy0
** classes == null :false
** classes count :0
** interfaces == null :false
** interfaces count :2
*** Interface :org.eightfoldpath.MyEJB$Home
*** Interface :javax.ejb.Handle
* Is obj assignable to MyEJB.Home ?true

and the method invocation works as expected.

However, when I invoke the same code deployed as a war in the JBoss 2.4.4 instance, I 
get:

[INFO,STDOUT] ** Got EJBObject object from JNDI :class 
org.jnp.interfaces.MarshalledValuePair
[INFO,STDOUT] ** classes == null :false
[INFO,STDOUT] ** classes count :0
[INFO,STDOUT] ** interfaces == null :false
[INFO,STDOUT] ** interfaces count :1
[INFO,STDOUT] *** Interface :java.io.Serializable
[INFO,STDOUT] * Is obj assignable to MyEJB.Home ?false

and eventually, a ClassCastException in the PortableRemoteObject.narrow call.

I get the feeling that I'm getting tangled up in the RMI class loader but that's just 
a guess. Any help would be greatly appreciated.

Rick


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Re: IllegalStateException in 3.2.1

2003-06-10 Thread rickmacc
I had some container-configuration elements in the jboss.xml from the 2.4.4 distro 
that were getting in the way. For what it's worth, I discovered it by rolling back to 
3.0.8 and redeploying. 3.0.8 wrote out a log message saying that I should switch to 
the Proxy Factory when it deployed the ear which made it much easier to find the 
problem. 3.2.1 didn't print out any messages at deployment time.

Rick

>I'm getting an IllegalStateException when trying to access my >SLSB in JBoss 
>3.2.1. I'm trying to upgrade from JBoss 2.4.4 where the same ear >runs
>without issue. I'm calling this SLSB from a tag in a jsp. The >exception is
>being thrown in the StatelessSessionContainer and, from looking >at the source,
>it appears that the EJBProxyFactory is null but I can see in the >startup
>logs that the Proxy Factory is initialized for this bean when it >is deployed. 



---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] IllegalStateException in 3.2.1

2003-06-10 Thread rickmacc
I'm getting an IllegalStateException when trying to access my SLSB in JBoss 3.2.1. I'm 
trying to upgrade from JBoss 2.4.4 where the same ear runs without issue. I'm calling 
this SLSB from a tag in a jsp. The exception is being thrown in the 
StatelessSessionContainer and, from looking at the source, it appears that the 
EJBProxyFactory is null but I can see in the startup logs that the Proxy Factory is 
initialized for this bean when it is deployed. I've attached the stack trace below. 
Any help would be greatly appreciated.

Rick

java.lang.IllegalStateException
at 
org.jboss.ejb.StatelessSessionContainer.createHome(StatelessSessionContainer.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:592)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:310)
at org.jboss.ejb.Container.invoke(Container.java:694)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy54.create(Unknown Source)



---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss 3 Newbie War Question

2003-06-04 Thread rickmacc
I'm trying to upgrade from the JBoss 2.4.4/Tomcat bundle to the JBoss 3.2.1/Tomcat 
bundle. I'm deploying an ear with a war packaged inside. The problem I'm having is 
that the War doesn't get expanded and part of what my application needs to do is 
locate some files in the war and read them at runtime. This worked fine with 2.4.4 but 
doesn't work with 3.2.1. I use the servletContext.getRealPath method to find out the 
actual path to the file but it's returning null since the war isn't expanded. 

In looking through the EmbeddedCatalinaServiceSX class, it appears that it's looking 
for a url type of "njar" to determine whether or not the war should be unpacked. In 
the logs, my warURL shows up as a "file" type.

Any suggestions would be appreciated.

Rick


---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss 3.2.1 Log4JService - possible configuration bug

2003-06-03 Thread rickmacc
Hi,
   I'm in the process of upgrading from JBoss 2.4.4 to JBoss 3.2.1. I was
working on fixing up some of the configuration files and noticed in the
stock jboss-service.xml file that the property for the
org.apache.log4j.helpers.LogLog attribute is "QuiteMode" instead of
"QuietMode". I'm sure you guys have already noticed this but I didn't
find mention of it in the forums. I looked through the source for the
org.jboss.logging.Log4jService class but it references the
Log4jServiceMBean class which I don't have in my source distro.

Shouldn't this be "QuietMode" to match the property in the LogLog class?
Is my 3.2.1 distro out of date?

Rick



---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Startup Ordering problem with 4.0 Alpha

2002-12-10 Thread rickmacc
Sorry for the delayed response. We've not been able to get the dependency
timing to work out. The queues start up and try to connect to hypersonic
before hypersonic is ready. Even though there are dependencies set up in all
of the queue entries, they don't seem to respect whether or not the Hypersonic
service is actually listening, just that the service has been registered.

Our solution was to tweak the jboss-service url pattern to force it to start
Hypersonic first and then start to work through the other elements in the
deploy directory.

Rick

>> torsdagen den 5 december 2002 kl 14.00 skrev <[EMAIL PROTECTED]>:
>>
>>> Any Ideas?
>>
>> - try
>> code change:
>> Start the hsqldb thread with a high priority ? and after startup fall 
>> back to normal.
>> Config change:
>> Use Persistent == false and se if the problem disappears.

?Did You try ? Please do report back at anytime when given suggestions 
>...
>
>Separation of dependencies come at a 
>JBossMicroKernel:ContainerDeployment;ApplicationDeployment level ...

>so ? Your application maybe could use a timer, if You find starting 
>Your application at JbossHardBoot time, reflects on Your desired 
container behavior ...

>/peter_f



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Startup Ordering problem with 4.0 Alpha

2002-12-05 Thread rickmacc
Hi,
   I'm having trouble setting up JMS queues backed by Hypersonic with
JBoss 4.0 alpha. The trouble is that the Hypersonic service
appears to be up (at least as far as the dependency check is concerned)
so the rest of the services try to start. The problem occurs when the
Queue manager tries to create the queue entries, it gets connection
failures. You can see in the startup log that the Hypersonic service
finally starts listening but only after the queue creation failures
have occurred. I've got dependencies set up in my service xml files but
it doesn't help the problem. I can post log snippets or anything else
of interest if necessary.

Any Ideas?

Thanks,
Rick



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 4.0.0 alpha Transaction Problems

2002-09-05 Thread rickmacc

Hi,
   I'm using ZBoss 4.0.0 alpha to build some axis services. The problem I'm
having though is related to the EJB container. I have a stateless session bean
that throws an application exception (extending java.lang.Exception) and this
causes my transaction to roll back. I thought that only exceptions extending
RuntimeException would cause the transaction to roll back, no? Incidentally, I
don't see anything in the logs about the transaction being rolled back for
what it's worth.

Rick


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 2.4.6 Tomcat 4.0.3 webapp classpath problem

2002-07-31 Thread rickmacc

I downloaded the JBoss-2.4.6-Tomcat-4.0.3 distro and deployed my ear to
the jboss/deploy directory. Unfortunately, Tomcat can't seem to find
classes in my WEB-INF/classes directory. The same ear works fine with
JBoss-2.4.4-Tomcat 3.2.3. If I add the classes to the JBOSS_CLASSPATH,
everything works fine but I need to be able to package files up
(specifically resource bundles) in the war which is then packaged up in an
ear and have them available. I get ClassNotFound exceptions looking for
classes that I know are there because I can see them in the
jboss/temp/Default directory. Any ideas?

Thanks,
   Rick


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] InvalidClassException

2002-03-18 Thread rickmacc

I've got two Ear files, both of which contain some of the same classes. When I deploy 
both of them in the same JBoss instance, I get the following:
java.lang.reflect.UndeclaredThrowableException: [EmbeddedTomcatSX] 
java.io.InvalidClassException
Local class not compatible: stream classdesc
 serialVersionUID=-1389008520464287997 local class 
serialVersionUID=-2059137325326823107

If I rebuild both of the ears and deploy them again, the problem doesn't occur. I have 
them in separate ears so that I can deploy them on different schedules though so 
having to recompile both of them and redeploy defeats what I was trying to accomplish. 
I'm currently using JBoss 2.2.2 with Tomcat 3.2.2. Is this the intended behavior? If 
so, I'll just have to adjust the way I package and deploy the application.

Rick

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Startup Execution Order

2001-05-18 Thread rickmacc

We're having some trouble when we have to restart JBoss. The situation seems to be 
that the web server port starts listening for connections before the appserver is 
fully spun up. In our case, we're under a fair amount of load so while the server is 
coming up, it starts trying to take requests and compile the appropriate JSP's. The 
JSP compilation then fails because some of the necessary classes haven't been deployed 
and JBoss goes into a panic. Once this happens, JBoss doesn't seem able to recover.

Any suggestions would be appreciated,

Rick

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user