Tomcat in jbuilder

I'm using Tomcat 3.2.1 in JBuilder5. I create a new servlet class which is the basic template created by JBuilder5:
package xxx;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
public class Servlet1 extends HttpServlet {
private static final String CONTENT_TYPE = "text/html; charset=BIG5";
/**Initialize global variables*/
public void init() throws ServletException {
/**Process the HTTP Get request*/
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head><title>Servlet1</title></head>");
out.println("<body>");
out.println("<p>The servlet has received a GET. This is the reply.</p>");
out.println("<p>"+Calendar.getInstance().getTime().toString()+"</p>");
out.println("</body></html>");
/**Clean up resources*/
public void destroy() {
But when I run the servlet, the following exception appear continously in 2 seconds interval:
Ctx( ): IOException in: R( + / + null) Not an ISO 8859_1 character:�P
Ctx( ): IOException in: R( + / + null) Not an ISO 8859_1 character:�P
Ctx( ): IOException in: R( + / + null) Not an ISO 8859_1 character:�P
Do anyone help me to solve the problem?

I want to add a little thing. When I connect to internet, I find that the error ceases to occurs and the servlet runs normally. I want to ask why I should connect to internet?

Similar Messages

  • Tomcat Servlet Security Problem? : Start Excel with NJAWIN - COMObjects

    I get an exception when I start my programm as servlet , as application it works just fine (when I start it as Servlet in the internal Tomcat from JBuilder it also works fine).
    Application app = new Application(Application.progID); // interfaces built with java2com for Excel
    com.develop.jawin.COMException: 8000ffff: CoCreateInstance for "{024500-00-0000-c000-000000000046}" failed
    at com.develop.jawin.win32.Ole32.CoCreateInstance(Unknown Source)
    at com.develop.jawin.win32.Ole32.GetFromProgID(Unknown Source)
    at com.develop.jawin.DispatchPtr.<init>(Unknown Source)
    at excel2pdf.Excel._Application.<init>(_Application.java:31)
    Actually Excel is started but as SYSTEM and not as my Username. Perhaps there's a problem with the security policy, I already gave all rights to catalina for my whole projekt( each directory of it). Have smb already had this problem? Any Ideas?

    Thanks for answering
    In my case I think I cannot use POI because I need Excel
    and a Virtual Printer , so I can convert excel files with exactly the same
    format to PDF. POI is suppose better idea for creating or manipulating
    OpenOffice files (they are working together with OO on file formats),
    and unfortunately OpenOffice doesnt work fine with charts (I already had
    this solution, openoffice-server and Uno ).
    It must be smth with Tomcat-Configuration or security, because my
    programm is working with the internal tomcat-server of JBuilder, and
    as application too. In both cases Excel is started with my username and
    not SYSTEM (my tomcat server is started as service, perhaps thats why
    by starting excel from my servlet Excel is by user - SYSTEM).

  • Configuration of tomcat v5

    hey, im trying to configure tomcat with apache ant, jbuilder, jmeter,. it'll run on a single machine. can somebody tell me the step by step configuration, please... i really need this so i can finally finish my college. so please please help me... i tried to do it myself. i installed 4 intances of tomcat with jbuilder, unfortunately it does not work =( . thanks a lot.

    Originally posted by: scott.anderson.genuitec.com
    Jeff,
    Thanks for the recommending MyEclipse. However, the URL was mildly
    misstated. The correct one is http://www.myeclipseide.com.
    --Scott
    "Jeff Duska" <[email protected]> wrote in message
    news:c6k01d$a78$[email protected]..
    > John:
    >
    > When I had any problems with the Sysdeo Eclipse Tomcat plugin, it was
    > because I was running the JRE and not JDK. This because Tomcat plugin
    > needs access to the tools.jar. What you might try is to use the -vm
    > opition and force Eclipse to use the JDK.
    >
    > I'd also suggest looking at the MyEclipseIDE, http://www.myeclipse.com.
    >
    > HTH,
    >
    > Jeff
    >
    > John MacIntyre wrote:
    > > Hi,
    > >
    > > I am very new to Java, Eclipse, and Tomcat. And I'm having alot of
    problems
    > > with configuration.
    > >
    > > Java - j2sdk1.4.2_04
    > > Tomcat - v5.0.19
    > > Eclipse - v2.1.3
    > > Sysdeo Eclipse Tomcat Launcher plugin - v2.2.1
    > >
    > > The plug in has an option for the Tomcat version in Preferences > Tomcat
    >
    > > Tomcat Version. Which to me implies it will work with Tomcat 5.
    > >
    > > When I try to start Tomcat from the plug in, I get a series of errors
    > > with the following being the most suggestive (imho).
    > > java.lang.ClassNotFoundException: org.apache.catalina.loader.DevLoader
    > >
    > > So I installed "devloader.zip" into "TOMCAT_HOME/server/classes". The
    > > readme for devloader.zip says it is only for Tomcat version 4. I decide
    to
    > > try it anyway; Tomcat starts successfully, but when I go to start the
    > > servlet ... I get this:
    > > ---------------------------------------
    > > Exception occurred during launch
    > > Reason:
    > > Failed to connect to remote VM. Connection refused.
    > > ---------------------------------------
    > >
    > > So ... can I run this with Tomcat 5? Should I uninstall Tomcat 5
    (again)
    > > and install v4 this time? Am I missing something completely obvious
    that's
    > > well documented and makes me look like a complete fool? ;-)
    > >
    > > Thanks in advance,
    > > John
    > >
    > >
    > >

  • Missing Parameters when JSP Forwarding

    I am having difficulty with passing parameters when a forward occurs from
    one JSP to a second JSP. When I try to get those parameters on the second
    JSP I am getting nulls since it never actually receives them as parameters.
    Here is what the code looks like ...
    first JSP
    ======
    <jsp:forward page="second.jsp" >
    <jsp:param name="arg1" value="hi" />
    <jsp:forward>
    second JSP
    ========
    String arg1 = request.getParameter( "arg1" )
    This situation is occuring for me on iPlanet Web Server 4.1. (Fyi, when I
    use the same JSPs on Tomcat through JBuilder, the parameter is passed to the
    second JSP.) I am wondering if if I am missing something on how iPlanet
    wants me to do pass arguments when forwarding or whether I just need to find
    an alternative way to accomplish my goal. Thanks in advance.

    In your second JSp try using.
    String arg1 = (String) request.getAttribute('arg1");
    I'm not sure if this is correct but from my understanding of Servlets you can not set a parameter programatically without overriding the ServletRequest. However, you can set an attribute. If this does not work then the following absolutely will:
    JSP 1
    <% request.setAttribute("args1","hi");
    <jsp:forward page="second.jsp"/>
    JSP 2
    <% String param = (String) request.getAttribute("arg1"); %>
    Hope this helps

  • Complete newbie questions

    Hi,
    I am completely a beginner and want to understand some terms about J2EE.
    1. In Tomcat 4, it uses Catalina as servlet container. But, what is ANT? When and how should be used?
    2. I am using tomcat 4, do I still need to install the implementations of the J2EE platform in http://java.sun.com/j2ee/1.4/download-beta2.html ? It seems it is an application server only like weblogic or jboss.
    Thanks for advice

    Yes, JBuilder can call Ant directly, so you don't have to use command line. You just need to open build-ant.xml and you'll see little ant on this tab.. Press run, and that's it!
    If you want to use something other than Tomcat on JBuilder, go to Tools->Configure Servers. There you'll find list of servers that JBuilder supports and run. If your app server have another JDK, this JDK will be noticed in JBuilder as another installation of JDK. Everytime you select this server as server that runs project, JBuilder selects another JDK.
    I didn't develop anything with this app server you have downloaded, but all other app servers are not free (BES,WebSphere,WebLogic). If you have trouble connecting this app server to JBuilder, try to ask on borland newsgroups...

  • Oracle JML taglib and debugging

    I have iAS 8i v1.0.1 installed have been attempting to get the JML tag library working correctly using "jml.tld" in the taglib directive (->JSP1.1). Some of the JML tags seem to work correctly, such as <jml:if> and <jml:choose>, but <jml:for> does not iterate more than once. I have found that using the "oracle.jsp.parse.OpenJspRegisterLib" servlet in the taglib directive (->JSP1.0.0.6.1) does work as expected, but "jml.tld" does not.
    My desire is to get a JSP application to be debuggable inside JBuilder 3.5 pro while using the JML taglib. I decided that having Tomcat running through JBuilder would be the easier than the Apache/Jserv option, and was hoping that the "jml.tld" option plus oracle jars would simplify the setup. But the "jml.tld" option does not even seem to work with iAS itself, and shows exactly the same symptoms when running through Tomcat in JBuilder. I also attempted to get the "oracle.jsp.parse.OpenJspRegisterLib" servlet running in Tomcat but to no avail.
    My questions are:
    Is there a patch for iAS which will fix the "jml.tld" problem?
    Has anyone attempted to get the JML tag library working with Tomcat &/or in a debugger?
    Thanks in advance,
    Jason Wyatt
    Web IT Division
    Bailey Bailey Bailey
    Wollongong, Australia

    Thanks for letting us know the situation.
    We are looking into this issue. We will fix it in the next release.
    Runtime tag lib ("jml.tld") should work in both iAS and Tomcat.
    Compile time tag lib ("oracle.jsp.parse.OpenJspRegisterLib") works in OracleJSP only.
    Thanks again.

  • ADF FACES EA14: There is no SkinFactory

    Hello!
    I use tomcat 5+JBuilder 2005. I receive the message (in EA14 )
    "WARNING: There is no SkinFactory."
    In EA13 it is ok.
    Thanks.
    Serg.

    I am using Jdeveloper 10.1.3 with the OC4J Standalone 10.1.3. I have already configured the OC4J instance for using ADF and checked that the ADFFacesFilter is included as you mentioned in the article but still i got the same error:
    2006-05-01 15:56:41.637 WARNING There is no SkinFactory
    2006-05-01 15:56:41.954 ERROR Could not get stylesheet cache

  • Loading SQL SERVER JDBC Driver - problem

    Hi!
    I want my application to use SQL Server instead of MS Access it currently uses.
    I downloaded MS SQL Server 2000 driver for JDBC and trying to connect with it, using
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    I set up CLASSPATH system variable to include required .jar's, as driver HELP says.
    Still I have an exception from Class.forName(), which cannot probably find this driver.
    I've tried to find out about this in different web sites, but could not figure out what I am missing... Should I import anything, link some libraries or what?
    I just took a course on Java Enterprise, although I have 15 years in C etc. I would appresiate any answers or hints where to look for a problem.

    Depends on the kind of app that you're running.
    I don't have a system CLASSPATH set up at all. The harm of it is that folks can have a false sense of security when they set it. If the app they're using ignores the system CLASSPATH, as Tomcat, Eclipse, JBuilder, and others seem to, they can waste a lot of time scratching their heads over CNF Exceptions when their CLASSPATH appears to be 'set'.
    If you're running a desktop app, I'd recommend invoking it like this:
    java -classpath jar1.jar;jar2.jar YourAppwhere the path to each JAR is separated by a semi-colon if you're using Windows.
    If you're running a Web app (e.g., on Tomcat), you'll have to put the JDBC JAR where the container needs to find it. The Tomcat docs say that JDBC JARs go in the TOMCAT_HOME/common/lib directory.
    Send more detail about exactly what you're doing. - MOD

  • Missing version field in response...( Tomcat, JBuilder )

    Hello,
    (Sorry for a long message, but I saw several times messages with the only
    response like "write more details...")
    I'm trying to execute a simple Web Start application using version-based download.
    I'm constantly receiving the following error:
    Missing version field in response from server when accessing resource:
    (http://localhost:8083/checkboxcontrol/CheckBoxControl.jar, 1.1)
    Is it possible that there is a bug somewhere within Web Start ?
    The download is working in a basic version - the problem starts to occur when
    I'm changing JNLP to:
    <jar href="CheckBoxControl.jar" version="1.1"/>
    Is there anybody that can help me ?
    (I've read all past messages about "Missing version field in response...")
    Below is all information about the case.
    URL:
    ===================
    http://localhost:8083/checkboxcontrol/CheckBoxControlLauncher.jnlp
    Software configuration:
    ======================================
    JBuilder 9 Enterprise Trial
    Java Web Start 1.4.2
    Tomcat 4.1 (included for debugging inside the JBuilder)
    Windows NT 4.0 SP6a
    Mozilla Firebird 0.6.1
    Please note that I've tried also with IBM Websphere 4 - the same result.
    JNLP file:
    ===================
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8083/checkboxcontrol">
    <information>
    <title>CheckBox Example</title>
    <vendor>Borland</vendor>
    <homepage href="CheckBoxControlLauncher.html" />
    <description>Web Start Example for CheckBoxControl</description>
    </information>
    <resources>
    <j2se version="1.3+" />
    <jar href="CheckBoxControl.jar" version="1.1"/>
    </resources>
    <application-desc main-class="com.borland.samples.swing.checkboxcontrol.Application1" />
    </jnlp>
    File directory contents:
    ========================
    .\Lib (empty)
    .\WEB-INF
    ->\classes
    ->->\checkboxcontrol
    ->->->\WEB-INF
    ->->->->\Lib
    ->->->->->\jardiff.jar
    ->->->->->\jnlp-servlet.jar
    ->->->->->\jnlp.jar
    ->->\classes\com\borland\samples\swing\checkboxcontrol\
    ->->->\Application1.class
    ->->->\Frame1$1.class
    ->->->\Frame1$2.class
    ->->->\Frame1$3.class
    ->->->\Frame1$4.class
    ->->->\Frame1$5.class
    ->->->\Frame1.class
    ->\lib
    ->->\jardiff.jar
    ->->\jnlp-servlet.jar
    ->->\jnlp.jar
    ->\web.xml
    CheckBoxControl.jar
    CheckBoxControlLauncher.html
    CheckBoxControlLauncher.jnlp
    CheckBoxControl__V1.1.jar
    version.xml
    web.xml contents:
    ===================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
    </servlet>
    [... cut ....]
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    <mime-mapping>
    <extension>jar</extension>
    <mime-type>application/x-java-archive</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jnlp</extension>
    <mime-type>application/x-java-jnlp-file</mime-type>
    </mime-mapping>
    </web-app>
    version.xml contents:
    ======================================
    <jnlp-versions>
    <resource>
    <pattern>
    <name>CheckBoxControl.jar</name>
    <version-id>1.1</version-id>
    </pattern>
    <file>CheckBoxControl.jar</file>
    </resource>
    </jnlp-versions>
    Stack trace:
    ===================
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:566)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(DownloadProtocol.java:850)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:580)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:544)
         at com.sun.javaws.Launcher.downloadResources(Launcher.java:735)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:291)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
         at com.sun.javaws.Launcher.run(Launcher.java:167)
         at java.lang.Thread.run(Thread.java:534)

