Help coderanch get a
new server
by contributing to the fundraiser

P.Jamieson

Greenhorn
+ Follow
since Apr 30, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by P.Jamieson

Can anyone recommend a suitable control panel to host some J2EE applications? Presently, the server is set-up with Apache 2 and JRun (by Macromedia).

Thanks!
I have use the J2EE deploy tool to construct my projects. I then place the EAR file directly into the JRun folder where it is automatically hot deployed. When I test it on the internal network, it works great. However, when I now try it with my domain I get some problems. I have followed the following example from Macromedia:
http://www.macromedia.com/support/jrun/ts/documents/tn18348.htm
It always seems to invoke the files located in the main document root of the Apache server (even when I use the document root of the virtualhost). Now if I were to expang the EAR file, then it begins to work (with some troubles). I really want to use the archive file from Apache.
Does anyone have any more suggestions?
20 years ago
I have use the J2EE deploy tool to construct my projects. I then place the EAR file directly into the JRun folder where it is automatically hot deployed. When I test it on the internal network, it works great. However, when I now try it with my domain I get some problems. I have followed the following example from Macromedia:
http://www.macromedia.com/support/jrun/ts/documents/tn18348.htm
It always seems to invoke the files located in the main document root of the Apache server (even when I use the document root of the virtualhost). Now if I were to expang the EAR file, then it begins to work (with some troubles). I really want to use the archive file from Apache.
Does anyone have any more suggestions?
20 years ago
I am about to launch a web site. I have been using Sun's development version J2sdkee1.3.1 to run and test my application. But I do not think that I can use this for production purposes. I am looking for an entry level (upgradable) webserver that is capable of deploying EJBs at a reasonable price. I like WebSphere but it seems to be a bit expensive for me at this time. Any suggestions?
20 years ago
I would like to host my own web site. I have the necessary hardware, modem, router to 3 PCs. One of the PCs will be hosting the web site with a J2ee web server. I will be getting high speed cable with 1 static IP (I guess at the router). Can someone tell me where I can get the necessary info to configure and test the web site while maintaining a high level of security.
20 years ago
I would like to add a form to allow a user to select their buying currency. This will let them see how much they will pay for the item in their own currency.
1. Are there any code snippets, java lib classes or 3rd party java classes that I can utilize for these currency conversions?
2. What is the best way to setup currency conversions on your web site?
3. How do these rates remain current?
20 years ago
Thanks for your reply. I have gone through the tutorial and it only the basics. The only part that I need is to know how to create my own realm that is configured to use a database.
Thanks, I have looked at this previously. The example that they use is for Tomcat users. I am using the J2EE web server (hence container). Looking at your points, could you please explain further how I can map a realm name to my database? Also do I have to edit any other files like they explain for Tomcat (i.e. server.xml)? I have already setup tables for users, user_roles and roles in my database.
If I set this for FORM-BASED authentication, what else do I need to do in order to authenticate to a SQL database? I need to authenticate to this database as I will be adding / deleting users (dynamic).
[ November 20, 2003: Message edited by: P.Jamieson ]
I want to be able to authenticate users based on a username and password in a SQL server database. Presently, I have setup users by using the realmtool from the J2EE server. I would rather use the database entries. Could you please tell me how to do this? Can it be done from the deployment tool?
I have tried using using this code and it works fine except that my filename in the download dialog is a text file rather than the ZIP file that I experimenting with. Also the name of the file does not match. If I do the same request from HTML I get the proper name and extension to display in the dialog. Any suggestions?
20 years ago
I need help with security settings in the deployment tool. I want to set permissions on an EJB (session) without a login dialog. I have followed the example used in the J2EE tutorial (DukesBankApp) to setup roles and users. The only difference with my app is to not have the login. The reason that I need to have this is to give the bean the ability to have file I/O access rights. At the moment, I am receiving a FilePermissionException. Do I need to set the security.policy file? When I review the file it seems that servets and the EJBs have file access. I do not know what is causing this to happen!
Thanks!

[ October 01, 2003: Message edited by: P.Jamieson ]
[ October 01, 2003: Message edited by: P.Jamieson ]
I would like to have a file download in my web application. I am using a JSP page for processing requests. As part a user request is to initiate a file download. I just want to have a bit more control of downloading rather than inputting a hyperlink into the browser. At the moment I do not have FTP and probably will not for now, thanks
20 years ago
JSP
I would like to have a file download in my web application. I am using a servlet for processing requests. As part a user request is to initiate a file download. I just want to have a bit more control of downloading rather than inputting a hyperlink into the browser. At the moment I do not have FTP and probably will not for now, thanks
20 years ago
Thanks, I'll give that a try...