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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: vulcand4
  • Content: Threads
  • Order by date
  1. vulcand4

    How does mysql_pconnect do its stuff?

    I am using mysql_pconnect to get a connection to my mysql database. I use it instead of regular mysql_connect because of the number of connections I have to make. I get the connection at the beginning of my script and use it numerous times before the script is done. I thought that...
  2. vulcand4

    -Xmx maximum on 32 bit machine

    What is the maximum value I can specify in the -Xmx JVM parameter on a 32bit machine? I have 4 gig of RAM on the machine, but I get the following if I specify more than -Xmx1024m: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the...
  3. vulcand4

    web app Context xml file in tomcat 6

    I am attempting to deploy a web app to my tomcat 6 instance. I have created my war file which contains my app.xml context file (in the META-INF directory). When I deploy the war (move it into the webapps directory), the app.xml file does not automatically get copied to the...
  4. vulcand4

    bad ELF interpreter: No such file or directory

    I accidentally erased my glibc RPM and now I get the following when I try to attempt any commands: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory I can't even ftp or ssh to the server. Any suggestions?
  5. vulcand4

    help using indexed property in logic:equal tag

    I am trying to use a "logic:equal" tag in my jsp. <logic:equal value="" name="SimpleListSettingsForm" property="totalsIndexed[?]" scope="request"> If I put a hardcoded value in the index (denoted by the "?") it works fine, but I have this code in a loop (logic:iterate)and the index needs to...
  6. vulcand4

    how do I determine which submit button was clicked?

    Anyone know a way to determine which submit button was clicked (assuming there is more than one)? I need to determine which button caused an html form to submit. I was thinking of putting the code in the onsubmit() event handler of the form itself, but I don't know how to determine which...
  7. vulcand4

    JSP expression not resolving correctly in &lt;html:textarea&gt; tag

    I have an iterate process set up to loop through the values in an ArrayList. I then want the value of the loop index (specified by the "indexId" attribute) to be used to get an indexed parameter from my ActionForm. Here's a snippet: <logic:iterate id="field" name="Template0Form"...
  8. vulcand4

    FileOutputStream write(byte[] arg0) causes extra bytes???

    I am using a FileOutputStream to write binary (byte array) data to a file. Right upon instanciation of the stream: FileOutputStream fos = new FileOutputStream(new File("c:\\temp\\file.bin")) I get 0xFFFE added to the front of the file. (before I even try to write to the stream). Then when I do...
  9. vulcand4

    From Windows to Linux

    I've got a production MySQL database running on a Linux server, but do my development on a Windows laptop. I recently overhauled an existing app and needed to write data conversion routines in order for my existing data to map to some new data layouts. I'm running the conversion on my laptop...
  10. vulcand4

    forwarding request to new servlet with cookies

    I am using the forwarding capabilites of Java Servlets to forward a request from one servlet to another based on some input criteria. The first servlet builds a cookie and normally sends it in the response back to the user. Then when the user sends a new request, the cookie gets sent along to...
  11. vulcand4

    mod_rewrite / RewriteCond question

    I'm trying to do a rewrite using: RewriteCond %(HTTP_HOST) ="admin.host.com" [NC] RewriteRule ^(.*)$ https://www.host.com/admin [R=permanent,L] But the rewrite doesn't happen. Is there a way to see what's actually in the %(HTTP_HOST) variable, so that I know whether it's the RewriteCond or...
  12. vulcand4

    subdomain processing with IP based virtual hosts?

    I'm looking for a good solution for hosting subdomains with IP based virtual hosting instead of name based virtual hosting. I have an IP address from which I'm serving up SSL based web content. Because I'm using SSL, I can't use "NameVirtualHost". I need to serve up pages from...
  13. vulcand4

    need sendmail to send mail for local domain out the door.

    I have a Red Hat 9 server running sendmail. On it is running an app that periodically sends reminder emails to clients. Everything runs fine except when the client happens to have an email address with my domain. If I do a "hostname" lookup on my server I get "mydomain.com". If the email app...
  14. vulcand4

    ClassNotFoundException...while reading serialized object

    I'm running a servlet/jsp app with a MySQL database behind it. One of my tables is used to buffer serialized email messages in a "blob" column. I am using prepared statements to do my inserts and selects. upon insert I do the following: com.app.util.SomeObject someObject = ...
  15. vulcand4

    round rectangle corners

    Is there a way to round just two corners of an existing rectangle?
  16. vulcand4

    modify Styles dynamically in Netscape

    I need the ability to modify the "display" style of a <tr> element depending on a certain event. If an event occurs I need to make the display style="none" if another event occurs, I need to change the display style back to "block". I figured out how to do it in IE, but Netscape just sits...
  17. vulcand4

    how do I install mod_jk?

    I currently use Apache 1.3 connecting to Tomcat 4.1.18 on a Red Hat 7.2 box. I'm using the old Warp (mod_webapp) connector to link Apache and Tomcat, but it seems to be causing problems with my DBCP JNDI connection pool resources. I'm trying to figure out how to install the new mod_JK2...
  18. vulcand4

    java mail question

    I'm trying to send an email from a servlet using java mail. It isn't working because the SMTP server doesn't recognize the destination as a valid receipt host. How can I use JavaMail in a servlet without forcing the smtp server to do &quot;open relay&quot;?
  19. vulcand4

    Java Mail question

    Does anyone know if it is possible to specify a &quot;dead letter&quot; address in Java Mail? I need to be able to track emails that are undeliverable and so I need to specify some sort of return mail address. That way someone can manually interject and handle those emails.
  20. vulcand4

    JSP finally clause

    I have a JDBC connection pool set up and working, but if I get any kind of exception while processing my JSP, the connection can't be returned to the pool. Is there a way to specify clean up code to occur in the finally clause in a JSP?

Part and Inventory Search

Back
Top