My jsp page is not displayed - tomcat does not pick up the class file
Hi everybody,
I have a Java code which is a controller for a jsp page, called: HomeController.java. Code is as follows:
@Controller
public class HomeController {
protected final transient Log log = LogFactory.getLog(getClass());
@RequestMapping(value = "/mypage")
public String home() {
System.out.println("HomeController: Passing through...");
return "home";
}There is nothing especial in the jsp page: home.jsp. If I go to this url:
http://localhost:8080/adcopyqueue/mypage
I can view mypage and everything works fine. Also in the tomcat Dos page I can see the comment:
HomeController: Passing through...As expected.
Now under the same directory that I have HomeController.java, I've created another file called: LoginController.java. Following is the code:
@Controller
public class LoginController {
protected final transient Log log = LogFactory.getLog(getClass());
@RequestMapping(value = "/loginpage")
public String login() {
System.out.println("LoginController: Passing through...");
return "login";
}And under the same place which I have home.jsp, I've created login.jsp.
Also under tomcat folders, LoginController.class exists under the same folder that HomeController.class exists and login.jsp exists under the same folder which home.jsp exists.
But when I go to this url: http://localhost:8080/adcopyqueue/loginpage
Nothing is displayed! I think tomcat does not pick up LoginController.class b/c on the tomcat Dos window, I do NOT see this comment:
LoginController: Passing through...Instead I see following which I do not know what do they mean?
[ INFO] [http-8080-1 01:43:45] (AppInfo.java:populateAppInfo:34) got manifest
[ INFO] [http-8080-1 01:43:45] (AppInfo.java:populateAppInfo:36) manifest entrie
s 8The structure and the code for HomeController.java and LoginController.java plus the jsp files match. I have no idea why tomcat sees one of the files and not the other?
Clean build did not help. Does anybody have any idea? Any help is greatly appraciated.
Edited by: ronitt on Nov 16, 2011 3:55 PM
Hi,
Please check the following path if your application is deployed or not properly if you are using eclipse:
Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
Similar Messages
-
Java.lang.AssertionError: WSDL not found in the class file "processes
Hi,
I am using WLI 10.3 workshop to build process application. I have designed one JPD which inturn call another process JPD. So i have used worklist process control to create the process and tried to access the process. When i am executing the code, i am getting below error message.
13-Jun-2011 14:13:00 o'clock BST> <Error> <WLI> <BEA-000000> <Exception processing processes.ISPSSQMsgLisnt
Java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
Truncated. see log file for complete stacktrace
Java.lang.AssertionError: WSDL not found in the class file "processes.ISPSSQMsgLisnt", annotated class = processes.ISPSSQMsgLisnt
--ClassAnnotations:
--Method Annotations:
--Field Annotations:
can't continue
at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:392)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:65)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:55)
at com.bea.wli.bpm.runtime.JpdDispFile.createPrimaryDispClass(JpdDispFile.java:382)
at com.bea.wli.knex.runtime.core.dispatcher.DispFile.<init>(DispFile.java:154)
Truncated. see log file for complete stacktrace
xception processing processes.ISPSSQMsgLisnt
ava.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:628)
at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:1029)
at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:950)
at com.bea.wli.broker.JWSSubscriber.getDispClass(JWSSubscriber.java:231)
at com.bea.wli.broker.JWSSubscriber.getRequest(JWSSubscriber.java:184)
at com.bea.wli.broker.JWSSubscriber.doDispatch(JWSSubscriber.java:358)
at com.bea.wli.broker.JWSSubscriber.doDispatch(JWSSubscriber.java:348)
at com.bea.wli.broker.SubscriptionDispatcher.doDispatch(SubscriptionDispatcher.java:87)
at com.bea.wli.broker.MessageBroker$PrivilegedSubscriptionDispatcher.run(MessageBroker.java:179)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wli.security.authentication.AuthenticationService.runAs(AuthenticationService.java:108)
at com.bea.wli.broker.MsgBrokerSecurityHelper.doDispatch(MsgBrokerSecurityHelper.java:231)
at com.bea.wli.broker.MessageBroker$PrivilegedSubscriptionDispatcher.doDispatch(MessageBroker.java:165)
at com.bea.wli.broker.MessageBroker.publishMessage(MessageBroker.java:984)
at com.bea.wli.mbconnector.jms.JmsConnMDB.publishMBMessage(JmsConnMDB.java:343)
at com.bea.wli.mbconnector.jms.JmsConnMDB.onMessage(JmsConnMDB.java:475)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
aused by: java.lang.AssertionError: WSDL not found in the class file "processes.ISPSSQMsgLisnt", annotated class = processes.ISPSSQMsgLisnt
--ClassAnnotations:
--Method Annotations:
--Field Annotations:
can't continue
at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispClass.<init>(JwsDispClass.java:392)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:65)
at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:55)
at com.bea.wli.bpm.runtime.JpdDispFile.createPrimaryDispClass(JpdDispFile.java:382)
at com.bea.wli.knex.runtime.core.dispatcher.DispFile.<init>(DispFile.java:154)
at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispFile.<init>(JwsDispFile.java:24)
at com.bea.wli.bpm.runtime.JpdDispFile.<init>(JpdDispFile.java:108)
... 34 moreHi
Are you using wli process control?
That uses wsdl and could cause the issue.
I also saw couple of internal bugs CR264315 and CR288904 on the same issue on 9.2.
Since this is a wli issue could you post in the wli newsgroup to get more answers http://forums.bea.com/forum.jspa?forumID=2047 ?
Also you can open a BEA support case at http://support.bea.com and an wli support engineer would help you. Please refer to the Cr numbers above in your support case.
Thanks
Vimala -
B2B not picking up the input file
Hi All,
I am trying to test aB2B scenario. Oracle B2B is not picking up the file from Endpoint URI. Can someone please suggest. What might be going wrong?
TIA
PhaniHi Ramesh,
Its an inbound scenario. I've placed a file on the host ftp server from where B2B is configured to pick the files, which isn't happening.
Can you please tell me the possible reasons and the files which i've to look into in case of any errors. -
JSP page do not close after loading a file
Hello, i am having a bit of a problem. i have the following code that help me load reports (pdf and xls) from my server in the user browser.
What i do in my code : jsp Page 1(generationInProgress) i create one of these reports (xml with blob) --> jsp page 2(viewReport) i load the file into the page.
My problem is pdf just go directly in the user brower but xls file(this file look like it is my page viewReport but in excel format) need to be downloaded into the user pc (work fine) but the first page (generationInProgress) stay visible.
This is in viewReport:
public void openFile()
System.out.println("openFIle");
//retrieve the report information
String fileName = sessionBean.getReportName();
//load the files
File reportFile = new File(mainPathL2, fileName + "." + sessionBean.getReportFormat());
File xslFile = new File(mainPathL2, fileName + ".xsl");
//download file
try
if(reportFile == null)
System.out.println("report file is null");
else
System.out.println(reportFile.length());
//send the pdf file to screen
HttpServletResponse response = (HttpServletResponse)facesContext.getExternalContext().getResponse();
if(sessionBean.getReportFormat().equals("xls"))
response.setContentType("application/vnd.ms-excel");
else
response.setContentType("application/pdf");
if(reportFile.length() != 4096){
FileInputStream fis = new FileInputStream(reportFile);
ServletOutputStream out = response.getOutputStream();
byte[] outputByte = new byte[(int)reportFile.length()];
while(fis.read(outputByte) != -1)
out.write(outputByte);
fis.close();
out.flush();
out.close();
} catch (IOException e)
// Do your error handling thing.
System.err.println("Download file failed: " + e.getMessage());
e.printStackTrace();
//delete files
reportFile.delete();
xslFile.delete();
facesContext.responseComplete();
} //end openFile() method
Anyone can offer some help ?no on ever had that problem ?
-
JWS is not automatically reload the class files
Hi,
My problem is whenever i deploy new code in the server, My client JVM is not taking the updated code. It uses the old classes from the JVM cache. How to solve this poblem? can anyone help me :)>
My problem is whenever i deploy new code in the server, My client JVM is not taking the updated code. It uses the old classes from the JVM cache. How to solve this poblem? >Time stamps on servers can delay download. The new code will not run until the time after it is downloaded (and the program is restarted). Otherwise I have found automatic update to be quite reliable.
Have you checked that your JNLP file is valid? What is the URL of the launch file? -
Hello,
Could someone HELP me with the following issue pls?
regards
Rakesh
------------------------------------------------------------- PROBLEM DESCRIPTION --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Whenever I launch a JSP page, it takes significant time and fails to render with "No back end server available for connection. Timed out after 300 seconds or idempotent set to OFF" message.
2. These JSP pages are not doing any I/O intensive activities (NO long DB read...) as well (reads a 10-15 KB file from local disk and display some simple UI)
3. WL Console shows all the THREADS as HOGGING and eventually, the log file shows them as STUCK !!
4. After some random period of time (1 hr, 2 hr or 5 hr), IF I try to launch the same JSP page, it might succeed.
5. Re-deploying the .war file/Restarting the weblogic instance, SOMETIME helps !!!
Based Google search, I have done following changes with NO LUCK.
1. Changed JVM parameters (--Xms1024m --Xmx024m, MazPermSize=512m ) with NO LUCK
2. Changed the Java Muxer from native I/O to Java based – NO LUCK
3. Changed Deployment Plan to increase #BackLog request - NO LUCK
4. Changed "Resource Reload Check" in deployment plan to -1 - NO LUCK
Thread dump from WL Console:
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock javelin.client.JobWaiter@13e7e70 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
javelin.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
javelin.client.ClientUtilsImpl.build(ClientUtilsImpl.java:838)
weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:248)
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
Thread Dump by (kill -3 <java instance>)
"[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=1 tid=0x020a3890 nid=0x2d in Object.wait() [0xa607e000..0xa607faf0]
at java.lang.Object.wait(Native Method)
- waiting on <0xbbe607c8> (a javelin.client.JobWaiter)
at java.lang.Object.wait(Object.java:474)
at javelin.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
- locked <0xbbe607c8> (a javelin.client.JobWaiter)
at javelin.client.ClientUtilsImpl.build(ClientUtilsImpl.java:838)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:248)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
- locked <0xbb9d0e30> (a weblogic.servlet.jsp.JavelinxJSPStub)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
"Timer-1" daemon prio=10 tid=0x0186b610 nid=0x2c in Object.wait() [0xa697f000..0xa697fb70]
at java.lang.Object.wait(Native Method)
- waiting on <0xba6a36c0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0xba6a36c0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Timer-0" daemon prio=10 tid=0x000b83a8 nid=0x2b in Object.wait() [0xa777f000..0xa777fbf0]
at java.lang.Object.wait(Native Method)
- waiting on <0xba4fc1f8> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0xba4fc1f8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)- Make sure you are using the latest build of WLS plugin.
- Get the WeblogicBridgeConfigInfo output and check if the connection to wls servers is OK. -
Clients not picking up changed application files
I created an application and deployed it to a collection containing 1 workstation. I needed to make a change to one of the files in the application, so I made the change in the source for the application, redistributed the content to my distribution
point and tried to run the updated application on the client.
The workstation will not pick up the changed file. I have run the Machine Policy check in, the User Policy check in, and the Application Deployment Evaluation Cycle multiple times to no avail.
We are just beginning our implementation of SCCM (converting from Altiris) and this is really frustrating me to no end.
Any help will be greatly appreciated.There are multiple ways to check if the current version of the application is being installed. One of them is to check the AppEnforce client log file after triggering the installation.
That should show a line like the following, which includes the revision of the installed application:
<![LOG[+++ Starting Install enforcement for App DT "<DeploymentType>" ApplicationDeliveryType - ScopeId_A351EC12-B25C-4327-80EE-247F25E4CE55/DeploymentType_26778027-8288-4f4e-b588-f8259f85777d,
Revision - 6, ContentPath - C:\Windows\ccmcache\2, Execution Context - User]LOG]!>
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Why wsgen does not pick up the changed interface in wsdl.jsp?
Hi,
After I changed the type of return value in a method in a stateless EJB. The wsdl.jsp
generated by wsgen does not pick up the changed interface (it still has the old interface).
The installed ejb works well with new type of return value. But the web service (wsdl.jsp)
and client.jar does not work. At begining I thought it might be cached. So I cleaned
the cache in the browser and temporal directory inside wls domain. I also deleted
all old version of ejbs on my local disks. But there is no effect. I am confused.
Please help. Where does the wsgen looking for when generating wsdl.jsp?
Thanks a lot.
JimHi,
Please check the following path if your application is deployed or not properly if you are using eclipse:
Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps -
In the address bar where type the address of the web site at the top. after entering the address i press enter key from the keyboard but it doesn't work there . Means the page is not navigating towards the address. Kindly solve the problem
This issue can be caused by an extension that isn't working properly.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]]
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows) -
Jsp file not able to locate class file in JWS 2.0
hello all,
i am a beginner at jsp...
my problem....
i have created a jsp file which accesses a SpellCheck.class file..
i am using Java Web Server 2.0...
and in the classpath i have set the classpath variable to c:\javawebserver2.0\lib. I have placed the class file in this directory.
Now when i run the jsp file it gives the following errors...
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:73: Class pagecompile.jsp.SpellCheck not found in type declaration.
SpellCheck help = null;
^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:76: Class pagecompile.jsp.SpellCheck not found in type declaration.
help= (SpellCheck)
^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_wordpro.java:81: Class pagecompile.jsp.SpellCheck not found in type declaration.
help = (SpellCheck) Beans.instantiate(getClassLoader(), "SpellCheck");
^
3 errors
i guess this is happening because it cant find the .class file.
MY QUESTION IS:
where should i place the class file so the the .jsp is able to locate it??
the code of the jsp is as follows:
<%@ page language="java"%>
<jsp:useBean id="help" scope="request" class="SpellCheck">
<%
System.out.println("Working with the bean");
help.setWord(request.getParameter("word"));
%>
</jsp:useBean>
<html>
<body>
You entered the input,
<b> <%= request.getParameter("word")%></b><br>
The processed output is:<br>
<%= Integer.parseInt(request.getParameter("mode"))==1 ? help.reverse() : " "+help.check() %>
</body>
</html>just place your class file in JWS2.0/classes directory
and restart you Serverhi
yes ive done it...
1. ive placed the .class file in JWS2.0/classes directory
2. ive placed the .jsp file and the .html file in the JWS2.0/public_html directory... it still does'nt work...
:o(
boney -
JRE does not pick up the existing font installed in the OS
Hi,
I am developing an application that required to display UTF-8 string in different language, eg. Japanese, Chinese,..., and having some problems with using font
to display those strings.
I. Problem:
For some reasons, the JRE does not pick up the fonts in either jre/lib/fonts or OS's fonts folder (Windows\Fonts) to use to handle these strings. This results in square boxes displayed.
II. Temporary solutions found:
I searched and found the following solutions
1. Put the font in the fallback folder under jre/lib/fonts
However, this requires to bundle the application with the fonts, it has some problems
* Bundles all possible fonts significantly increase the size of the JRE
* It is a waste if the OS already has the font (as in my case Arial Unicode MS font already installed). 2. Modify the font.properties file *<- which is not recommended.*
III. Questions:
1. So I am wondering if anyone knows other solutions to this problem?
2. I came across some sites that says JRE will pick up the font correctly for a language if the OS is localized on that language. Is it true since I could not yet find that statement on sun website?
Any help or advices are greatly appreciated.
Phuong,
PS: I'm using JDK 6 update 6, Windows XP English versionHello,
Do any black bars show on the Airport icon at all?
I have a 2007 iMac that can barely see my Base Station 4 feet away, an older eMac 7 feet away sees it great!
On my iMac I use one of these...
http://eshop.macsales.com/item/NewerTech/MXP2802GU2/
And a USB extension cable can give even better range/speed. -
The specified screen does not exist in the DLIB file
Dear Experts,
I have copied the program of VA01 to Zprogram and created ztransaction when I execute ztransaction it will goto first screen, after I type input and click enter I will get below message
Screen zsapmv45a 4470 does not exist
when I check help (F1) it says as follows
Diagnosis
The specified screen does not exist in the DLIB file.
Procedure
Specify the programm and the screen number correctly.
If you want to generate a list of existing screens, select the program
and screen number on the Screen Painter selection screen. In the case of
the screen number, you can only enter a * in the first position.
can anyone tell me that how to maintian screen in DLIB file?
Thanks in Advance...
VenkateshDo you have such a screen number under the function group where you have copied the transaction VA01?
If not chek in standard func group for this screen and copy it. -
JNI generated header file does not match the class file
We have had a JNI project for many years and all has been fine. Within our libraries we have several classes that have inner enum classes.
Recently we have moved to JDK1.7. Up to now when JNI generated the methods where the signature used the inner enum class, and it was an oveloaded method, we would get something like the following as the signature:
Java_PackageName_ClassName_methodName_OuterClass_00024InnerEnum_2
And the class file result of the build would look like the following:
methodName(OuterClass$InnerEnum)
Since we have moved to JDK 1.7 the header file looks like the following:
Java_PackageName_ClassName_methodName_OuterClasss_InnerEnum_2
The class file is still the same, and because of that when we run the program we get an UnsatisfiedLinkError. I understand that this error is because the VM cannot find the implementation. So why JDK 1.7 generates a header file that does not match the class file?
Thank you in advance.I don't have 1.6 to verify but your statements about what is generated for 1.7 for the header appear correct.
The 000024 represents the '$' and for 1.7 the inner class is still named using '$'. So for example after compiling in 1.7 the inner class file is named the following...
MyClass$InnerEnum.class
So a one to one conversion should have kept the 000024 (presuming it does in fact do it that way in 1.6.)
You might want to look at the release notes for 1.7.
If you need a solution you could add a post javah step that renames the file. -
Tomcat doesn't pick up the changes to jsp files
My original problem was JAR locking. I changed context.xml files both in conf\ and my application.
jakarta-tomcat-5.5.9\conf\context.xml
<Context reloadable="true" antiResourceLocking="true" antiJARLocking="true">
<WatchedResource>WEB-INF/web.xml</WatchedResource>
</Context>myApplication\META-INF\context.xml
<Context reloadable="true" antiResourceLocking="true" antiJARLocking="true">
<WatchedResource>WEB-INF/web.xml</WatchedResource>
</Context>Now I can undeploy without having jarLocking problem.
But now tomcat doesn't pick up the changes to jsp files automatically!!!
I have to undeploy/deploy even I just change jsp files!
What's wrong?You can't do anything except speak in a different accent. Apple would have to add specific support for different accents in a future iOS update.
-
when I download from my samsung camera, the photos do not go to the "photos" file. I have to download to "import" then copy them to a separate album. what am I doing wrong?are
Is iPhoto open when you connect the camera and are you seeing the camera in iPhoto?
If not then describe in detail how you're going about trying to import photos from your Samsung camer into your iPhoto Library. From what you've described we have no idea what's going on.
And where is this "import" folder located that you're referring to?
OT
Maybe you are looking for
-
Close all folders in Mail? Color Label folders? Find folder? And More!
Hi all. I have a LOT of mail. They're all very organized, though. Heaps of Mailboxes (Folders) and Sub-folders. I also have heaps of rules dutifully sending incoming mail to their appropriate mailboxes. However... It has reached a point where one of
-
Can I use an Airport Extreme Base Station from the USA in Europe ?
A friend of mine gave me an Airport Extreme Base Station from the USA to Germany. When I hook it up to my PB by ethernet cable the Computer can't find the Base Station at all. If I use my Sonnett Aria Extreme PCI card it finds the station but in the
-
Still possible to have consolidated Library view in iTunes 11 ?
Hi, In prior versions, it was possible to view a "Library" view which would include all media (Music, Movies, Podcasts, etc) by following these commands? I don't want to screw anything up ! This is taken from an article appearing in MacWorld, which I
-
Custom XMP palette in PSD...is it even possible?
Hi all, I currently use DAM software that writes custom XMP info which I can see in the File Info dialog in PSD. I would like to see this info (read only) while I am working in PhotoShop. This custom XMP has instructions on what to do to the PSD file
-
Designer (XI 3.1 SP4) sort order of classes in derived universe messed up
Hello, We just recently upgraded our BOXI 3.1 environment to SP 4 FP 4.1 and we now notice that the order of our classes has changed in our derived universes. Even though the parameter CORE_ORDER_PRIORITY is set to Yes, the classes are sorted alphabe