Re: problem configuring JRUN with IIS

2002-03-06 Thread Mark Phelps
out of wwwroot on an IIS 5 server performing >database queries and updates against an Oracle database for over a year >without fail. > > >-Original Message- >From: Mark Phelps [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, March 06, 2002 2:49 PM >To: JRun-Talk >Subje

Re: ejb question

2002-03-06 Thread Mark Phelps
I don't know if there is a hard and fast rule about how the server implements entity beans or not, but I think that entity beans typically will access the database a lot, if not after every call. Entity beans must keep the database in sync with their internal state so that non-EJB processes c

Re: problem configuring JRUN with IIS

2002-03-06 Thread Mark Phelps
Yes, JSP files should not be placed in the wwwroot directory of IIS. JSP files should be maintained in web application directory structures under the \servers\default directory. When a request for a regular HTML file is received IIS should handle it directly, serving the file up from the www

Re: Web Page as a stream

2002-02-20 Thread Mark Phelps
Try the java.net.HttpURLConnection class. You construct it with a URL object. You then connect, and use the class's methods to retrieve the response. Drew Falkman wrote: >Hey all- > >Does anyone know of a good way to open another Web page and process it as a >stream using Java - similar to w

Re: Caching connection

2002-02-20 Thread Mark Phelps
I would use datasources to solve your problem. The idea is that you configure a datasource in JRun using the management console, (see your documentation). You specify the url of the database server, the type of database, the username and password, etc. etc. If your database is not one of t

RE: include doesn't always happen

2002-02-04 Thread Mark Phelps
I can't think of a logical explanation for such behaviour. I will say this, in my experience strange behavior of this type often has to do with file caching problems. Perhaps there is some kind of page caching bug in IE for the Mac or in a proxy server that is sitting between the browser and the

RE: include doesn't always happen

2002-02-04 Thread Mark Phelps
Subject: Re: include doesn't always happen Thanks Mark. Most of the time it does find the file though. Nick - Original Message - From: Mark Phelps <[EMAIL PROTECTED]> To: JRun-Talk <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 9:03 PM Subject: RE: include does

RE: include doesn't always happen

2002-02-04 Thread Mark Phelps
It may be that it is simply not finding "banner.html". You are not specifying anything about the directory that banner.html resides in. The Windows machine may be using different methods to locate the file than the Linux box is using. Try being more specific about the location of "banner.html".

RE: Problems of JRun running in HP-UX

2002-01-31 Thread Mark Phelps
We run JRun under HP-UX without problems. Our application has a low to medium number of concurrent users but a high amount of database access. -Original Message- From: Yacoub Elias [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 3:23 PM To: JRun-Talk Subject: Problems of JRun

RE: File Operations help Required in JAVA

2002-01-29 Thread Mark Phelps
Since your title says "File Operations", I assume you are talking about folders in the file system. I have never seen any Java API's for modifying rights on folders and directories. There may be some that I don't know of. The operating systems that Java runs on are very diverse as far as the rig

RE: JRun 4 beta 2 and OSX

2002-01-25 Thread Mark Phelps
Is this GUI Deployment tool you mention free? Where can it be downloaded? My ears pop up when somebody mentions free tools. -Original Message- From: Scott Stirling [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 12:15 PM To: JRun-Talk Subject: RE: JRun 4 beta 2 and OSX Coupl

RE: I have problem with java Instance

2002-01-17 Thread Mark Phelps
How are you getting an instance of the bean? Are you using the usebean tag? If you are then your problem probably has to do with the "scope" value in the tag. For example, if you set scope to "application" then every user will be sharing the same instance of the bean. If you set scope to "sessi

RE: using IDE's (was RE: debugging Jrun 3.0 with JBuilder 4.0EE)

2002-01-16 Thread Mark Phelps
e processing, RDS debugging, etc.) /charlie -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:09 PM To: JRun-Talk Subject: RE: debugging Jrun 3.0 with JBuilder 4.0EE I was the one who wrote the article you mention. I see exactly the same p

RE: debugging Jrun 3.0 with JBuilder 4.0EE

2002-01-16 Thread Mark Phelps
I was the one who wrote the article you mention. I see exactly the same problem when I debug. I'm not sure why it happens and I have never spent enough time to see if there is a better way of doing things. Even when the debugging works, I usually find it so slow to load that I can't stand to us

RE: get Servlet details in JSP

2001-11-20 Thread Mark Phelps
The method you should use depends on how the request is forwarded to the JSP page. If the browser is redirected to the .jsp page then the page will not have access to the original request object that the servlet saw. It will have no access to any headers identifying the servlet. In this case th

RE: access a MS Access DB from Jrun

2001-11-20 Thread Mark Phelps
You just need to obtain a JDBC driver for Access. Sun provides a driver called the JDBC-ODBC bridge which would work. You can download it from www.javasoft.com. I have heard from others on this list, however, that this driver is not very good for heavy duty projects. Perhaps somebody on the li

RE: complaining

2001-11-14 Thread Mark Phelps
Nobody has any objection to reporting problems. That is one of the purposes of the forum. What I object to is a post that insults the very people who are trying to help solve the problem. You have given your warning. Your issue is an important one. Now give Macromedia a chance to resolve the

RE: Attn: Sessions getting mixed up - I'd be worried JRun people!

2001-11-14 Thread Mark Phelps
The thing that really irks me is people who waste other peoples time with posts that serve no purpose except to complain. This forum is meant to be used to get questions answered not to insult a software vendor. As a consultant I have had great success with JRun. I, for one, appreciate all the

RE: JRun Server Stopping

2001-11-13 Thread Mark Phelps
According to the error trace the JVM is trying to locate the class "allaire.jrun.jms.JmsBindingService" and is unable to find it. In JRun 3.0 sp2 that class is in jrun.jar which is in the \lib\ folder. It is acting as if that jar file is not on your classpath. I can't imagine how you could even

RE: EJB Deployment Problem

2001-11-01 Thread Mark Phelps
It sounds like the .jar file holding your bean is corrupted. Did you use "jar" to create it? -Original Message- From: Robert Jacobs [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 12:23 PM To: JRun-Talk Subject: EJB Deployment Problem I am trying to deploy a session bean i

RE: Servlet clients for EJBS

2001-10-10 Thread Mark Phelps
Make sure that your EJB is truly deployed. I'm not sure if JRun will deploy an EJB just because it is sitting in the deploy directory or not. We always explicitly deploy our beans. You can use the JMC to verify that your EJB is deployed and available. You also need to make sure that your clien

RE: Way to post form data without a form?

2001-10-09 Thread Mark Phelps
Try using the HttpURLConnection class in the java.net package. Before opening a connection you need to call the setRequestMethod() function and set the method to POST. -Original Message- From: Susan M. Orndorff [mailto:[EMAIL PROTECTED]] Sent: Monday, October 08, 2001 12:32 PM To: JRun-T

RE: How do you prevent JSP's from Caching

2001-10-04 Thread Mark Phelps
We keep our JSPs from caching by including the following line at the top of each one. <% response.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT"); %> This means that every time somebody enters the URL it will call the server instead of reading the file out of the browser cache. It does n

RE: init-properties in ejb

2001-10-02 Thread Mark Phelps
hem, which syntax ? TABLE_NAME;schema;CATALOG;DATASOURCE; or "TABLE_NAME";"schema";"CATALOG";"DATASOURCE"; ? or anything else ? I've attached my ejb-jar.xml file. Thanks a lot PS : as You can imagine, it is a BMP entity bean... ;-)) - Original Me

RE: init-properties in ejb

2001-10-02 Thread Mark Phelps
Here is another code snippet showing how we connect to our data source. Note the "jdbc" in the JNDI name string. Also note that we are retrieving a DataSource object not a String. try { System.setSecurityManager( new RMISecurityManager() );

RE: JNDI lookup problem

2001-10-02 Thread Mark Phelps
You don't need the "java:/comp/env/ejb/" prefix before the EJB name. Here is an example of some code that we use to load an EJB. In this example the bean is OrgTreeBean, the remote interface is OrgTree, and the home interface is OrgTreeHome. System.setSecurityManager( new RMISecurit

RE: Jrun does not restart

2001-10-01 Thread Mark Phelps
I haven't experienced your problem so I don't know the cause, or a solution. We use JRun 3.0 SP2 on NT and Windows 2000, and HP/UX and we don't see the problem. As far as the ghost server is concerned, you might check the task list and make sure that the JVM ("java.exe") is going down when you st

RE: Can you talk to a COM object with JRUN-JSP?

2001-10-01 Thread Mark Phelps
Sun has written a piece of software called the COM bridge which makes it easy for a Visual Basic or Visual C++ program to create and manipulate Java objects. I'm not sure if it provides a method for a Java process to talk to COM objects or not. I would start my search by looking at the COM bridg

RE: Invalid or expired transaction

2001-09-25 Thread Mark Phelps
t; like so: ejb.ejipt.defaultTranscationTimeout=1800 Scott Stirling JRun QA Macromedia > -Original Message- > From: Mark Phelps [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 6:05 PM > To: JRun-Talk > Subject: RE: Invalid or expired transaction > > > I still get the same

RE: Invalid or expired transaction

2001-09-24 Thread Mark Phelps
should be in local.properties file as other ejipt configure properties. -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 4:18 PM To: JRun-Talk Subject: RE: Invalid or expired transaction So you are saying that I should put a line in a config

RE: Invalid or expired transaction

2001-09-24 Thread Mark Phelps
transaction. If not specified, the property defaults to 120 (2 minutes). Example: ejipt.defaultTransactionTimeout=30 The value of this constant is "ejipt.defaultTransactionTimeout". Please check JRun JavaDoc. -Original Message----- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Se

Invalid or expired transaction

2001-09-24 Thread Mark Phelps
uring that EJB to not support transactions but I would rather not do that. Is there any way to control how long a transaction runs before it times out? How? Thanks Mark Phelps Software Technology Group [EMAIL PROTECTED] ~~ Get the mailserver that p

RE: General Doubt Regarding Connection Pooling

2001-09-20 Thread Mark Phelps
If your database's JDBC driver is up to date it should have classes that implement the DataSource interface. DataSources implement connection pooling for you. We use Oracle and its driver includes such a class. You can configure JRun so that it is aware of your DataSource and then you can use i

RE: Remote Service Administration

2001-09-20 Thread Mark Phelps
Can't you restart a JRun server remotely using the JMC? There is a restart option that I have used before. Do you need to do it without human intervention? -Original Message- From: Jackie Comeau [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 7:43 AM To: JRun-Talk Subject:

RE: Java Sorting

2001-08-29 Thread Mark Phelps
Store the information in memory using a class that implements the Collection interface. A Collection is simply a class that stores lists of things. ArrayList is an example of a class that allows you to store as many objects of any type as you want. It implements the Collection interface. Then r

RE: Install JRun 3.1 - Page not found

2001-08-28 Thread Mark Phelps
What URL are you hitting when you try to access your application? Your problem may be with the connector that ties IIS to JRun. That seems to be an area where a lot of people have problems. You might try using the JRun port to bypass IIS just to see if JRun is running properly. For example, in

RE: Memo Problem Part II

2001-08-17 Thread Mark Phelps
There may be some database method for dealing with this, but if not, you might try URLEncoding the French text and then undoing it when you bring it out of the field later on. URLEncoding will replace international characters and punctuation with standard character codes. -Original Message--

RE: Remote clients

2001-08-15 Thread Mark Phelps
By default EJBs are not accessible to remote clients. You have to configure them to be available remotely. I can never remember the name of the property between the times when people ask this question but I know that Scott from Macromedia knows. You should be able to find instructions in the sup

RE: JSP using built-in custom tags

2001-08-09 Thread Mark Phelps
JSPs do not have a designated place except that they should not go under the web-inf directory anywhere. Files in the web-inf directory are not exposed to the outside world. You can place them in the root folder of your web application or you can make a JSP folder off of your web application roo

RE: rmid - fail-safe mode

2001-08-09 Thread Mark Phelps
Look at the JRun logs. One of them may contain some kind of error message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 1:08 PM To: JRun-Talk Subject: rmid - fail-safe mode hi! I'm trying to run my EJB app under fail-safe mode (

RE: JRun.sucks Exception

2001-08-08 Thread Mark Phelps
The only thing that I can see right off is the call to PortableRemoteObject.narrow(). We use EJBs all the time with JRun. Our code looks like yours except we never use that call. Try removing it. Also, you might go into the JMC after you deploy your EJB and verify that the "ebj.beanHomeName" p

RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?")

2001-08-08 Thread Mark Phelps
same machine as your Web Container (JSP and servlets). -- I had to add something to save face :^) Mark S. -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 5:52 PM To: JRun-Talk Subject: RE: beans vs ejb's (was "RE: Ist it possible

RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?")

2001-08-07 Thread Mark Phelps
Here is some more information about EJBs and threading. Reentrancy is when a single thread "reenters" an object which it is currently using higher up in the call stack. For example, thread 1 executes a method in bean A, which makes a call to a method in bean B which in turn calls a third method

RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?")

2001-08-06 Thread Mark Phelps
g upon another library/class written by another programmer. In this case, your class/program is a client to the other library/class. It doesn't mean the person running the program. Oh, it can be a tangled web (pardon the mixed metaphors). :-) /charlie -Original Message- From: Mark Ph

RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?")

2001-08-06 Thread Mark Phelps
model, i.e.. they do not support multi-threading. Or did I miss something in my reading of EJB's? Celeste -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 12:48 PM To: JRun-Talk Subject: RE: beans vs ejb's (was "RE: Ist it poss

RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?")

2001-08-06 Thread Mark Phelps
Oh, one other point. Using EJBs is better for your resume. ;-) -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 11:39 AM To: JRun-Talk Subject: RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?"

RE: beans vs ejb's (was "RE: Ist it possible to seperate EJB and Servlet Server?")

2001-08-06 Thread Mark Phelps
uot;Alexander Sommer" <[EMAIL PROTECTED]> > > To: "JRun-Talk" <[EMAIL PROTECTED]> > > Sent: Friday, August 03, 2001 4:04 PM > > Subject: AW: Ist it possible to seperate EJB and Servlet Server? > > > > > > > Yes, I want to have th

RE: Ist it possible to seperate EJB and Servlet Server?

2001-08-03 Thread Mark Phelps
Are you talking about having the two servers separate but on the same machine or do you mean two JRun servers running on different machines. It should be simple to have JRun on one machine running the JSPs while a second machine hosts the EJBs. You would just have to make sure that the code that

RE: bean newbie question

2001-08-03 Thread Mark Phelps
We use the same approach. Each developer has his own server for development. We restart the server, from within JBuilder on our individual machines, every time we make a change. We update a main development testing machine about once a week and we then test there. If that server passes, then w

RE: newbie question

2001-08-01 Thread Mark Phelps
, that's close to what I thought. I believe this is off topic, do you know of any list for this kind of questions (not specifically for JRun)?, I have a few more :). -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: MiƩrcoles, 01 de Agosto de 2001 01:47 p.m. To: JRun

RE: newbie question

2001-08-01 Thread Mark Phelps
The tag only works with regular javabeans, (i.e. regular classes with get and set methods). It has nothing to do with Enterprise Java Beans. EJBs are loaded in the way that you mentioned, although the sample you show isn't quite the way I have done it with JRun in the past. For example, I have

RE: Gleaning original URI in errorPage

2001-07-31 Thread Mark Phelps
You can catch all exceptions and forward them to the error page yourself. That would allow you to pass a parameter to the error page indicating the source of the error. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 4:47 PM To: JRun-Talk

RE: JRun-Talk-List V1 #51

2001-07-31 Thread Mark Phelps
It looks like a classpath error. Check to see if you have modified any config files or uninstalled any JVMs. -Original Message- From: Mark Gargan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 5:46 AM To: JRun-Talk Subject: RE: JRun-Talk-List V1 #51 Hi folks, Just today

RE: Learning path..Should I take it?

2001-07-30 Thread Mark Phelps
I'm not a CF expert but as I understand it CF is a tag language that is primarily used for automating web sites. You may be able to do some of the same things that you can do with JSP but I would definately not equate it with Java. Java is a full-blown object oriented language that can be used t

RE: Newbie question/Debate

2001-07-25 Thread Mark Phelps
I have 6 years of experience developing Microsoft Windows applications followed by 3 1/2 years of Java experience. I currently work for a consulting firm that develops applications in both Java / EJB / JSP and Microsoft C++ / VB / ASP. My experience has been as follows: 1. Java applications ar

RE: Hark....my session is missing.

2001-07-16 Thread Mark Phelps
We use JRun 3.0 SP 2. I haven't seen JRun lose session information. We did, however, have a problem that looked like that. It turned out that the problem was in Internet Explorer. IE has a bug where it will drop sessions if you have the content advisor enabled and you access a web site that ha

RE: HTTP calls

2001-07-16 Thread Mark Phelps
Try using the URL, URLConnection, and HttpURLConnection classes in the java.net package. -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 3:34 PM To: JRun-Talk Subject: HTTP calls Can anyone point me to some docs on making HTTP calls in

RE: Setting "Expires" header in JSP

2001-07-11 Thread Mark Phelps
We use the following line in our JSPs. <% response.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT"); %> -Original Message- From: Nathan Wheat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 8:45 PM To: JRun-Talk Subject: Setting "Expires" header in JSP I've got one dumb

RE: JRun on Windows 2000 server

2001-07-10 Thread Mark Phelps
We run JRun on Windows 2000 without any problems. -Original Message- From: Jackie Comeau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 1:07 PM To: JRun-Talk Subject: JRun on Windows 2000 server How does JRun run on Windows 2000? Any issues, problems? I'm getting a new machine

RE: Talking from applet to EJB

2001-07-09 Thread Mark Phelps
I think your best bet is to create a servlet for the applet to talk to. The servlet can then communicate with the EJB. Anything else will probably be more trouble than it is worth. -Original Message- From: Sergey L.Ponomarev [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 07, 2001 2:18

JRun and RMI over IIOP

2001-06-28 Thread Mark Phelps
RMI over IIOP. Which is it? Does anybody have experience with this sort of thing? Is Corba the way to go or would SOAP be better? Mark Phelps Software Technology Group [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the

RE: stack trace help...

2001-06-28 Thread Mark Phelps
The error is an IO error that is occuring when you are invoking a native unix process. The message says not enough space. If I had to make a guess I would say that the server is trying to load the native process into virtual memory, (memory on disk), and it is running out. You may be able to co

RE: Error accessing one servlet at same time

2001-06-27 Thread Mark Phelps
We would need to know a lot more about your servlet to answer your question. Can you show us code? Some general rules to remember: (Forgive me if I state the obvious. I don't know if you are new to servlets and Java or not.) 1. Member variables, (variables defined in the class block outside of

RE: Cannot Connect to Bean

2001-06-25 Thread Mark Phelps
Your deploy.properties file specifies that the bean is only available to certain users, yet the code you use to lookup the bean does not identify the calling user. You have the user and password property lines commented out. This could be your problem. Try adding the line "ejb.allowedIdentities=a

RE: Serialization problem.

2001-06-15 Thread Mark Phelps
Is the client code that is using the EJB running on the same machine as the EJB? FileInputStream and FileOutputStream operate on the local file system. Your EJB will write the file to the file system on its machine. When your client retrieves the FileInputStream it will then attempt to read the

RE: catching custom exception located in deploy directory from jsp pa ge

2001-06-13 Thread Mark Phelps
You are definately suffering from a classpath problem. I don't think that the deploy directory is autmatically on the classpath that the JSPs use. Try putting the exception class in a separate .jar file and placing that file in the classpath for the default server. You can do this via the JMC. Yo

RE: Jrun connection pool not closing

2001-06-13 Thread Mark Phelps
This is not normal behavior. We use Oracle and JRun with DataSources. Our connection pooling works perfectly even under a very heavy load. I don't know why it isn't working in Andrew's case but it definately should work. -Original Message- From: Victor Marinelli [mailto:[EMAIL PROTECTE

RE: Sent text messages to a cell phone

2001-06-11 Thread Mark Phelps
My cell phone can receive text messages that are sent to a specific email address. For example, a cell phone might have an address of [EMAIL PROTECTED] The address is the phone's number. I don't know how many types of cell phones support this. My phone is a Nokia 5160 or something like that. I

RE: EJB simpe HelloWorld problem

2001-06-05 Thread Mark Phelps
Take out the statelessSession. portion of the EJB name. Looking up "HelloWorldBean" should work. -Original Message- From: Kathpalia, Jeetender [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 9:56 AM To: JRun-Talk Subject: RE: EJB simpe HelloWorld problem Hi I am trying to call

RE: Upgrade of developer edition.

2001-05-30 Thread Mark Phelps
not entering any serial key. Is that the EJBs option not available in developer edition?. -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 5:04 PM To: JRun-Talk Subject: RE: Upgrade of developer edition. Go into the JMC and see what type of license

RE: EJB simpe HelloWorld problem

2001-05-29 Thread Mark Phelps
The fact that you see "output 1" but not "output 2" implies that your problem is in the line where you set the initial context factory property. Perhaps it doesn't like the fact that the Properties object is "final". When you pass the properties object to the constructor for the InitialContext it

RE: Set up datasource

2001-05-29 Thread Mark Phelps
Did you add classes12.zip to the classpath for both the admin and the default server? If you don't, JRun won't be able to find the driver. If you did that, then there is some kind of problem communicating with the database. Check the URL for the datasource. -Original Message- From: saf

RE: Upgrade of developer edition.

2001-05-25 Thread Mark Phelps
e- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 1:47 PM To: JRun-Talk Subject: RE: Upgrade of developer edition. I believe you simply buy the new software, obtain the license key, and then enter the new license key in the JMC. JRun should then reflect its new status.

RE: Upgrade of developer edition.

2001-05-25 Thread Mark Phelps
I believe you simply buy the new software, obtain the license key, and then enter the new license key in the JMC. JRun should then reflect its new status. I know that this works for upgrading a developer edition to the full edition. I don't know if your choice to deselect the EJB options during

RE: New web App problems.

2001-05-25 Thread Mark Phelps
It appears that your web application's deployment descriptor is referring to this dtd. Open the file c:\program files\allaire\jrun\servers\default\default-app\web-inf\web.xml. If you installed JRun in a different directory or if your platform is not Windows, modify the path accordingly. Look at

RE: java.lang.IncompatibleClassChangeError

2001-05-23 Thread Mark Phelps
I have never seen your error but I have a few suggestions. The error you describe, as I understand it, indicates that the class file, (meaning the compiled servlet that the .jsp file generates or some class it uses), has changed while the jvm has an instance of the object in memory. It's almost l

RE: send e-mail from a javaBean

2001-05-21 Thread Mark Phelps
Sending an email message is very simple using the JavaMail interface. If anything goes wrong during the communication with your mail server, it will be reflected in an exception. I don't know of any way to know when the message is successfully forwarded by the mail server. During testing you ca

RE: lookup of Entity bean Home interface from session bean

2001-05-16 Thread Mark Phelps
Here is some code from our system that looks up an entity bean. We are running on JRun 3.0 sp2. There are a couple of things to note. First, notice the line that sets up an RMISecurityManager. I found that EJB lookups would return the error you describe if this is not done. Second, note the pr

RE: Going crazy w/ something the should work, SQL + Java problem

2001-05-16 Thread Mark Phelps
When you create an SQL statement in JDBC you should not include the semicolon at the end of the line. Also the apostrophe in "Natasha's" may be giving you problems. You may need to remove it or use \' or something like that. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED

RE: Security.

2001-05-14 Thread Mark Phelps
There is no single default way to do what you are asking but there are certainly ways you could do it. For example, all requests might first be routed through a servlet which would run your directory level check. The servlet could then forward the request on to the proper .jsp page. You could al

RE: error getting datasource from client

2001-05-11 Thread Mark Phelps
You have to configure the datasource to be visible externally. By default it is only visible internally, ie from a JSP page, servlet, or EJB in JRun. I can't remember the name of the setting or the properties file it should go in but if you go to allaire's knowledge base you should be able to fin

RE: Placing entinty bean data back in storage

2001-05-10 Thread Mark Phelps
Entity beans store their data automatically after you call set methods. For example, if I have a customer bean and I call setFirstName(), the container will automatically store the new data in the database. If the bean is configured for bean managed persistence then the container will call the bea

RE: preload servlet error

2001-05-10 Thread Mark Phelps
Isn't the servlet class file supposed to go in the web-inf\classes directory instead of web-inf\lib? Your full path would be c:\progra~1\allaire\jrun\servers\default\appname-app\web-inf\classes\testPac kage\testServlet.class. I'm not sure but I would try that. -Original Message- From: T

RE: how to deploy Entity Bean

2001-05-09 Thread Mark Phelps
is it easier to write your own EJB that handles connection pooling, or is it still easier to use a third party JDBC driver within your EJB code to handle that for you? Celeste -Original Message----- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 11:48 AM To: JRun-Talk S

RE: how to deploy Entity Bean

2001-05-08 Thread Mark Phelps
See Chapter 28 in the "Developing Applications with JRun" manual for information about container managed persistence and entity beans in JRun. Electronic documentation is present even when you download an evaluation copy. I have never used CMP entity beans with JRun so I can't give you exact deta

RE: JRun connection to IIS

2001-04-27 Thread Mark Phelps
Is IIS running on Windows 2000? The JRun connector is an ISAPI plugin. These plugins are registered quite differently under Windows 2000 than they were under NT. I don't know if the JRun setup is supposed to handle IIS on Windows 2000 correctly or not but I have not had success when I tried it.

RE: response.sendRedirect weirdness ?!?

2001-04-26 Thread Mark Phelps
I do believe that is standard behavior. You need to make sure that the redirect happens last. -Original Message- From: Cristian Satnic [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 10:53 AM To: JRun-Talk Subject: response.sendRedirect weirdness ?!? Hi list, I just made an

RE: Beginner Book

2001-04-26 Thread Mark Phelps
by WROX? Aaron Starner | Systems Analyst MCP | A+ Certified | Certified ColdFusion Developer Full Service Networking | www.FullService.Net [EMAIL PROTECTED] | 513.782.4200 x217 -Original Message----- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 12:01 P

RE: Beginner Book

2001-04-26 Thread Mark Phelps
Professional JSP Programming is a good JSP book. I don't think it says much about JRun. -Original Message- From: Aaron Starner [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 9:54 AM To: JRun-Talk Subject: Beginner Book Need to recommend a beginner JRun /JSP book. Anyone have

RE: pass parameter to a servlet?

2001-04-25 Thread Mark Phelps
I can see two possible problems with this. First your reference is to "servlet/clesson". This is a relative link that points to a servlet directory below the directory where your html file is. Is that what you wanted, or were you intending to point to a servlet directory right off of the server'

RE: Question about JDBC Drivers for Oracle w/JRUN Enterprise

2001-04-19 Thread Mark Phelps
You need to put the .jar file with the driver in the classpath of both servers. You can do this in the JRun Management Console. -Original Message- From: Safa Hussain [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 5:01 PM To: JRun-Talk Subject: Question about JDBC Drivers for Or

RE: Dynamic Naming for Array

2001-04-17 Thread Mark Phelps
I don't think you can dynamically name variables the way you are attempting to name them. I recommend putting the arrays in another array, or in an ArrayList or Vector if you don't know how many you will need to store ahead of time. -Original Message- From: Robert Jacobs [mailto:[EMAIL P

RE: Debug JSPs in JBuilder?

2001-04-17 Thread Mark Phelps
I posted a message a while ago about integrating JBuilder and JRun. I have pasted the text from it here. With this configuration I have been able to code all types of classes, including JSPs, and I have succeeded in debugging everything except JSPs. From what I have heard from Macromedia I don'

RE: java:comp/env/ To be or not to be?

2001-04-12 Thread Mark Phelps
I am not an expert on ejb-ref and why you would use it in web.xml or ejb-jar.xml. As I understand it the benefit is to make it easy to change the bean information at deploy time without recompiling. We have never needed to do that. We do access EJBs easily from JSPs and from other EJBs, however.

RE: EJB deployment error

2001-04-02 Thread Mark Phelps
It looks like JRun is trying to run the compiler and can't find it. Check your JRun settings that specify which JVM JRun is using. Try putting the bin directory of your JDK on the PATH (if this is a Windows box). If you are sure that this is not the issue then it is possible that javac is throw

RE: mime type for excel

2001-03-30 Thread Mark Phelps
Try "application/vnd.ms-excel". -Original Message- From: Patwa, Ashish (MED, Patni) [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 12:21 PM To: JRun-Talk Subject: mime type for excel Can anybody let me know that what mime type should I set for Excel files. I tried with applicat

RE: Using the jbuilder IDE with JRUN

2001-03-27 Thread Mark Phelps
fined testing class from within JBuilder? Thanks in advance, Jingwei -Original Message- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 12:53 PM To: JRun-Talk Subject: RE: Using the jbuilder IDE with JRUN We use JBuilder with JRun successfully. JBuilder does not

RE: Using the jbuilder IDE with JRUN

2001-03-26 Thread Mark Phelps
ks again, Linda -Original Message----- From: Mark Phelps [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 12:53 PM To: JRun-Talk Subject: RE: Using the jbuilder IDE with JRUN We use JBuilder with JRun successfully. JBuilder does not have a tight integration with JRun but you can get by w

RE: Using the jbuilder IDE with JRUN

2001-03-26 Thread Mark Phelps
We use JBuilder with JRun successfully. JBuilder does not have a tight integration with JRun but you can get by with some manual configuration. The steps that need to be taken will vary depending on the type of component you are building, (i.e. servlets, JSPs, or EJBs). We are creating a web bas

Failed to unmarshal proxy error when accessing an EJB

2001-03-12 Thread Mark Phelps
? Mark Phelps Software Technology Group [EMAIL PROTECTED] BEGIN:VCARD VERSION:2.1 N:Phelps;Mark;Stonely;Mr. FN:Mark Phelps ORG:Software Technology Group TITLE:Senior Consultant TEL;WORK;VOICE:888-595-1001 ADR;WORK:;;2455 Parleys Way, Suite 150;Salt Lake City;Utah;84109;USA LABEL;WORK;ENCODING=QUOTED

  1   2   >