Possible to connect remotely to Apache TomCat JSP application server

Hi, I've just installed an Apache TomCat server and locally playing around with some JSP and Servlets.
I have an website which is hosted remotely by an hosting company.However they do not provide JSP/Servlets server as an service.
I want to know is it possible to add some code or something which connects to my JSP/Servlet TomCat server remotely. So, allowing me to add JSP code or Servlets to say my index.html at my website host location which then connects from their to my TomCat server JVM and spit the goods back out at my website location.
Is this possible? seems quite awkard?

You are certainly not in an ideal situation. While you could use AJAX, and a library like DWR to send requests between the hosted website and whatever JSP/Servlet engine you have available, the resulting application will likely be slower and less reliable than if you hosted it all in the same place. Realistically, you won't save yourself any effort by doing it this way. Application hosting is a lot more resource-intensive than hosting static content, and even more so due to the amount of abuse that goes on in the wild Internet.
While you've solved the problem temporarily, your JSP/Servlet engine is still vulnerable to DoS-based attacks once it's determined where your AJAX servlets reside. The only long-term solution is to go with a provider that has proper JSP hosting that is known to have good security.
Brian

Similar Messages

  • Is jakarta-tomcat is Application Server ?

    Is jakarta-tomcat is Application Server or Only Web container ?

    I think we can call it application server, but there's something we have to make clear.
    Technically, Tomcat isn't a complete application server, it's only a JSP/Servlet container. But web server is so simple that it doesn't take much effort for a server like Tomcat to embed web server function, so Tomcat can serve as ordinary web server as well. That I say he isn't a complete app server is because it doesn't support EJB and other application model.

  • Is there a possibility to run tRFC entries alone in Separate application server

    Please let me know if there is a possibility to run tRFC entries alone in separate application server.
    If yes , kindly let me know how it can be tracked and separated to server as we have immediate idocs also which will run via tRFC.
    Thank you !!

    Hi,
    Thank you for your interesst.
    This internet button key is one of buttons located above the keyboard near the power button. What I have achieved to this moment was to stop it functionality in the system by clearing the entries in the fields Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\17\ShellExecute and entry
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7\Association that was http
    After these changes in registry the behavior of the button was suppressed, the Firefox stopped to start unexpectedly all the time – so in system it works. But the problem is still when I have opened Firefox. Every time when you want to surf in internet – the homepage is activated also unexpectedly. I wrote this post with intention to ask if there is a possibility to switch off the functionality of this quick launch button in Firefox. Because I assume Firefox overrides the system setup – this I have made in registry. I tried with some option changes in about:config but without success. And I know that for older versions of firefox was some option in about:config do disable_quick launch button. But in 10.0.2 I couldn't locate it.
    Thank you
    Regards
    Lukasz

  • Is it possible to connect OJDBC14.JAR with tomcat?!

    Hello,
    I�m using tomcat and receiving the error bellow ...
    I�m using ojdbc14.jar and I configured the tomcat like this:
    URL: jdbc:oracle:thin:@localhost:1521:xe
    Class: oracle.jdbc.driver.OracleDriver
    There is no problem to visit pages that only show the result of searches... So the problem happend when i try to visit the pages that creates or updates a data base register...
    What is the problem?! Is it possible to connect tomcat and oracleXE DB using ojdbc14.jar?!?
    Please someone....help me
    Gustavo Callou
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: handle de instru��o n�o foi executado: getMetaData
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17

    Hi,
    the problem is that is I little bit dificult to debug with tomcat...
    I have already read:
    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=63633
    and the marco�s blogs on:
    http://blogs.sun.com/marcoscorner/entry/creator_2_ea_webapps_and
    So I concluded that it is possible to use the ojdbc14.jar of oracle, but I still receiving the getMetaData erro... what am i supose to do?!
    Is it possible to someone send me some example that works fine?!
    Bellow there is a code example that i use to update the data of one row...
    In the development It works fine... but with tomcat using the OJDBC14.jar does not... I�m receiving this:
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: handle de instru��o n�o foi executado: getMetaData
    How can I change my code to does not receive this erro anymore with tomcat using OJDBC14.jar version 10.2.0.1.0?!
    public void prerender() {
    try {
    getSessionBean1().getTb_setorRowSet().setObject(1,
    getRequestBean1().getCodigoSetor());
    tb_setorDataProvider.refresh();
    } catch (Exception e) {
    error("Cannot read tracks for " +
    getRequestBean1().getCodigoSetor() +
    ": " + e.getMessage());
    log("Cannot read tracks for " +
    getRequestBean1().getCodigoSetor() + ": ", e);
    public void destroy() {
    tb_setorDataProvider.close();
    public String btn_salvar_action() {
    try {
    tb_setorDataProvider.commitChanges();
    log("update: changes committed");
    info("Opera\347\343o Salva");
    } catch(Exception e) {
    log("update: cannot commit changes ", e);
    error("Cannot commit changes: " + e.getMessage());
    return null;
    Please Marco or anyone help me!!!
    Thanks
    Gustavo

  • Linux Apache /Tomcat - JSP

    Hi,
    I am very new to the Apache/Tomcat world (and Linux for that matter).... what I have is RedHat 9
    Apache version 2.0.40-21 (pre-loaded with RH9)
    is this enough for running JSP with database connectivity. or tomcat also required.
    help me

    Hi,
    Yes Tomcat and Apache can run on the same server as long as they are both configured to do so. IE: You could have apache serve all the static files (html, images, etc.) and then have Tomcat just serve the JSP/Java side of the web application.
    This config tends to perform better because if I'm correct Tomcat handles HTML and image requests slower than apache does (or did they fix that?).
    As for the ports, if I'm right the default port on Apache is 80 and Tomcat is 8080.
    dapanther...

  • Is it possible to run C++ in Apache Tomcat?

    Can anybody please tell whether it is possible to run the C++ code in Apache Tomcat Application Server.
    I could not find any proper answer when i googled.

    Tomcat is a java web server. 'nuff said I
    would say. The only way to invoke C++ code is by
    putting it in a java JNI compatible library and
    invoking it from java.Not quite this simple. Tomcat can be configured to run CGI and, depending on what the c++ is doing, it may be possible to run it as CGI.

  • How can I port an existing Tomcat (JSP) application in SAP Netweaver 2004s

    Hi All,
    I want to port an existing JSP application (using Tomcat as Web server) in SAP Web AS 6.40.
    Please any one suggest me.
    Eagerly looking forward to your reply......
    Thanks and Regards
    Avijit Dhar

    Hi,
    The maximum number of work processes depends on several things like the below.
    1)  Majorly on Your primary Memory
    2)  Hardware capacity
    3)  Operating systems
    4)  SAP version as well...
    You need to calculate the work processes with your primary memory.
    Every work process should take 150 mb space on memory.. so you need to increase the work processes that should be campatible with your primary memory.
    And please read the OSS notes as suggested by our frnds then go ahead with your rquirement.
    -Srini

  • Integrating Web server (eg Apache) with the application server

    I am thinking a project in which I use more static HTML files than JSPs. One way is to use an Apache server to display those HTML files (it should be faster), and deploy the JSPs into the J2EE server; another way is just simple to change the web container�s port to 80 (of the PE 8), and wrap all the files into a war file and deploy it into the application server.
    So can someone advise my which way is better? And if I use the first one, I�d like to know if it is the same way to integrate Apache with Tomcat.
    Thank you very much!

    In the past there has been a belief that the Apache web server serves static content faster than tomcat. Site managers would configure apache to deliver static content and integrate a web container to handle the dynamic content. I believe this argument is losing steam as tomcat gets better. I guess the only way you will know for sure is to deploy your application in PE 8.0 and then in an apache/web container configuration and do some benchmarking. I have no such benchmark data to compare and I base my comments on what I have read in newsgroups over the past months. Personally, I would opt for the app server only setup just to ease configuration. Others may have a different opinion.

  • Installing Tomcat as application server

    I have to install Tomcat 4 on a linux machine (Debian) as an application server (that is Apache serves the static content (html) and Tomcat serves jsp file)
    How can I do ?
    Thanks
    Roberto
    ([email protected])

    For installation see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
    And for integration of Tomcat with Apache web server, see if this helps
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-apache-howto.html

  • Unable to remote deploy to Sun Java Application Server 9.1

    How do I configure Studio Creator to remote deploy to a stand alone sun Java Application server 9.1 installation ? I have tried configuring it as a remote deployment server in the IDE but that doesn't work.
    Edited by: TroyDuncan on Feb 19, 2008 2:25 PM

    See the following url for Supported deployment servers of the Sun Java Studio Creator IDE
    http://developers.sun.com/jscreator/sysreqs/depservers.jsp
    I would recommend using NetBeans . Sun Java Application Server 9.1 is tested with NetBeans:
    http://www.netbeans.org/community/releases/60/relnotes.html#supported_technologies
    Here are some urls to get started with NetBeans:
    http://www.netbeans.org/index.html
    http://www.netbeans.org/kb/index.html

  • DB2 Connect installation for more as one application-server...

    Greetings,
    We've installed SAP 4.6D and migrated to ECC 6.0...
    also migrated from ICLI to DB2 Connect.
    We've 4 application server's on Win2k3.
    What's the perfect, with best performance - installation from DB2 Connect ?
    DB2 Connect on every appication server or on central instance server (connect-mode: server client) ?
    I'm not found tips or document's on SAP Notes (description installation procedure for <b>more as one</b> SAP application server's).
    Regards, Markus

    Hay Markus,
    You have the classic tradeoff here: like Thomas mentioned installing a DB2 connect on every server reduce latency but give you more work on an upgrade or definition change, installing just one DB2 connect is easier and more secure but have an inherent performance leg.
    I’d recommend installing on all servers with a shared parameter file or write a distribution script to distribute the file to all severs from a central location.
    Good luck,
    Uri Lifshitz.

  • Remote debugging in sun one application server 8.1 options

    Hello Techies,
    I want to remote debug sun one application server 8.1
    I had followed remote debugging documentation on MyEclipse site. My sun one server is running under 8080 port. so I had done the modifications in domain.xml as follows
    debug-enabled="true" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8080"When i change this address to 8080, I am unable to start up the server. Can you guys tell me am i missing any thing ??
    Why I am unable to start up the server?? If i change the port no to 8000 I am able to start up the server.
    regards,
    Krishna

    And just to make an unfounded guess: do you have to specify the debug port or the request port there? If it's the former, it'll stand in its own way.

  • Is tomcat an application server or just a servlet container?

    As tomcat doesnt support EJB etc can it be called an application server? Also need to know are Websphere, Weblogic etc are Application servers? can they be reffered as webservers?

    As tomcat doesnt support EJB etc can it be called an
    application server? No
    Also need to know are Websphere,
    Weblogic etc are Application servers? can they be
    reffered as webservers?Sure, but typically you call them application servers and it's implied they have the functionality included in a web server. A web server is a subset of what you'll find in an app server.

  • Cannot connect to Instance of SAP NetWeaver Application Server ABAP & SAP Business Warehouse 7.4 SP8 on SAP HANA 1.0 SP8

    I have created an instance and activated it succesfully in CAL (status is active). When I click Connect from the instance line, Remote Desktop tries to connect to frontend IP. The connection is not formed but instead I get an error message: "Remote desktop cannot connect to the remote computer for one of these reasons: 1)Remote access to server is not eabled 2)The remote computer is turned off 3) The remote computer is not available on the network.
    Could you please help me to get connected. Thanks!

    Hi Hurtta,
    Could you check that you are not behind a firewall that does not let you open an RDP connection to the VM?
    Best regards,
    Stanimir

  • CAD Problem: Lost connection with the cisco unified ccx application server

    I have two locations in our help desk area that consistantly loose connection. I checked the network and we ran new cables. Still having the same issue. They have connectivity to everything else when they loose connection to CAD so I believe there is something going on with the program itself. I have attached the logs from both. There is nothing else that lives on their subnet.
    There are 2 servers, the primary 172.29.0.22 and the secondary 172.29.0.23. The Primary is the active server so it is in the same building as the agents.
    Can anyone please advise? any help would truly be appreciated!

    Hello DJ,
    Thank you for replying. No nothing else lives on their subnet.
    There are 2 servers, the primary 172.29.0.22 and the secondary 172.29.0.23. The Primary is the active server so it is in the same building as the agents.
    I am completely stumped. I have no Idea why this is occuring.

Maybe you are looking for

  • Better idiom for a factory?

    Our project has about 25 exception classes, which are all subclasses of a common exception class (call it FooException) which itself extends java.lang.Exception with some additional functionality to make these exceptions easier to use in our framewor

  • How do I get my music on new and noteworthy

    I have just as many reviews and ratings as some of them, others I have more than them so how do I get my music featured ?

  • Error in Transport... Info provider does not exist

    Hello, I'm getting an error 12 and my transport is getting cancelled due to the following message: Infocube/Infoprovider 100481 does not exist Error R7 791 when handling objects with type R3TR CUBE. I tried looking for a solution. I came across this

  • Difficulty with upgrading Photomatix plug-in

    Hi there, So I recently upgraded to Aperture 3, and went to update my photomatix plug in last night to the new 64-but version. I un-installed the old version and then installed the new one, but when I went into Aperture it had reverted to the old-ver

  • Save date in date format in workbook

    Hi Gurus, When I see the BEX report, the dates in the date column are in the date format. When I save it as work book and disconnect from BW, they are in the text format. So, when I try to sort it is doing in wrong way. Is there any way to save the d