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 wOOdy-Soft 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 flowcontrol

  1. flowcontrol

    Can't connect to Oracle using Win32::ODBC

    Ooooooh! You're absolutlely right. Thanks!
  2. flowcontrol

    Retreiving message from MQseries with Msg_Id

    I know nothing about MQSeries, but I don't see where you "open a second queue".
  3. flowcontrol

    Can't connect to Oracle using Win32::ODBC

    I am having trouble connecting to an Oracle 10g Release 2 database using Win32::ODBC. I receive the following error message: 'The instruction at "0x7c911e58" referenced memory at "0xffffffff". The memory could not be "read"'. My code: use Win32::ODBC; $connectionString = 'BATHY'; $db =...
  4. flowcontrol

    Headers created with CGI-Session aren't included by IIS

    My code sets a cookie using CGI::Session. It works fine on my development server, but not on my client's server. Both machines are running Windows 2003 Server, IIS 6, CGI-Session 3.95 and Perl 5.8.7. On my server, the output is (literal line-end characters are shown for clarity): HTTP/1.1...
  5. flowcontrol

    Headers created with CGI-Session aren't included by IIS

    Although the problem (HTTP headers appearing in the browser) was observed using IE 6.0SP1, the output that I presented was obtained using telnet. I just opened a connection to port 80 and sent: GET /flrc/index.pl HTTP/1.1 Host: flrc-dev.host.domain Accept: */* There are no firewalls between...
  6. flowcontrol

    Headers created with CGI-Session aren't included by IIS

    My code sets a cookie using CGI::Session. It works fine on my development server, but not on my client's server. Both machines are running Windows 2003 Server, IIS 6, CGI-Session 3.95 and Perl 5.8.7. On my server, the output is (literal line-end characters are shown for clarity): HTTP/1.1...
  7. flowcontrol

    NoClassDefFound error

    You're right on the mark. I figured it out eventually. Java 2 does not allow classes in the default package to be imported. I had failed to put a package declaration at the top of the file. Sheesh! How could I have forgotten that? Thanks sedj!
  8. flowcontrol

    context.xml problem

    You say you are having problems using context.xml, but you don't say what your problems are! What is the problem? And, what does making a dynamic link have to do with it? BTW, what's a "dynamic" link? Do you mean that you want your app's root to reside somewhere other than the webapps...
  9. flowcontrol

    Tomcat roles for specific applications

    I think that you should be able to write a servlet that uses the Tomcat Manager's HTML interface. The way I envision it, access to this servlet is restricted to the desired user. The servlet sets request headers for the username and password that Tomcat Manager requires, then issues an HTML...
  10. flowcontrol

    NoClassDefFound error

    I'm coming back to a project after not working on it for several weeks. I created a new servlet for my web-app and "registered" it in the app's deployment descriptor. I reloaded the app using Tomcat Manager. When I try to invoke the servlet, I get a NoClassDefFound exception. The class...
  11. flowcontrol

    cannot start up my Tomcat

    That's because you haven't set the environmental variables. I would set the JAVA_HOME variable to 'C:\J2EE_1.4'. CATALINA_BASE and CATALINA_HOME should point to the Tomcat installation directory ('C:\Tomcat 4', but it would be safer to use the 8.3 dirname, 'C:\Tomcat~1'. Use dir /x c:\tomcat*...
  12. flowcontrol

    Servlet context for non-servlet bean

    Taking your idea of writing a setter method for setting the context, I also would have to move the initialization out of the constructor (because it doesn't have all the data it needs at that point. I would go back to having only the default constructor and would create setContext() and...
  13. flowcontrol

    Servlet context for non-servlet bean

    You're right. request.toString() prints OK. You're right about the constructor. I had a one-arg constructor, but I had commented-out my default constructor. Beans must have a no-arg counstructor, right? Here is what I have now: public TopIdBean() { super(); } public...
  14. flowcontrol

    Servlet context for non-servlet bean

    sedj: Yes, I've imported my package, but it's not necessary because I'm using the fully quallified class name (I tried it both ways just to make sure). The error is that the compiler can't resolve the symbol "request". I'm stumped. It looks like it should work; I mean, 'request' has to be...
  15. flowcontrol

    Newbie to Java software programming

    Check out www.BruceEckel.com . You can download (for free) several books that he has written, including "Thinking in Java, 3rd. Edition" (the book download page is at http://64.78.49.204/). This book has earned many accolades, including "best" by editors and readers of JavaWorld. Readers seem...

Part and Inventory Search

Back
Top