    I took a scan through what you posted and it looked OK - it has to be something simple. Sometimes it helps to compare against a working system - try looking at ScheduleWorld's jnlp.

  • Deploying war files with JBuilder 5 to Tomcat 4

    Hi,
    I'm developing a webapp in JBuilder 5. When I copy my war file to tomcat 3.2 webapps directory and start tomcat it works just fine, but when I copy my war file to the webapps directory in tomcat 4 I have the following error when I start tomcat 4:
    ERROR reading java.io.ByteArrayInputStream@33f8f6
    At Line 15 /web-app/servlet/
    All the examples in Tomcat 4 works just fine, and if I create a war file from the command prompt it also works, but the war file generated with JBuilder 5 doesn't work.
    does this sound familiar?
    please help

    Hi Lilja,
    ran into this myself, and had to do a full web search to find the answer.
    JBuilder5 will let you change the Tomcat version a certain project uses, but it won't necessarily like it.
    Creating a new project with Tomcat 4 as the default server, and then putting your existing files into it seems to work.
    Dodgy, I know, but blame Borland. ;-)
    Ta,
    Martin Hughes

  • Where are Tomcat Java server pages stored in JBuilder 4?

    From what I understand JSP pages should be saved into the ROOT directory of Tomcat.
    I have created a JSP page in Jbuilder 4 but when it saves, it is somewhere entirely different.
    If I right click on the JSP in Jbuilder 4 and select webrun it runs in Jbuilder fine.
    However if I try and run it from IE7 browser with address http://localhost:8080/hello.jsp I get a message saying internet explorer cannot display the page.
    I also did a search on my C drive to find the tomcat ROOT directory but could not find it.
    So what do I need to do in Jbuilder4 to be able to view my developed JSP pages in a browser?
    Thanks,
    Jason.

    Hello,
    I am using version 4 of JBuilder professional.
    I am getting the impression that JBuilder4 does not setup a proper instalation of Tomcat but sets up some temporary directory/link to it when you do a webrun on the JSP.
    Here is the log if it means anything to you:
    C:\JBuilder4\jdk1.3\bin\javaw -classpath "C:\JBuilder4\tomcat\lib\webserver.jar;C:\JBuilder4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\lib\servlet.jar;C:\JBuilder4\lib\webserverglue.jar;C:\OU2007\TM427\EasyBeans\myproject;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar" org.apache.tomcat.startup.Tomcat -config C:\OU2007\TM427\EasyBeans\conf\server8080.xml
    Starting tomcat. Check logs/tomcat.log for error messages
    Setting home to C:\OU2007\TM427\EasyBeans
    Context log: path="" Adding context path="" docBase="C:\OU2007\TM427\EasyBeans\"
    Starting tomcat install="C:\OU2007\TM427\EasyBeans" home="C:\OU2007\TM427\EasyBeans" classPath="C:\JBuilder4\tomcat\lib\webserver.jar;C:\JBuilder4\tomcat\lib\jasper.jar;C:\JBuilder4\tomcat\lib\xml.jar;C:\JBuilder4\lib\servlet.jar;C:\JBuilder4\lib\webserverglue.jar;C:\OU2007\TM427\EasyBeans\myproject;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar"
    JSP Servlet Started
    JSP Servlet Started (Echo)
    Context log path="" :tomcat.errorPage: init
    Context log: path="" File not found C:\OU2007\TM427\EasyBeans\WEB-INF\web.xml, using only defaults
    Context log path="" :jsp: init
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 Scratch dir for the JSP engine is: C:\OU2007\TM427\EasyBeans\work\localhost_8080</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 IMPORTANT: Do not modify the generated servlets</JASPER_LOG>
    Context log path="" :default: init
    Context log: path="" File not found C:\OU2007\TM427\EasyBeans\conf\tomcat-users.xml
    Starting endpoint port="8080" handler="org.apache.tomcat.service.http.HttpConnectionHandler"
    Starting endpoint port="8081" handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
    HTTP:GET /myproject/mybeans/valuebean.jsp 17-Mar-07 08:06:37
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 JspEngine --> /myproject/mybeans/valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      ServletPath: /myproject/mybeans/valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      PathInfo: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      RealPath: C:\OU2007\TM427\EasyBeans\myproject\mybeans\valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      RequestURI: /myproject/mybeans/valuebean.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      QueryString: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007      Request Params: </JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:06:37 GMT+00:00 2007 Classpath according to the init parameter is: </JASPER_LOG>
    HTTP:GET /hello.jsp 17-Mar-07 08:07:15
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007 JspEngine --> /hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      ServletPath: /hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      PathInfo: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      RealPath: C:\OU2007\TM427\EasyBeans\hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      RequestURI: /hello.jsp</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      QueryString: null</JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007      Request Params: </JASPER_LOG>
    <JASPER_LOG> Sat Mar 17 08:07:15 GMT+00:00 2007 Classpath according to the init parameter is: </JASPER_LOG>

  • Upgrad to Tomcat 4.0 with JBuilder 5

    Hi all
    Has anyone tried to upgrad the web server to Tomcat 4.0 with JBuilder 5? I have followed the instruction in the documentation (which said I only need to specify to use Tomcat 4.0 and locate the installation path), however, I still couldn't start the web server.
    I got the following msg when starting web server:
    StandardManager[LiteWeb]: Seeding of random number generator has been completed
    ERROR reading java.io.ByteArrayInputStream@504653
    At Line 11 /web-app/servlet/
    ContextConfig[LiteWeb]: Configuration error in application web.xml
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1276)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:811)
         at org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419)
         at org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1413)
         at com.sun.xml.parser.Parser.content(Parser.java:1499)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
         at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
         at com.sun.xml.parser.Parser.parse(Parser.java:284)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
         at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
         at org.apache.catalina.core.StandardService.start(StandardService.java:388)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    ContextConfig[LiteWeb]: Marking this application unavailable due to previous error(s)
    StandardContext[LiteWeb]: Error initializing naming context for context /LiteWeb
    StandardContext[LiteWeb]: Context startup failed due to previous errors
    StandardContext[LiteWeb]: Error initializing naming context for context /LiteWeb
    WebappLoader[]: Deploying class repositories to work directory D:\myWorkPad_ProTel2\CRMLite\work
    StandardManager[]: Seeding random number generator class java.security.SecureRandom
    StandardManager[]: Seeding of random number generator has been completed
    ERROR reading java.io.ByteArrayInputStream@31aa65
    At Line 11 /web-app/servlet/
    ContextConfig[]: Configuration error in application web.xml
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
    java.lang.IllegalArgumentException: addChild: Child name 'jsp' is not unique
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1276)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.util.xml.AddChild.end(XmlMapper.java:811)
         at org.apache.catalina.util.xml.XmlMapper.matchEnd(XmlMapper.java:419)
         at org.apache.catalina.util.xml.XmlMapper.endElement(XmlMapper.java:119)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1413)
         at com.sun.xml.parser.Parser.content(Parser.java:1499)
         at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
         at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
         at com.sun.xml.parser.Parser.parse(Parser.java:284)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
         at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3345)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
         at org.apache.catalina.core.StandardService.start(StandardService.java:388)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
    ContextConfig[]: Marking this application unavailable due to previous error(s)
    StandardContext[]: Error initializing naming context for context
    StandardContext[]: Context startup failed due to previous errors
    StandardContext[]: Error initializing naming context for context
    HttpConnector[8082] Starting background thread

    Solved it. I ran into this problem too, and had to look all over the place to find the solution.
    In the end it's a matter of binning your current JBuilder project and starting a new one with the same files. For some reason JBuilder5 hates switching Tomcat installations within projects. From there it seems to ignore changes to your web.xml, and insists on yu_hung's error.
    Switch it all into a new project with Tomcat 4 as its default server, and it becomes happy again.
    Hope that helps!
    Martin Hughes

  • JBuilder 2005 Developer - How to add tomcat V5.5.9 server to Enterprise -

    Hi all,
    JBuilder 2005 developer ships with jakarta tomcat V4.1.30 and jakarta tomcat
    V5.0.27
    We have a need to use jakarta tomcat V5.5.9
    We have noticed that under Enterprise -> Configure servers menu of JBuilder
    2005 there is no provision to add another server such as tomcat V5.5.9
    Question
    1) How can we add Tomcat V5.5.9 as server?
    Thanks in advance for any assistance.
    Trajano

    Thanks Nelash. That is good to know. Where can I find more details on this. Here is what I am trying to do. Take the input from the customer and set them as bean parameters to invoke the WebService with a submit button. I want to render the results on the same page. Here is the sample. How do I convert the following into Sites tags?
            <form action="XXXXXXXXX.jsp" method="POST">
                <table>
                    <tbody>
                        <tr>
                        <td>
                                <input type="text" id="toCountry" name="toCountryId"/>
                        </td>
                        <td>
                                <input type="text" id="fromCountry" name="fromCountryId"/>
                        </td>
                        </tr>
                        <tr>
                            <td colspan="10" align="left">
                                <button type="submit">Submit</button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
    <jsp:setProperty property="toCountry" name="conversion" value="${param.toCountryId}" />
    <jsp:setProperty property="fromCountry" name="conversion" value="${param.fromCountryId}"/>

  • Importing tomcat 5.0 into JBuilder

    I am having problems running the new Tomcat 5.0 server in JbuilderX Ent.
    My error is :
    02-Mar-2004 13:06:38 org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.ClassNotFoundException: org.apache.coyote.tomcat4.CoyoteConnector
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:891)
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756)
         at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252)
         at org.apache.commons.digester.Rule.begin(Rule.java:200)
         at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
         at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester.java:112)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1548)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
    help????

    [to charlotte9] :
    Thanks for your information, I've try it, but I got some other exception then.
    although tomcat can starts succesfully, but I found some errors, and jsp doesn't work or still error. I copy the exception for your reference. Thanks.
    [to others] :
    may be this info will work for you.
    Workaround for integrating Tomcat 5 with JBuilder X -
    by Borland Developer Support Staff
    http://bdn.borland.com/article/0,1410,32375,00.html
    chandra chan,
    2004/12/3 &#19979;&#21320; 12:01:59 org.apache.coyote.http11.Http11Protocol init
    &#36039;&#35338;: Initializing Coyote HTTP/1.1 on http-8080
    2004/12/3 &#19979;&#21320; 12:01:59 org.apache.catalina.startup.Catalina load
    &#36039;&#35338;: Initialization processed in 5608 ms
    2004/12/3 &#19979;&#21320; 12:01:59 org.apache.catalina.core.StandardService start
    &#36039;&#35338;: Starting service Catalina
    2004/12/3 &#19979;&#21320; 12:01:59 org.apache.catalina.core.StandardEngine start
    &#36039;&#35338;: Starting Servlet Engine: Apache Tomcat/5.0.30
    2004/12/3 &#19979;&#21320; 12:01:59 org.apache.catalina.core.StandardHost start
    &#36039;&#35338;: XML validation disabled
    2004/12/3 &#19979;&#21320; 12:02:00 org.apache.catalina.core.StandardHost getDeployer
    &#36039;&#35338;: Create Host deployer for direct deployment ( non-jmx )
    2004/12/3 &#19979;&#21320; 12:02:00 org.apache.catalina.core.StandardHostDeployer install
    &#36039;&#35338;: Processing Context configuration file URL file:C:\JBuilderX\thirdparty\jakarta-tomcat-5.0.30\conf\Catalina\localhost\admin.xml
    2004/12/3 &#19979;&#21320; 12:02:03 org.apache.catalina.realm.JAASRealm setContainer
    &#36039;&#35338;: Set JAAS app name Catalina
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardHostDeployer install
    &#36039;&#35338;: Processing Context configuration file URL file:C:\JBuilderX\thirdparty\jakarta-tomcat-5.0.30\conf\Catalina\localhost\balancer.xml
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardContext resourcesStart
    &#22196;&#37325;&#30340;: Error starting static Resources
    java.lang.IllegalArgumentException: Document base D:\o_project\WebPractice\Tomcat\webapps\balancer does not exist or is not a readable directory
         at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
         at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3914)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4142)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardContext start
    &#22196;&#37325;&#30340;: Error in resourceStart()
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardContext start
    &#22196;&#37325;&#30340;: Error getConfigured
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardContext start
    &#22196;&#37325;&#30340;: Context startup failed due to previous errors
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardContext start
    &#22196;&#37325;&#30340;: Exception during cleanup after start failed
    LifecycleException: Container StandardContext[balancer] has not been started
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4481)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    2004/12/3 &#19979;&#21320; 12:02:11 org.apache.catalina.core.StandardHostDeployer install
    &#36039;&#35338;: Processing Context configuration file URL file:C:\JBuilderX\thirdparty\jakarta-tomcat-5.0.30\conf\Catalina\localhost\manager.xml
    2004/12/3 &#19979;&#21320; 12:02:12 org.apache.coyote.http11.Http11Protocol start
    &#36039;&#35338;: Starting Coyote HTTP/1.1 on http-8080
    2004/12/3 &#19979;&#21320; 12:02:13 org.apache.catalina.startup.Catalina start
    &#36039;&#35338;: Server startup in 13459 ms

  • Jboss, Tomcat, Jbuilder

    I am new to Servlets/JSP/EJB and I am trying learn them with using free stuff. Here is my questions. Please some answer these.
    1. Do I need separate Web server to run Jboss/Tomcat. Even though Tomcat is web server many people says it is better have separate web server like IIS or Apache.
    2. Do I need setup jsdk1.4.1_02 before I install Jboss+Tomcat?
    3. Is anyone knows how to intergrate Jbuilder with Jboss and Tomcat?
    Can someone direct me to right direction maybe a website that explaining these stuff.
    AP

    ap3000,
    1. Do I need separate Web server to run Jboss/Tomcat.You do not need a seperate web server to run Jboss/Tomcat. At home I use Jboss and Resin to play around. At work we have Jboss, Tomcat, and Apache. Apache does a better job at static content.
    2. Do I need setup jsdk1.4.1_02 before I install
    Jboss+Tomcat? Yes you need a JDK on the machine.
    3. Is anyone knows how to intergrate Jbuilder with
    Jboss and Tomcat?
    Sorry I know nothing about Jbuilder.

Maybe you are looking for

  • Java en Vista (compatibility)

    Are there any recent articles/websites about compatibility between Java and Vista, Especially older versions of the JRE, like 1.4.x and 1.5.x ? I found http://weblogs.java.net/blog/chet/archive/2006/10/java_on_vista_y.html Or is anyone here working o

  • How can I convert a .dav in to quicktime?

    Hi! I have some footage from a cctv and I must to conver in to a quicktime. Anybody knows how can I convert? Thanks!

  • HT201287 How can I copy a long string of txt messages?

    I am looking to manage a long string of txt messages. Is there a way to copy them in bulk verses one at a time?

  • Need to copy workbook in Analyser

    Hi Experts, I have made a copy of workbook through remote access to the server. Now want to link a query with this workbook. When I tried to search the work book, I am not able to find this. Please help me. Thanks, Arpan

  • Internet issues, not seeing a thread like it

    So I've had my touch since launch and internet has been great. Although past 2 weeks I cannot connect to the internet at my house nor my friends house, only place i've been with it. It finds my router and says I have full wifi, although when i go to