Kiran Bandi

Greenhorn
+ Follow
since Mar 04, 2003
Merit badge: grant badges
For More
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 Kiran Bandi

This site looks awesome. Great job!
I will post some more feedback after playing with it.
This sure helps those who are looking for jobs .




19 years ago
Can you suggest some books and material to prepare for webservices certification? where can I find MZ notes which I see lot of people talking about?

Thanks
Actually Jboss 3.6 and above ships with apache axis.You dont have to download this seperately and deploy. You have to use "all" config not "default" to utilise this feature in jboss.

If you did successful webservices application using weblogic, and want to migrate to jboss, add appropriate jboss descriptors to .ear and drop the file in deploy under "all".

Hope it helps !

Good Luck
19 years ago
I am using jboss3.2.5. In conf we have jboss-service.xml file which has some transaction settings. You may want to try tweaking it.

<mbean code="org.jboss.tm.TransactionManagerService"
name="jboss:service=TransactionManager"
xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
<attribute name="TransactionTimeout">300</attribute>
<depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
</mbean>

I have not tried jboss 3.2.4.
Good Luck :-)
19 years ago
You also need to create a queue/topic depending upon what you need to do.
If you are trying Publish-subscribe go create a topic, otherwise create a queue in the weblogic console.

Then Use any of the IDEs and create a basic MDB. When you create a MDB tru IDE( like JBuilder, Visual Cafe etc.,), All the details of descriptors will be taken care by the IDE. Take the EAR/JAR file to deploy.Make sure that your Topic/Queue is created before you attempt to deploy. Deploy it.

Then go to the weblogic help part (code section) and you will find a client to send a message to the Topic/Queue.
Modify the JNDI names in there and reusue them to send the message.

When a message hits the Topic/queue the onMessage() method gets run. Put in a System.out.println statement in there to print output.

It's easy.
GOOD LUCK!!
19 years ago
Nevermind I could figure it out after some research. We had to use a HttpProxy servlet to proxy the request as the iis plugin somehow not able to work as a cluster aware proxy.(Though according to documentation it is suppose to be clster aware!)
Now all i needed was a one more instance of weblogic express to proxy requests to my set of clustered servers.
Things working great!
I was going thru my posts.. I thought I would reply to this as it was solved long ago!!
19 years ago
Friends ... here is my problem scenario. If any body has ideas, pl.share them.

I have Webservices exposed on weblogic server. UI (in .NET ) accesses the webservices API on WLS.(bunch of EJBs are deployed on the WLS)
Now I thought of converting the WLS to a clustered environment. So I created 2 manged servers (on the same machine ..just to try initially). I have assigned unique port numbers to them.I tried mutlcast test .looks like the intra-cluster communication is okay.
My problem is I dont want all the requests to be forwarded to weblogic. Static pages are still served by .NET part but i need this to look at the webservice on WLS (in a clustered environment) for the dynamic content.
In non clustered environment, i used to give the webservices url in the app settings of web.config as follows and it used to work great . <add key="xcservicelib.WSRef.XCWebService" value="http://localhost:7001/CCWebModule/services/XCWebServiceSoap"/>
Now I have two managed servers in the cluster at 8001 and 9001 ports on th e same machine.
I followed the steps to configure iis-plugin(copied the dlls to a dir c:\plug-ins) and created ini file and included the following.
WebLogicCluster=localhost:8001,localhost:9001 ConnectTimeoutSecs=20 ConnectRetrySecs=2 Debug=ON WlForwardPath=/CCWebModule/services/XCWebServiceSoap WLLogFile=c:\plug-ins\log\iisproxy.log
I tried to access using the cluster address.It does not work (UI does not find the underlying server!) Could somebody help me to properly forward request (only webservice calls !)
Thanks for your help .
19 years ago
Friends ... here is my problem scenario. If any body has ideas, pl.share them.

I have Webservices exposed on weblogic server. UI (in .NET ) accesses the webservices API on WLS.(bunch of EJBs are deployed on the WLS)
Now I thought of converting the WLS to a clustered environment. So I created 2 manged servers (on the same machine ..just to try initially). I have assigned unique port numbers to them.I tried mutlcast test .looks like the intra-cluster communication is okay.
My problem is I dont want all the requests to be forwarded to weblogic. Static pages are still served by .NET part but i need this to look at the webservice on WLS (in a clustered environment) for the dynamic content.
In non clustered environment, i used to give the webservices url in the app settings of web.config as follows and it used to work great . <add key="xcservicelib.WSRef.XCWebService" value="http://localhost:7001/CCWebModule/services/XCWebServiceSoap"/>
Now I have two managed servers in the cluster at 8001 and 9001 ports on th e same machine.
I followed the steps to configure iis-plugin(copied the dlls to a dir c:\plug-ins) and created ini file and included the following.
WebLogicCluster=localhost:8001,localhost:9001 ConnectTimeoutSecs=20 ConnectRetrySecs=2 Debug=ON WlForwardPath=/CCWebModule/services/XCWebServiceSoap WLLogFile=c:\plug-ins\log\iisproxy.log
I tried to access using the cluster address.It does not work (UI does not find the underlying server!) Could somebody help me to properly forward request (only webservice calls !)
Thanks for your help .
-You may first download a an application server. Preferably go for BEA weblogic (They have a good help online)
-Install the server and use their command line tools to package the compiled code (in appropriate directory structure needed for a EJB jar file)
-start the server
-open the administration console
-Go to deployments node and follow link to deploy new EJB
-Upload the jar file
You are all set.
For more technical details and code goto "http://www.theserverside.com"
and go to books section to get "Mastering EJBs" by Ed Roman .
You can be master ... in a months time.
Good luck !!


Look at the following page for the directory structure .
http://www.iona.com/support/docs/e2a/asp/5.1/j2ee/reference/EARSCO_ref4.html
You make jar files and war files depending upon the kind of components and place them in appropriate directories and package them.
JBuilder provides this feature(if in case you are using this IDE!!).
I am using Jbuilder X enterprise trial version and have configured Weblogic
8.1 as my app server. I can create a java bean and generate a WSDL to expose
my web services successfully.
However I cannot take a WSDL file and use the
Web Services Designer to generate the Impl java files with the methods from
the WSDL. The generated Impl file is read only and does not allow any
modifications. I tried with both the server and the client slected in the
web service designer but no luck so far.
How am I supposed to use a WSDL and generate either a client or server Weblogic application using Jbuilder?
Thanks in advance...
Hey I rememer it.Sorry i missed a step here.
Initially you need to add the server from the project properties|server.
There you will find a way to add a new server to the IDE. You prettymuch have all the popular app servers.
Select the one you want to add and provide details like the username,password ,server name ,port number etc.,
Then save it.
After doing this you may go back to my previous answer and you will find the recently added server when you select the other option.
Good luck .
hey , You are close .
if you look carefully you can find another option there to work with other servers.("Modular services provided by the other servers")
just check the other one and you get list of the servers to select from.
unfortunately i dont have one in front of me to give you exact steps.
Then you select which server should go with which service .