Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mluken

  1. mluken

    Problem using XSLFO

    I am trying to use XSLFO to produce a PDF file. I am getting closer but am having a problem still. I no longer get any transformation errors in my java servlet so I think I am creating the transformation correctly. I am getting the following 2 errors though after the Acrobat reader is...
  2. mluken

    Sending E-mail from a vbs file

    I want to create a vbs file that sends an E-mail message when certain system events happen. So my vbscript looks as follows: Set Mail = Server.CreateObject("Persists.MailSender") Mail.Host = smtpServer Mail.From = addy_from Mail.FromName = addy_from Mail.AddAddress addy Mail.AddAttachment...
  3. mluken

    Newbie needs advice/guidance re Java web application to query db

    Try this: import java.sql.Connection; import java.sql.DriverManager; import com.ibm.db.DatabaseConnection; import com.ibm.db.SQLStatement; import com.ibm.db.SelectResult; import com.ibm.db.SelectStatement; import com.ibm.db.StatementMetaData...
  4. mluken

    Log4J and commons-logging

    Here is my log4j.properties: log4j.rootCategory=DEBUG, RootAppender log4j.appender.RootAppender=org.apache.log4j.DailyRollingFileAppender log4j.appender.RootAppender.DatePattern='.'yyyy-MM-dd log4j.appender.RootAppender.File=C:/Inetpub/logs/lmpframework.log...
  5. mluken

    Log4J and commons-logging

    Tomcat is version 4.1 (although I just replaced the commons-logging.jar with the most recent as somebody told me to do that.... Log4J is version 1.2.9. What is a lcf file? I have created a log4j properties file? Is that what you are referring to?
  6. mluken

    Log4J and commons-logging

    I have decided to implement Log4J in my web applications. After setting this up, I realized that I had a problem when using a particular page that utilizes the HttpClient class in commons-httpclient.jar. Apparently, that class requires the commons-logging.jar (which I removed when putting the...
  7. mluken

    Tomcat 4.1 clearing out stdout and stderr on restart?

    I just upgraded from Tomcat 3.3 to 4.1 and noticed that when i restart the service, the stdout.log and stderr.log are cleared out? I can see how this could be good in some instances, but I need to have those logs kept so I have some sort of history of any errors.... Does anybody know why and/or...
  8. mluken

    Keeping session alive when going between HTTP and SSL

    It is a link that I click on. So I am on: http://www.mysite.com/servlets/myservlet?page=page1 and on that page there is a link to: https://secure.mysite.com/servlets/myservlet?page=2 Both pages call the same servlet. Tomcat forwards the second page to port 8443 as specified in Server.xml...
  9. mluken

    Keeping session alive when going between HTTP and SSL

    This seems pretty easy in theory to me, but I am stumped. I have a webapp running on Tomcat 4.1. A user signs in and I authenticate them based on a MySQL database and all that fun stuff, and add their UserID to the HttpServletRequest.Session if their signon is successful. This is non-secured...
  10. mluken

    Derived tables / alias error when doing a union

    I didn't know that UNION would remove duplicates. That is good to know, so I have removed that. The EMAIL_FRMT column does exist... I just simplified the query slightly to post it and neglected to remove it there.... If you look a little closer, ytou will see that the 2 halves are slightly...
  11. mluken

    Derived tables / alias error when doing a union

    Ah, but looks can be deceiving! I thought that also, however, it doesn't like the "curly" alias in this case, giving me the error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') as larry ) T1 ORDER BY...
  12. mluken

    Derived tables / alias error when doing a union

    I am running version 4.1.1a of MySQL server, and I am running into a problem. The below SQL query causes an error, saying: [MySQL][ODBC 3.51 Driver][mysqld-4.1.1a-alpha-nt]Every derived table must have it's own alias I have looked at this query up and down and can't find anything wrong with...
  13. mluken

    Problem with a timestamp query???

    I am able to run this query in access directly, but when I call it from my java application ot gives me an error - do I need this timestamp formatted differently or something of that nature??? DELETE FROM DB2_APPNAME_PNDING_PROF_OWNRSHP WHERE TS < #12/09/2004 05:35:03 PM# AND USR_ID <> 0...
  14. mluken

    ServletInputStream error when reading more than once

    The problem I am getting into is that to incorporate this into my servlet, I really can't store the data and use it later. The first time I rad it, I need to know the form elements. This happens in the core of my servlet which is used by many other applications, and those values need to be set...
  15. mluken

    ServletInputStream error when reading more than once

    I have an application which needs to look at fields in a multipart request in several different places of the code. The first time I look at the request, it works just fine, but every time after that it doesn't. Here is a simplified example of what is happening: private ServletInputStream...

Part and Inventory Search

Back
Top