Jmap with tomcat 6 on Windows XP

Hi,
I am am running Tomcat 6 on jdk 1.6. Whe I run I get these processes.
C:\>jps
2912 Jps
1968 Program
3668 Bootstrap
Program is an eclipse process (and I could get a heap dump)
when I am not able to run the same with process with pid 3668, whihc is related ot Tomcat
jmap -dump:format=b,file=heap.bin 3668
3668: The VM does not support the attach mechanism
Has anyone else face the same problem?
Regards,
Suhaas

This is a very simple answer.
Run both Tomcat and jmap using JDK 1.6 :-) and it works
So on my windows I had to change JAVA_HOME to C:\Program Files\Java\jdk1.6.0_12
IMPORTANT
If you are using startup.bat on Windows XP to start Tomcat 6 like I am doing, then you need to keep this in mind
(startup.bat in turn uses catalina.bat that uses JAVA_HOME variable)
So Just make sure you environment variables are set as such
set JAVA_HOME variable as 'C:\Program Files\Java\jdk1.6.0_12'
set PATH variable as %JAVA_HOME%\bin;variablename2;variablename3
Mind you you need to put %JAVA_HOME%\bin as the very first thing in the path, otherwise
java -version will return the default JRE that you see in Control Panel

Similar Messages

  • Apache with Tomcat cluster

    Hi, I integrated Apache with Tomcat Cluster on Windows 2000. I instalated mod_jk2.dll, created workers2.properties and configurated server.xml in Tomcat instances. If I try to reach my .jsp file, e.g. http://localhost/root/main.jsp, I get follow message from Tomcat: source root/main.jsp is not available. What�s wrong? Can anybody help me? Apache version: 2.0.47, Tomcat: 1.4.27

    Well, the first order of business is to determine exactly where main.jsp is located. If it is at <CATALINA_HOME>/webapps/main.jsp, then it should be at http://localhost:8080/main.jsp. Bypass Apache and verify that you can get to the Tomcat specific pages first.
    Basically, we're trying to determine a) the correct URL and b) whether the problem is with Tomcat itself, or with the connections between Apache and Tomcat.
    Essentially, we can't tell you where your configuration is incorrect until you tell us what your configuration is. :)

  • JSC with Tomcat 6

    Help, I'm using JSC 2.1 with Tomcat 6 on Windows. I build a simple web app in JSC (hello world, without any jdbc) then exported to J2ee 1.4 war file. Next I place the war file in tomcat webapps directory. I also put the the jsf-api, standars.jar, jsf-impl.jar files in the WEB-INF/lib directory. I get the this error when access the application.
    org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find FacesContext
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    I have seen this problem in the forum before. It is related to your web.xml . See this thread:
    http://forum.java.sun.com/thread.jspa?forumID=881&threadID=5110161

  • Decisions with fresh install in windows 7 64 bit

    Hi community,
    I'm setting up a new laptop running windows 7 64 bit, and I'm trying to decide the best way to serve Application Express.
    I count 5 main options
    1) Embedded Gateway
    2) Install the complete 11g "companion" tier
    3) Use Apex Listener EA with WebLogic Server
    4) Use Apex Listener EA with Tomcat
    5) Use Apex Listener EA with OC4J
    I don't want to use the embedded gateway, and I want to keep things fairly light on the laptop.
    This page offered concise setup instructions for the three options with the Apex Listener
    http://www.oracle.com/technology/products/database/application_express/html/apex_listener_install_web.html
    But after trawling many comments on one major thread, I can't determine the pros and cons for these options. I was wondering if anyone can provide a link or information with concise details why you'd choose one option over the other?
    Once Apex Listener moves past EA, will it perhaps be advantageous to have selected one over the other? Is it easy to roll back installation of certain options?
    I'm leaning towards WLS, since that has ties with othe Oracle components, but Tomcat seems thin an non-invasive for my laptop.
    Thoughts?
    Scott.

    I've ended up using the new production release of Apex Listener with Glassfish.
    Good work on the new installation instructions, they are much more informative.
    My major hurdle with Glassfish was attempting to use the JDK that came with 11gr2. It took a colleague to spot I was using 1.5.x instead of 1.6.0.20 - I sourced this version from my Windows 7 64bit install.
    Now to attempt installing 10gR2 with Apex3.2 on the same box

  • Problems with tomcat 4.0.1

    hello,
    i�ve written some servlets using forte 3.0 with tomcat 3.2.
    everything works fine as long as I don�t run the servlets with tomcat 4.0.1.
    i use the request dispatcher / forward method - which dosn�t work reliable.
    it�s a list on which the user has to select one topic. the strange thing about it is that it works when you choose "back" after the error (dispatcher = null) has occured and select a different topic on that list - only the first choice makes en error.
    running on tomcat 3.2 with forte it works fine. but i get the following message in the tomcat output window:
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key dispatcher.forwardException
    and
    2002-01-13 11:40:05 - Ctx( /lg002234 ): Exception in: R( /lg002234 + /eingaben + null) - javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException
    can somebody help?
    is use the dispatcher three times in that post-method - ist that a problem?

    ...sorry
    it�s not a problem with the requestdispatcher,
    problem is, that with tomcat 4.0.1 a parameter
    sometimes gets lost - but not with tomcat 3.2
    critical code is:
    String tierartAuswahl = request.getParameter("tierartAuswahl");
    is that a known bug of tomcat 4.0.1??

  • Adv. of using apache with tomcat??

    can anyone pl tell me the advantages of using Apache with Tomcat in comarison to other web servers?
    Thanks

    The biggest advantages are that they are open source, so you don't have to pay a huge licence fee, and they are very stable. I don't know how they compare for speed - I know Apache is lightning when it comes to serving flat pages, there are no benchmarks yet for the new Tomcat because it was only released last monday. You can run them on linux or another unix variant, so they are more likely to be secure (windows servers are horrendously open to attack) and stable.

  • Netbeans 5.0 bundled with tomcat

    I cant run a simple web app with tomcat because it wants a username and password. But i've tried changing the tomcat-user.xml file to "manager" role. I'm lost.
    Thanks

    look in this directory:
    C:\Documents and Settings\Owner\.netbeans\5.5beta2\config\J2EE\InstalledServers
    ** Owner will be your windows user name
    find a file named .nbattrs
    Inside that file may have your default admin username and password.
    It is an xml file and look for the section like the following:
        <fileobject name="Tomcat_instance">
            <attr name="admin_port" stringvalue="8025"/>
            <attr name="debug_type" stringvalue="SEL_debuggingType_shared"/>
            <attr name="displayName" stringvalue="Bundled Tomcat (5.5.17)"/>
            <attr name="httpportnumber" stringvalue="8084"/>
            <attr name="instance_id" stringvalue="tomcat55"/>
            <attr name="password" stringvalue="H56E5wNS"/>
            <attr name="timestamp" stringvalue="1153304925000"/>
            <attr name="url" stringvalue="tomcat55:home=$bundled_home:base=$bundled_base"/>
           <attr name="username" stringvalue="ide"/>
        </fileobject>If you still have problems, I suggest you subscribe to the nb-users mailing list and ask there.
    http://www.netbeans.org/community/lists/top.html
    JJ

  • EXCEPTION_STACK_OVERFLOW with Tomcat - service shuts down

    Hello,
    I get the following error periodically which causes my Tomcat service to stop. There do not seem to be any exceptions listed in my log files, only the "An unrecoverable stack overflow has occurred." error listed in the jakarta_service_yyyymmdd.log file.
    I am running tomcat5.5.23 on a windows 2000 machine as a service. I used the service.bat file included with the tomcat downloads to create this service.
    I have tried a few things that i dug up while researching this error.
    The first time it happened, i increase the values for JvmMs 128 JvmMx 256 to JvmMs 256 JvmMx 512. It didnt take right away, but the next day, after one crash, the error stopped.
    The next time it happened, i found that there may be an issue with Tomcat 5.5 15+ where JSP files are cached - the solution, which worked immediately was to add this to the options "-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true"
    The third time, I found that there were a lot of bug fixes since the version i was using to the current ( 5.5.20 -> 5.5.23 ). after installing 23, it was fine.
    This time, i was asked to increase the session timeout, so i updated the web.xml files and restarted the service - it started failing immediately afterward.
    I haven't the slightest idea what could be going on. I have tried using JProfiler and modifying code in an attempt to reduce memory usage, but i don't think that had any effect.
    I don't have any problems when running/testing the application locally through Eclipse.. This only occurs on the 'prod' server.
    Please help, my users are not pleased.
    Listed below is the log entry from the system32 dir :
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x080ad956, pid=1800, tid=1876
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_13-b06 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0xad956]
    --------------- T H R E A D ---------------
    Current thread (0x00655068): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1876]
    siginfo: ExceptionCode=0xc00000fd, ExceptionInformation=0x00000001 0x545c0ffc
    Registers:
    EAX=0x55f14810, EBX=0x55f14810, ECX=0x545ff534, EDX=0x00000001
    ESP=0x545c1000, EBP=0x00000002, ESI=0x00000000, EDI=0x545ff494
    EIP=0x080ad956, EFLAGS=0x00010202
    Top of Stack: (sp=0x545c1000)
    0x545c1000: 55f14810 545ff534 080ada7a 545ff494
    0x545c1010: 55f14810 545ff494 00000000 00000037
    0x545c1020: 55ff98cc 545ff534 080ada7a 545ff494
    0x545c1030: 55f14810 545ff494 00000000 00000001
    0x545c1040: 55ff988c 545ff534 080ada7a 545ff494
    0x545c1050: 55ff98cc 545ff494 00000000 00000002
    0x545c1060: 55ff985c 545ff534 080ada7a 545ff494
    0x545c1070: 55ff988c 545ff494 00000000 00000001
    Instructions: (pc=0x080ad956)
    0x080ad946: 5e 83 c4 0c c2 04 00 90 90 90 51 53 8b 5c 24 10
    0x080ad956: 55 8b e9 8b 4b 1c 56 57 8b 7c 24 18 8b d1 89 6c
    Stack: [0x545c0000,0x54600000), sp=0x545c1000, free space=4k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0xad956]

    Hi, i had found some documentation that gave the meaning of some of the text in that error log. They had a suggested workaround that seems to have worked out for the time being. It said to switch to the client jvm rather than the server. As far as I can tell, there is no performance hit or drawback, so i am going to go with this until something else happens.
    Tim.

  • Problems with shutdown, expose and window switching

    Hi there,
    Recently I've been having a few issues with OS X. First of all it wasn't shutting down properly -- the menu bar would disappear and it would look like it was going to shutdown, but it never did. I could move down to the dock (on auto-hide) and it would re-appear, at which point I can bring up a terminal window and use 'shutdown' to do the job. On startup I'd reset the PRAM, and then do a disk-check, but the problem keeps coming back.
    Subsequently, I've also been having problems with expose and switching windows (i.e. command-tab). Namely, neither of them work. Expose won't fire from either hot corners or the keyboard, and if I re-launch the app from the Apps folder (without trying to kill it first, I should say), it does nothing. Cmd-tab gets interpreted as just tab, and the keyboard shortcut for dashboard also fails (although I can start the dashboard from the dock).
    I read in another post about an invalid jpeg in the downloads folder being able to cause the Expose problem (seems like a most unlikely bug?). Anyway, I cleared all pictures from my downloads folder and functionality came back, but now it's gone again. It's really very frustrating as it makes moving between windows a lot more hassle.
    Any thoughts would be gratefully received.
    TIA,
    Mat

    This sounds interesting.
    Can you post a copy for the rest of us to see?
    As for actually helping you, and not just satisfying our curiousity, if you start cutting pieces of the code you will probably end up finding the source of the problem (and we won't have too big a program to handle). Since DSC is a likely suspect, you may want to start there.
    Also, are you creating an installer and using that to install? If not, you may wish to try that.
    Try to take over the world!

  • Problems with Photoshop CS2 I originally purchased this software several years ago. At time I was running Microsoft Windows XP. This computer recently was replaced with  a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few

    Problems with Photoshop CS2
    I originally purchased this software several years ago. At time I was running Microsoft Windows XP.
    This computer recently was replaced with a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few exceptions as follows;
    when the software comes up initially I get a message that says “could not complete your request because of program error”. Hitting OK allows me to continue using the software .
    When I try to activate a function using CTLR or ALT keys I get this message “required application failed to load and the product cannot continue. Please reinstall the application”. This causes the application to abort.
    Reloading my CS2 continues to generate the same messages when I depress the CTLR or ALT keys.

    Your original copy is obsolete and Adobe is offering a free replacement you are entitled to. Download and use that and that should clear it up for you.
    https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
    Download this copy of CS2 and use the serial number provided next to the download link.

  • Prepare sharepoint 2010 with sp2 environment on windows server 2012 R2

    HOw  prepare sharepoint 2010 with sp2 environment how i  install sharepoint 2010 with sp2 in a windows server 2012 
    i mean
    from scratch  i just prepared a windows server 2012 R2 vm
    and i set all required  roels (Appserver,webserver etc) according to this link
    http://social.technet.microsoft.com/wiki/contents/articles/12502.how-to-install-and-configure-windows-server-2012-for-sharepoint-2010.aspx
    and i have sharepoint 2010 set up, and i downloaded sharepoint 2010 sp2
    from this link
    http://www.microsoft.com/en-us/download/details.aspx?id=39672
    now should i install sp2 and install sharepoint 2010 binaries?
    adil

    SharePoint 2010 has no supportability statement for Server 2012 R2.  I would not use it until Microsoft releases a supportability statement.
    Even it  has no supportability for server 2012, but sharepoint 2010 running fine in my server 2012 test environment
    adil
    You indicated you were using 2012 R2.  SharePoint 2010 supports Server 2012 (non-R2) with SP2 media, but has no supportability statement for Server 2012 R2.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Performance issues with class loader on Windows server

    We are observing some performance issues in our application. We are Using weblogic 11g with Java6 on a windows 2003 server
    The thread dumps indicate many threads are waiting in queue for the native file methods:
    "[ACTIVE] ExecuteThread: '106' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE
         java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
         java.io.File.exists(Unknown Source)
         weblogic.utils.classloaders.ClasspathClassFinder.getFileSource(ClasspathClassFinder.java:398)
         weblogic.utils.classloaders.ClasspathClassFinder.getSourcesInternal(ClasspathClassFinder.java:347)
         weblogic.utils.classloaders.ClasspathClassFinder.getSource(ClasspathClassFinder.java:316)
         weblogic.application.io.ManifestFinder.getSource(ManifestFinder.java:75)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
         weblogic.utils.classloaders.CodeGenClassFinder.getSource(CodeGenClassFinder.java:33)
         weblogic.utils.classloaders.GenericClassLoader.findResource(GenericClassLoader.java:210)
         weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:160)
         weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:182)
         java.lang.ClassLoader.getResourceAsStream(Unknown Source)
         javax.xml.parsers.SecuritySupport$4.run(Unknown Source)
         java.security.AccessController.doPrivileged(Native Method)
         javax.xml.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
         javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
         javax.xml.parsers.FactoryFinder.find(Unknown Source)
         javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
         org.ajax4jsf.context.ResponseWriterContentHandler.<init>(ResponseWriterContentHandler.java:48)
         org.ajax4jsf.context.ViewResources$HeadResponseWriter.<init>(ViewResources.java:259)
         org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:445)
         org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    On googling this seems to be an issue with java file handling on windows servers and I couldn't find a solution yet. Any recommendation or pointer is appreciated

    Hi shubhu,
    I just analyzed your partial Thread Dump data, the problem is that the ajax4jsf framework ResponseWriterContentHandler triggers internally a new instance of the DocumentBuilderFactory; every time; triggering heavy IO contention because of Class loader / JAR file search operations.
    Too many of these IO operations under heavy load will create excessive contention and severe performance degradation; regardless of the OS you are running your JVM on.
    Please review the link below and see if this is related to your problem.. This is a known issue in JBOSS JIRA when using RichFaces / ajaxJSF.
    https://issues.jboss.org/browse/JBPAPP-6166
    Regards,
    P-H
    http://javaeesupportpatterns.blogspot.com/

  • Excel 2010 changes relative link paths to absolute in files synced with Offline Files in Windows 7

    Hello! I'm wondering if anyone else has seen this problem: I have a large number of Excel 2010 and 2003 files in a folder on my file server. This whole folder is also synced to my computer using Offline Files in Windows 7. I have a lot of references between
    cells in different Excel files, and all referenced workbooks are physically in the same folder. This all works nicely when I create these files at work - all file paths referenced in the cells are created as relative paths and the documents open correctly.
    This is, I understand, the expected and default behavior when Excel creates links. When I edit these files at home, nothing seems odd until I get back to work and sync these files back to the file server. At this point, I discovered that Excel 2010 has, when
    I saved the files while away from the corporate network, changed /all/ the cell references in any offline-edited Excel files to point at absolute paths, and that these absolute paths point to somewhere in my %APPDATA% structure. So whenever I come to work
    and I try to open an Excel file that I have recently worked with offline, I get a bunch of error messages about referenced files that are missing, although clearly they exist in the same folder as the file I've opened, and I must edit all the file references
    again, whereupon they are again created correctly as relative paths (since all files exist in the same folder), which are promptly mangled into absolute C:\....\Offline Files\.....\..... paths whenever I save them at home (and since that works too, I don't
    notice it again until I come back to work and the offline files are synced back to the real network location). This seems to be a case of Windows 7's Offline Files not being able to fool Excel 2010 into believing it is working on a file server - apparently
    Excel 2010 can see through the fakery and decides on it's own to "fix" the problem (which obviously isn't a problem since the paths are relative to begin with) by saving the paths as absolute paths instead. Yes, really clever, Excel. The exepected behavior
    according to MSKB is that links are created as relative paths, so why does it change to absolute whenever Offline Files are involved? I know Offline Files only syncs, it doesn't actually change the files, so I can conclude that Excel is the program at fault
    here. Is there a fix for this, or a known workaround? Because frankly, this bug makes it impossible for me to work in any advanced manner with linked Excel files. The sad thing is that this worked perfectly fine with Office 2003 and Windows XP. Is there a
    patch for this problem that I might have missed (I am running the latest Service Pack and I get Office updates from Microsoft Update). If not, is there a workaround I can use to prevent Excel from corrupting my links when I edit the files offline?

    Hello danceswithwindows,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Sincerely
    Rex Zhang
    Rex Zhang
    TechNet Community Support

  • I get an error message when I sync my iPhone 5 with itunes on a Windows 7 laptop. When I go back to my music there are exclamation marks next to many songs. I have reinstalled iTunes

    I get an error message when I sync my iPhone 5 with iTunes on my Windows 7 Samsung laptop.  I recently backed up all of my data using Samsung Recovery Solution 5 to an external hard drive so that I could restore my laptop.  I put all of my data back on the restored laptop and reinstalled iTunes. After the error message that says that certain items could not be found and the "sync" is finished I go back to my music in iTunes and there are exclamation marks next to many songs.  I follow some instructions regarding the Edit - Preferences - Advanced settings and the exclamation marks go away until I try to sync my phone again.  Then I get the same error message and the exclamation marks return.  I have uninstalled and reinstalled iTunes and the same thing happens again.  I am about to schedule an appointment with the Genius Bar but would like to avoid that if possible.  Thank you in advance for any help. 

    Hello Courtney,
    Thank you for the details of the issue you are experiencing when syncing your music to your iPhone.  It sounds like iTunes is not able to locate the original file for the song to transfer it to your device.  I recommend reviewing the following articles to locate you music files on your computer:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have an issue with the tabs and windows disappearing....?

    I have a constant problem with Firefox now. I notice that with Firefox 4 and 5 there has been a reoccurring problem with the tabs and windows closing on their own. If I have more than one window open, one of them will suddenly disappear and I wont see the tab at the bottom anymore until I click out of the one I am currently on. It is very annoying and only when I get out of Firefox completely will it sometimes reappear. Even more frightening is the fact that when I move the mouse downward to the bottom of the page the page shuts out as if I clicked out of it.
    I am wondering if this is a security issue meaning some type of malware or virus that is manipulating my browser or is this a common issue that has some unknown cause? I would like to know what the cause is and how it can be fixed because it annoys me all the time. Please help!!

    No Issue with the voltage in general. iPad is being charged via USB.
    1. If you connect it directly to the computer - no problem.
    2. If you want to charge it directly from the power socket you will need this:
    http://store.apple.com/uk/product/MB706B/B/apple-usb-power-adapter
    TZ

Maybe you are looking for

  • Working Line Takeover - cancelled by previous tena...

    I moved into a rental property last week.  The following is the story of how the move went as far as my BT phone and internet services go: 5 September 11:02 I called BT to arrange home move for 26 September I was told there was an active BT line ther

  • Trying to open pdf's but they are now password protected, why and how do I change this

    why did this happen and how do i open pdfs without needing a password that i dont have

  • Bex Report / Multi Providers

    Hello to all experts and BW users, I have question regarding advanced Bex reports.  Is it possible to have one Bex report (Excel Workbook, with different sheets) using more than one multi providers or info cubes? The reason for this question is simpl

  • Weird selective Airport Extreme behaviour

    Hi, Recently my unibody MacBook Pro (AirPort Extreme - wirelessly connected) has become extemely slow loading Google and Gmail. (takes minutes) Any other webpage opens very fast, surfing behaviour is normal. Testing downloadspeeds shows no anomalies.

  • Column not found problem

    Hello All, I created a query, I've checked all my columns in the database multiple times but I keep getting this error. can someone help me with this please This is my Query and statement around it. <% ResultSet rsMaxFaqs = dbTeam.execSQL("SELECT max