ralph roper

Greenhorn
+ Follow
since Nov 25, 2001
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 ralph roper

hi,
we are running Websphere 5 ND in cluster. We have set up our datasource and refer to the namespace when doing the lookup as cell/clusters/<CLUSTER_NAME>/jdbc/RedinetDB. This all works fine.
This code is moving around a number of servers ie local, test, QA, production. This would mean changing this lookup everytime. I have read about cell persistent fields and have played around setting up a Name space binding which failed with a read only error.
Does anyone know if we can set up a cell persistent field for a JNDI datasource (version 4) or are we better off using a jndi.properties file on each server?
thanks in advance,
Ralph
20 years ago
Problem solved!
IBM support have got back in contact with me and confirmed there is a defect when using WSAD 5.0.x against WAS 4.0.x. The problem is that when WSAD creates the web.xml file it references the EJB links with <application web.jar>#<EJB link ID>. WAS 4 cannot interpret the leading application jar and throws a EJB ref link error.
There are a couple of ways to resolve the problem.
1. Upgrade WSAD 5.0.x to 5.1
2. Use the AAT tool to regenerate the web deployment descriptor links. Admittedly we did notice other problems taking this route so I would recommend option 1.
Hope this helps anyone who comes across this problem.
Ralph
20 years ago
Chak,
have tried
1. Application visibility
2. setting J2EEApplication system property to true
regards,
Ralph
20 years ago
George,
we are developing with WSAD 5 on Windows and and trying to deploy to WAS 4.0.x AE multi-site server on Sun Solaris.
We lodged a call with IBM 2 weeks ago and is now in the hands of IBM development in the US.
Please note as in previous post we have not had an issue deploying to WAS 4.0.x AE single server on Sun Solaris.
regards,
Ralph
20 years ago
are you using Websphere 4 single-server or multi-server advanced edition?
We only receive these errors when deploying to multi-server.
20 years ago
This is getting interesting.
Has anyone been able to deploy an ear file created in WSAD 5 on Win NT to Websphere 4.0.x AE on Unix (preferably Sun Solaris)?
I have read in other posts that you can deploy from WSAD to Websphere single server but you need to use AAT to deploy to Webpshere advanced edition. Is this true and if so, why?
Ralph
20 years ago
hi,
we are trying to deploy an application, named Redinet, to Websphere
4.0.5 AE. We are encountering the following error after clicking on
Finish to complete the deploy.
JWarning: cannot find link for ejbRef, link name is
RedinetEJB.jar#Approval
'com.ibm.ejs.resources.RepositoryStrings
"7162-2ba11faf-3498703:WSCS-3376207
WebSphere
AE 4.0.5 ptf50246.04
&com.ibm.ejs.sm.beans.EnterpriseAppBean
d0eeb
21889
suapp01/__adminServer
LWarning: cannot find link for ejbRef, link name is
RedinetEJB.jar#Settlement
'com.ibm.ejs.resources.RepositoryStrings
"7162-2ba11faf-3498703:WSCS-3376207
WebSphere
AE 4.0.5 ptf50246.04
&com.ibm.ejs.sm.beans.EnterpriseAppBean
d0eeb
21889
suapp01/__adminServer
[Warning: cannot find link for ejbRef, link name is
RedinetEJB.jar#BuildSunJourn
alInputFiles
'com.ibm.ejs.resources.RepositoryStrings
"7162-2ba11faf-3498703:WSCS-3376207
Looks like a classpath issue but I cannot work out how it is doing the
lookup. I have looked at the MANIFEST.MF files but have not spotted
anything obvious. Have also been able to successfully install to
Websphere 4.0.1 SSE. Unfortunately this is our development box.
System specs
------------
Sun Solaris 8
Websphere 4.0.5 AE
iPlanet 6 web server on separate server with plugin installed.
Thanks in advance,
Ralph Roper
20 years ago
hi,
does anyone know if it is possible to set up an LDAP server (Netscape 4.1 in this case) as a JNDI service in a web deployment descriptor (ie web.xml or server.xml)?
THe SUN JNDI tutorial refers to using a jndi.properties file tp set up the environment properties. I was hoping that as the server is an external resource and I am developing a web app that a tag like <resource-ref> in the web.xml file would do the trick.
Note: I am only using the LDAP server to query users not as part of my security model.
thanks,
Ralph
21 years ago
Kyle,
thanks. Being a developer cutting their first Java project I needed the reassurance.
Ralph
21 years ago
hi,
my company has had a web application developed by an external company. They have now asked me to do a similar project. There are some classes in the existing project that could be used in the project I am about to start work on. Does anyone know from experience if it is a good idea to separate these common classes into their own jar file? Or am I better copying these files into my own webapps directory? These common classes do things like logon, page layout, file handling. I cannot think of any issues in creating a common jar file and would assist in reuse.
thanks,
Ralph
21 years ago
Looks like someone has posted a similar question back in Dec 2001. It now looks like it has more to do with iPlanet. I have logged a support call with SUN iPlanet support. Will post an update once I have the answer.
21 years ago
hi,
I have a web app using servlets on iPlanet 6/SUN Solaris that displays the time 1 hour later then the system time. I have checked the code (which is pretty simple) on my NT workstation and it works fine.
Both machines are using Eastern Standard Time(EST) for the timezone. Anyone know the answer ?
NOTE: I had this originally posted in the General forum but I am wondering if this problem may be because the servlet is fetching the date and time from iPlanet.
thanks,
Ralph
21 years ago
Yes. In summary this is how you do it.
Create your RMI server class, implementation class and interface class and then compile with javac and rmic. rmic will create the skeleton and stub classes. Copy the skeleton, stub and interface classes to the client. Start the rmiregistry process and then run your server class.
On the client your servlet will need to bind to the registry service running on the server. Once this is done you can call the remote methods in your servlet.
Sun has a good rmi tutorial if you need more detail.
regards,
Ralph
21 years ago
I am picking up the application from someone else. This is the code in question.
<code snippet>
private static final SimpleDateFormat timeFormatter =new SimpleDateFormat "HH:mm:ss:SSS" );
/**
*/
public final Date getTime()
{
return time;
}
public String toString()
{
StringBuffer s = new StringBuffer();
s.append(dateFormatter.format( time ))
.append(DELIM).append(timeFormatter.format( time ))
.append(DELIM).append(id);
return s.toString();
}
</code snippet>
I have a feeling this may be related to Solaris more so then the java code but at this stage I am not discounting anything. :roll:
thanks.
21 years ago
hi,
I have a java app that displays the time 1 hour later then the system time on a Solaris box. I have checked the code (which is pretty simple) on my NT workstation and it works fine.
Both machines are using Eastern Standard Time(EST) for the timezone. Anyone know the answer ?
thanks,
Ralph
21 years ago