D. Rose

Ranch Hand
+ Follow
since Apr 25, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by D. Rose

I can give you some more details but excatly what do you want to know about Rave?
Are you planning to join the company?
It is a small company base mainly in Mumbai. Has offices in UK and Italy.
I can get more info if you are spcific.
11 years ago
We are implementing web service client. We need to implement ws security with username token.
I was planning to use wss4j but our client said they want to use SAAJ.
I know SAAJ can be used for simple web service but how can it be used in implementing ws security? Any ideas?
12 years ago
Hi,

I have installed wss4j and experimenting with it.

It seems wss4j provides default Crypto provider called Merlin.

I tried testing it like



It worked fine when I copied keys subdirectory of wss4j installation in myclasspath.

It is not clear what keys and certificates this subdirectory holds and how they are used.
Is there any good reference for wss4j?
I do not want to test a secure web service client which send user name token.
[ September 19, 2005: Message edited by: D. Rose ]
12 years ago
Hi Kumaran,

Is it OK if I mail my wss4j questions ,if any to you? or do you visit here regularly?

Also could you please post some links about using wss4j?

Thanks in advance.
12 years ago
I have to implement oasis ws-security (using username token) for accessing web service.
Does anybody have experience with wss4j?
Can I use any other open source software?
Any guidance would be helpful.
12 years ago
I am trying to deploy my app on JBOSS.


My ear file contains a jar file which contains the class QAProWebSearch ( this is a public class).

My EJB tries to instantiate this class via another class B8FlexSearch using class.Forname.

I am getting exception like following. If I just change the name of the class to QAProWebSearchTest (or for that matter make it QAProwebsearch) then I do not get any error at all. Any other classes in the same package also work fine and get instantiated.

What could be the problem?
Is there any I can get a look at how JBOSS class loader is loading the classes?

Any help is appreciated.
=======================================

10:06:39,984 INFO [STDOUT] exception occured = java.lang.IllegalAccessException: com.blue8compass.flexsearch.secondarysearch.qaproweb.QAPro

WebSearch

10:06:39,984 INFO [STDOUT] exception occured message = com.blue8compass.flexsearch.secondarysearch.qaproweb.QAProWebSearch

10:06:39,984 ERROR [STDERR] java.lang.IllegalAccessException: com.blue8compass.flexsearch.secondarysearch.qaproweb.QAProWebSearch

10:06:39,984 ERROR [STDERR] at java.lang.Class.newInstance0(Native Method)

10:06:39,984 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:237)

10:06:39,984 ERROR [STDERR] at com.blue8compass.flexsearch.B8FlexibleSearch.secondarySearch(B8FlexibleSearch.java:506)

10:06:39,984 ERROR [STDERR] at com.blue8compass.flexsearch.B8FlexibleSearch.search(B8FlexibleSearch.java:456)

10:06:39,984 ERROR [STDERR] at com.blue8compass.flexsearch.B8AddrFlexibleSearchBean.search(B8AddrFlexibleSearchBean.java:67)

10:06:39,984 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)

10:06:39,984 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:

185)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java

:72)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)

10:06:39,984 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:700)

10:06:39,984 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)

10:06:39,984 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

10:06:39,984 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

10:06:39,984 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)

10:06:39,984 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java


.............
========================================
12 years ago
J2EE is also useful if you need EIS interfacing.
JDBC is just for DB access.
JCA is generic and can be used for any resource.
I have similar situation.
Can we use JMS to solve this?
I may post message when I need to read file. Listner could then read the file and send me back as message.
Has anybody actually tried out some solution for i/o problem?
Using JCA just for file read seems to be too much of work.
Hi,

How do you manange the situation if user starts 2 sessions simultaneously ( say from different machines)?
I am planning to use HTTPSession object for my state and no Statful session bean.
Any inputs are welcome.
Hi Paul,

Thanks for your answer. We thought of some ORM but would it allow fine tuning of queries? I have heard that queries generated by ORM are not optimal always.
Hi,

I have a design requirement to support multiple Databases in J2EE.
I am planning to use JDBC as I can not use any Database specific features like stored procedures.
Is there any other option? My application is data centric so will use of JDBC decrease performance?
Hi,

Can we have some forum on java ranch where we can ask architecture related real life questions?
13 years ago
It's really good book. Not just for exam but in real life as well.
Hi all,

You can find material useful for exam here

veritas ebook