VM crashes with big class files generated of JSPs
Hi,
When calling certain JSP pages with WebLogic Server 5.1 (SP 6) the HotSpot Virtual Machine (JDK1.3) crashes with a core dump.
Using WebLogic as the JSP engine produces of every JSP page one java file which
is compiled with javac to one class file. Each generated java file consists of
just one method: _jspService(...){...}. One method is allowed to be of 64 K
(the dynamic part 32 K as maximum). As we include other JSP pages and
components and use taglibraries, the WebLogic JSP engine generates a very big
java file (more than 1 MB). Javac compiles this to a class file which only
method exceeds the 64 K limit. As the javac compiler does not reject the class
file with the to big method the virtual machine crashes.
Running the same JSP page on Windows NT 4 with WebLogic Server 5.1 (Service Pack 6)
and JDK 1.3 BUT using the java option -classic works.
Unfortunately it seems that there is no -classic option for java on Solaris for JDK1.3.
Using JDK1.2 (JDK_1.2.2_05a) on Solaris or the jikes compiler of Jakarta
causes an exception instead of a core dump but still does not work.
Using solaris jdk1.2.2_05a the same page request results in the following exception:
Tue Nov 21 09:08:16 CET 2000:<I> <WebAppServletContext-maxblue> Generated java file:
/opt/tadevw/maxblue/weblogic/maxblue_cluster/maxblue_server/public_html/WEB-INF/_tmp_war/jsp_servlet/_portfolio/_PortfolioMyportfolio.java
Tue Nov 21 09:08:24 CET 2000:<E> <WebAppServletContext-maxblue> Servlet failed with Exception
java.lang.VerifyError: (class: jsp_servlet/_portfolio/_PortfolioMyportfolio, method:
_jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch
Is there a way that the JSP engine of WebLogic creates/generates
more than one function? (Without reengineering of the source code?)
Regards,
Boris
Thank you! I had no idea. But what is a FAT32 drive? Is it the work bench in the Mac, that is used for the transfering between the external hard drives? Is there any way around this then?
I thought in these HD home movie days, that this was an easy thing dealt with everyday. I still need to understand what practical solutions I can find. The files are .mov - quicktime files.
It couldn't be the case that files larger than 4BG should be locked in the hard drive forever?
Sverre
Similar Messages
-
Photoshop CS6 64bit crashing with big psb files right after opening
Hi everybody,
I'm having big trouble since CS6 and I couldnt find andy help anywhere, thats why i have to ask here.
Problem discription:
Opening an 7gb 8bit psb file in PS CS6 64bit: PS opens the file and crashes immediately after showing the content (layers and image). an small error message is shown (but there is no description)
Sometimes it opens the file, and i can work in it, and when i try to save it (in background AND normal), PS just disappears without error message
My work around: If i open another small jpg first (in first tab) and then open the big psb, i dont get this problem. but actually i never had it open for very long since im kinda scared to put some work into this unstable system.
When doing this in PS CS6 32bit version, its pretty stable and i have no crash.
Funny thing is also, that one time I created a big file from like 20big tiffs in 16bit and could save it. All the time PS was running while creating stuff from scratch i didnt crashed. But after I saved the file and restarted PS, then he couldnt handle the file anymore and crashed like i said before.
Any help would be much appreciated!
Thank you,
Stefan
System infos:
PS, latest version!
win7 64bit, 24gb ram, i7 920
single nvidia 260 gtx, used with different driver versions too
my work hdd is an 1tb RAID 1, where i have scratch disc and my workfiles, plenty of space
had this problem snce the begin, also without plugins
working on dual screens (27" with 2560x1440 and the other one in 1200x1900)
no other software running
Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1
System architecture: Intel CPU Family:6, Model:10, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 3300 MHz
Built-in memory: 24566 MB
Free memory: 21764 MB
Memory available to Photoshop: 22241 MB
Memory used by Photoshop: 94 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTX 260/PCI/SSE2
Display: 2
Display Bounds:= top: 0, left: 2560, bottom: 1920, right: 3760
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1440, right: 2560
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 260
OpenCL Unavailable
Driver Version: 8.17.12.7533
Driver Date: 20110520000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 2560 x 1440 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 260
Video Card Memory: 896 MB
Video Rect Texture Size: 8192
Serial number: 92298643689928754717
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\stef\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
D:\, 931.5G, 880.2G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/06/26-12:17:19 4.0.95 66.510504
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Collada 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Embed Watermark 4.0
Entropy 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Extrude 13.0
FastCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Maximum 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mean 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Measurement Core 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Median 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mezzotint 13.0
Minimum 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
MMXCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Picture Package Filter 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Pinch 13.0
Pixar 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Range 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0.1
Shear 13.0
Silver Efex Pro 2 2,004
Silver Efex Pro 2 2,004
Skewness 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Sumi-e 13.0
Summation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
U3D 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Underpainting 13.0
Vanishing Point 13.0
Variance 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Variations 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
WIA Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Wind 13.0
Wireless Bitmap 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
Alien Skin Autolayer 4 4.0.0
BackgroundFilter NO VERSION
Camera Raw 7.1
Color Efex Pro 4 NO VERSION
Color Efex Pro 4 NO VERSION
Dfine 2.0 NO VERSION
Exposure 4 4.0.0
FineStructuresFilter NO VERSION
HotPixelsFilter NO VERSION
Knoll Light Factory 3.1
Nik Selective Tool 2.1.3.17710
ShadowsFilter NO VERSION
Sharpener Pro 3.0: (1) RAW Presharpener 3.0.8.17631
Sharpener Pro 3.0: (2) Output Sharpener 3.0.8.17631
SkinFilter NO VERSION
SkyFilter NO VERSION
StrongNoiseFilter NO VERSION
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEI have issues with PS CS6 and much smaller program files (less than 100mbs) but your problems may have less to do with programming bugs, many though there be, in PS CS6, than basic computer/OS issues.
Your files are so large (7gbs?) that you may be incurring problems with memory handling on your system due to hardware issues, OS issues or both.
In the real world most motherboards cannot stably use more than 16gbs of memory. Try removing RAM down to 16gbs and see if that improves stability. Google that if you do not believe me. You will not lose any performance, any may actually gain stability, going to dual channel memory using two instead of three slots.
Run a memory diagnostic, a complete version that may take several hours to run, to see if any of your RAM is defective. Before doing that make sure all your RAM modules are properly seated in their slots.
Install a second hard drive, offload as many files as you can to it and defragment your main hard drive (defragment it no matter what it reports about fragmentation).
In truth in the real world neither Windows or Mac OSancient can use more than 8gbs RAM--and motherboards rarely are stable with more than 16gbs of installed RAM-- so contiguous hard drive space remains important, particularly for very large files. Also regardless of how much hardware RAM you have Windows will preferentially default to the hard drive for virtual memory for some routine processes. If all your RAM is functioning well you may want to completely turn off virtual memory in Windows but overall machine stability may be problematic. Fortunately, unlike Photoshop, Windows will run stably with virutal memory on a secondary hard drive.
You have way too much RAM. Most studies show that Photoshop performance does not change once you get past just 4gbs of RAM, regardless of whether the OS or program is 32 or 64 bits.
So many Photoshop processes are single threaded so that regardless of how much RAM you have all the image data has to pass through one of the processor cores of your CPU. If you do not believe me look up those tests of performance with varying the RAM and varying the CPU: PS is a CPU dependent program despite Adobe's laudable but unstable use of the GPU to attempt parallel processing of image data.
All versions of Windows have finite resources for handling memory which files of your size may exceed. You should turn off any and all un-needed background programs and processes, including antivirus (unplug the network cable if you are paranoid). You may have to go to System Configuration to make sure memory/resource hogging programs don't load (e.g. anything referring to Itunes, Adobe reader, Microsoft Office). Look at the processes running with Task Manager and research what you can safely shut down.
Finally consider the fundamental cause of most repeated system crashes: failing power supply or failing hard drive (if your RAM passes tests). -
Update jar file with modified class files
hi all,
I'm developing a jar utility for updating a jar file with modified class files as of now i have reached a point where in i can browse files and set it to required location
i.e i have developed a swings GUI application using JfileChooser and browse the files ..now my requirement is to update the jar files with modified class file
GUI looks like below
....enter the modified class file ----> d:\c.class
....enter the jar file path ---> d:\a.jar
update button now i have the requirement as
1> when i click on the update button ,my jar file (a.jar) should get updated with the latest class file (c.class)
can u help me to achieve this requirement.???
im stuck with this,,,if u can provide me wit the code for updating jar file with latest class file...it will really be helpful
if u can help me with the code on click on update button it will be really helpful
Thanks and expecting a faster response from u all java experts....Please find my query in bolds...i have written the partial code now,i need some help now
hope u guys can help me out...
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.File;
public class FileExplorer extends JDialog implements ActionListener
JTextField txtLocation_class;
JButton btnBrowse_class;
JLabel label_class;
JTextField txtLocation_jar;
JButton btnBrowse_jar;
JLabel label_jar;
JButton updatebutton;
public FileExplorer()
setSize(600,300);
//for class files
label_class = new JLabel("Please select Modified Class File");
txtLocation_class= new JTextField(20);
btnBrowse_class = new JButton("Browse");
btnBrowse_class.addActionListener(this);
//for jar files
label_jar = new JLabel(" Please select the Jar file");
txtLocation_jar= new JTextField(20);
btnBrowse_jar = new JButton("Browse");
btnBrowse_jar.addActionListener(this);
ActionListener updateListener = new ActionListener(){
public void actionPerformed(ActionEvent ae){
if(ae.getActionCommand().equalsIgnoreCase("Update")){
System.out.println("ae.getActionCommand() :: "+ae.getActionCommand());
System.out.println("Update Button is pressed");
*//Query :how do i access FilePath and FilePath1 here which*
* // has been set in public void actionPerformed(ActionEvent ae)*
* //method below*
* // FilePath ---??*
* // FilePath1 ---??*
* // how do i access the above 2 parameters*
* //Query :on click of update button i have to pass*
* //two parameters FilePath and FilePath1 to*
* //perform some functionality. please help me*
* //to achieve this..how do i access Filepath and Filepath1*
* //here which has been set below.*
} // end of if
} // end of actionPerformed
};// end of ActionListener
updatebutton = new JButton("Update");
updatebutton.addActionListener(updateListener);
//adding to the panel
JPanel pnl = new JPanel();
pnl.add(label_class);
pnl.add(txtLocation_class);
pnl.add(btnBrowse_class);
pnl.add(label_jar);
pnl.add(txtLocation_jar);
pnl.add(btnBrowse_jar);
pnl.add(updatebutton);
getContentPane().add(pnl);
public void actionPerformed(ActionEvent ae)
Object obj=ae.getSource();
if(obj==btnBrowse_class)
final JFileChooser fcstudent = new JFileChooser();
int rtrnval = fcstudent.showOpenDialog(this);
if(rtrnval==JFileChooser.APPROVE_OPTION)
try
File file=fcstudent.getSelectedFile();
String path = file.getPath();
System.out.println("This is Path:"+path);
txtLocation_class.setText(""+path);
String FilePath=txtLocation_class.getText();
System.out.println("FilePath is ::"+FilePath);
catch(Exception ex)
ex.printStackTrace();
}else if(obj==btnBrowse_jar){
final JFileChooser fcstudent = new JFileChooser();
int rtrnval = fcstudent.showOpenDialog(this);
if(rtrnval==JFileChooser.APPROVE_OPTION)
try
File file=fcstudent.getSelectedFile();
String path1 = file.getPath();
System.out.println("This is Path:"+path1);
txtLocation_jar.setText(""+path1);
String FilePath1=txtLocation_jar.getText();
System.out.println("FilePath is ::"+FilePath1);
catch(Exception ex)
ex.printStackTrace();
public static void main(String arg[]){
FileExplorer Exm= new FileExplorer();
Exm.setVisible(true);
} -
Firefox 11 doesn't send letters with big attached files
Firefox 11 doesn't send letters with big attached files.
The following letter comes:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
SMTP error from remote mail server after end of data:
host ASPMX.L.GOOGLE.COM [173.194.70.27]: 552-5.7.0 Our system detected an
illegal attachment on your message. Please
552-5.7.0 visit http://support.google.com/mail/bin/answer.py?answer=6590 to
552 5.7.0 review our attachment guidelines. u38si3660156weq.136
------ This is a copy of the message, including all the headers. ------
------ The body of the message is 7642345 characters long; only the first
------ 106496 or so are included here.
Return-path: <[email protected]>
Received: from localhost ([127.0.0.1] helo=mail.grania.neolocation.net)
by grania.neolocation.net with esmtp (Exim 4.69)
(envelope-from <[email protected]>)
id 1SKxeX-0000OF-UH
for [email protected]; Thu, 19 Apr 2012 23:08:31 +0300
Received: from 46.53.195.43
(SquirrelMail authenticated user [email protected])
by mail.grania.neolocation.net with HTTP;
Thu, 19 Apr 2012 23:08:29 +0300 (FET)
Message-ID: <[email protected]t>
Date: Thu, 19 Apr 2012 23:08:29 +0300 (FET)
Subject:
=?utf-8?B?W0Z3ZDog0JzQsNGC0LXRgNC40LDQu9GLIDE5INCw0L/RgNC10LvRj10=?=
From: [email protected]
To: [email protected]
User-Agent: SquirrelMail/1.4.19
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="----=_20120419230829_38092"
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass (grania.neolocation.net: localhost is always allowed.)
client-ip=127.0.0.1; envelope-from=[email protected];
helo=mail.grania.neolocation.net;
DomainKey-Status: no signatureThis doesn't look like a problem with Firefox, but with the attachment that you are putting on the email is blocked. You can read the link the error message gave you, which basically says that :
"ade", "adp", "bat", "chm", "cmd", "com", "cpl", "exe",
"hta", "ins", "isp", "jse", "lib", "mde", "msc", "msp",
"mst", "pif", "scr", "sct", "shb", "sys", "vb", "vbe",
"vbs", "vxd", "wsc", "wsf", "wsh"
Gmail won't accept these types of files even if they are sent in a zipped (.zip, .tar, .tgz, .taz, .z, .gz, .rar) format. If this type of message is sent to your Gmail address, it is bounced back to the sender automatically. -
How to include a .class file in a jsp page
hi everyone,
i know the syntax as:
<%@ include file = "filename.class" %>
then at run time the server could not find the class file
if i use,
<%@ page import = "FileName.class" %>
then also the same problem persists
& if i use
<jsp:include page = "Relative address"/>
the problem still remains as it is...
please help me out...i am working on developing an EJB application in which client interacts with server's Stateful session bean through a jsp page...it is necessary for me to include the home interface class file in my jsp page.
P.S. do not suggest me to include the class file in a package & then use
<%@ page import = "packageName.ClassFileName" %>
i
Edited by: Ankit_JIITU on 6 Jul, 2008 1:55 AMAnkit_JIITU wrote:
i have already included the remote interface class file by <%@ page import = "University.RemoteInterfaceName" %>in my jsp page ...
if i try to make a new package called test & then include my home interface in that package...i need to import University.*to generate the class file of my home interface ; but the class file generation is not taking place as i am getting the error..
"package University does not exist".How can i overcome this problem. The package University, which you are trying to import, must be in the classpath. If you removed it then you will have to add it back.
i have tried my best..but tell me if there's any possible way of including a class file in the jsp page without involving a package.No, there isn't.
If not,then pls help me to generate the class file of my home interface within a package called test.Read the New To Java Tutorial and understand how packages work.
>
i am assuming that u have a deep knowledge of developing EJB applications. -
How to call a class file in a jsp without deploying anything in j2ee
Hi,
I am new in J2EE. I have some jsps, which I configured using web.properties(documentroot=c:/jsp/). I am able to get
those pages by the web browser. I have some import statements in some jsps, now I
am trying to access those page but it is failing, it says
org.apache.jasper.JasperException: Unable to compile class for
JSPD:\j2sdkee1.3\repository\pradip\web\_0002fLogin_0002ejspLogin_jsp_0.java:1:
Class com.gui.UPMGuiGlobalConstants not found in import.
import com.gui.UPMGuiGlobalConstants;
Actually I have not deployed any class file or jsps.. Now my question is can I access
these jsps without deploying anything, like can I put my .jar file in any j2ee
directory(like lib or anywhere else, I already tried after putting in /lib) and restart the
j2ee and use it. So how can I call a class file from a jsp without any kind of
deployment?
Please send me the reply as soon as possible.
Regds,
PradipAfter you put the jar containing the class to import into the WEB-INF/lib directory, you still need to include it in the jsp.
Putting the jar into the lib dir, will make it available to the vm, but as in any other java class, you still need to import it into the class, that the jsp will be compiled into.
And you do that by putting
<%@page import="com.gui.UPMGuiGlobalConstants" %>somewhere near the top of your jsp. (well you don't need to put it there, but it good style ;)
That should do it. -
How to convert JSP Compiled class file back to JSP
Is their any way to convert the JSP converted class file back into JSP file, I have few JSP files missing in my application but i do have class files deployed corresponding to the JSP file. Is their any way where i can convert my JSP class file back to JSP. I tried used decompliers but it conerts the class file into JAVA files, Is their any such decompiler that converts the JSP converted class file into Java files.
Thanks in Advance.nope...its not et al possible...!!!
You cant convert class file back to JSP....!! -
Adobe MEdia Encoder Crashes with big files inputed
Hello,
There isn't a forum for the Adobe Media Encoder, so I thought this would be a good spot. I am an after effects and Premiere user who likes the idea Adobe seems to have of using the media encoder to cover all my encoding needs.
My typical workflow, especially since these days I'm doing more shorter form animations, is to render out to a Quicktime Animation codec file as my main archive file. From there, output all the various different web versions, flv, etc from that core archive file. Since my projects usually aren't running more than 5 minutes, this leaves me with a nice 3 - 7gig file.
Problem: I'm running CS4 and the media encoder crashes when I input files that are in this file size range. The program locks up when I push start que, and then eventually crashes. Works fine with smaller size files that are about under a gig.
I can run a render out of after effects, which seems to be more stable. But I'd love to be able to use this great new tool.
Here's my machine specs if it helps:
PC
Intel Quad Core Q9550 @ 2.83 ghz
4gB RAM
Windows Vista 64 bit ultimate
All updates current for CS4 apps as of 01/30/08
Running Adobe Media Encoder V 4.01.078
Hard drives are nothing special. 7200 rpm western digital internal and external. I've tried all sorts of hard drive configurations, where the input is coming from, where it's going, etc. No difference.
I have been experimenting with using Lossless AVI's as my "uncompressed" archive file. Works well, but same crashing with the Media Encoder.
Also tried experimenting with frame size alterations during encoding, no difference there. Also, whatever the output codec is, be it FLV, H264, etc. no difference.
Anyone have any thoughts or have experienced similar issues? I hope all my MAC friends aren't right, seems like all my attempts to streamline my workflow with this CS4 and beefy PC combo are crashing and burning.
Anyone else feeling this pain, or have recommendations?
Thanks,Thomas, thanks for your suggestions on Vista optimization. That Sheer Codec looks nice, but hard justify the cost when I've been working for years with essentially uncompressed codecs that work well. Will play more though to see if the cost would actually pay off in the long run though.
In general I made a decision that it was too early to throw in the towel on my old uncompressed codecs. The Quicktime animation codec has always been for me the safest, most universally accepted, and most reliable "uncompressed" codec. It's always worked in the past, not gonna give up just cuz media Encoder CS4 has troubles.
Mylenium, thanks for the reminder about the silly platform wars. I've always felt the same as you, but when I'm stressing sometimes the silly propaganda can get to me. Makes me forget that no matter what system ya got, it never works perfect!
Here's an update. I have trying my best to learn more about the bug and have come to some interesting realizations. The AME does work with larger files, just not the larger files that I had been using at the current moment. Older files of mine as big as 20GB can be inputed into AME with fine results.
This being said, it scratches out most of the RAM overload thoughts with AME.
The difference with my current files that were causing AME crashes: larger than a few GB, came from AE, had the 1.21 pixel aspect ratio metadata.
When I re-interpreted the file in AE into a square pixel aspect ratio, exported it, it was then successfully inputed into AME.
I have read just now that there were changes in After Effects widescreen pixel aspect ratio interpretation in CS4. Can this change be causing problems in my AME. Not positive, but I'm now thinking after many days of testing that the bug could have its roots somewhere in this ball park.
If anyone from Adobe is reading this, I would love any ideas you might have on this issue. In general, there is really no support for the Adobe Media Encoder itself. This is not good, considering how it is so necessary for AE and Premiere users like myself.
Thanks, -
Photoshop CS4 crashes with 16 bit files
Photoshop crashes as soon as open 16 bit PSD files. I get no error no warning no nothing - it just crashes, period.
Anyone who's experienced this issue or anyone who would know a possible fix?
I use a freshly installed CS4 Design Premium pack.With all respect, although you have typed your question very carefully you have contradicted yourself twice. First of all …
Anyway it seems now that 16 bit images open without any issues - after
OpenGL is activated. And true enough, as soon as I activated OpenGL
photoshop shut down on me.
That makes no sense. Does Photoshop crash or not when Open GL is activated?
Photoshop crashes as soon as open 16 bit PSD files. I get no error no warning no nothing - it just crashes, period.
I'm working with even larger files that nears the 1 gig mark but they aren't 16bit
Again, this is a direct contradiction, no idea if you are tryng to work with 16 bit or not. -
Hello:)
I'm in trouble: I have a big csv file (over 5gb of web-analytics data) and my 64 bit excel (and 6gb ram)
I cant load file to data model because of it's size. There is an error "out of memory" in power query.
This is the first time when I encountered such a problem.
What options do I have to work with such a file? To increase memory in my computer? Would it solve the problem? How much do I need to work with 6gb csv?
Or may be I can upload my data somewhere to azure and work with it there?
So the problem - is there any way to deal with big files using power query? Or I need to become a developer and learn sql or other languages?
Thanks in advance.
MaxHi Miguel!
Thanks for your answer.
I've tried to load this file on virtual pc from azure cloud with this config:
I have increased memory limit in power query settings:
And still, the proble is the same:
What I do wrong? -
Indesign Crashing with .indb Book file
Hi,
I'm having an issue with using the Book pallette crashing InDesign every time I try to edit it.
I've found many people having crashing issues on Mac OSX and with exporting to PDF but can't seem to find an instance of crashes due to Book files.
Basically every time I try to delete, move, add a page to the Book (.indb file), InDesign will pop up a dialogue "Updating page an section numbers" and update the docs within the Book. This works as it should until I add one of my Chapters (largest chapter at: 26, 884 KB). It then proceeds to crash after trying to udate the book every time I try to edit it.
I'm wondering if there is a Book size restriction or a Chapter size restriction, as the only real difference this chapter has is size. All the Chapters together equate 108, 450 KB, which I would have thought InDesign could handle, which makes me doubt that file size is the issue.
The whole Book is only 98 pages.I used the Remove minor corruption by exportingon my other .indd docs and it reduced the file size dramatically in some cases. The reason being, I was saving chapters from a single consolidated document (53,136 KB), by copying the document then deleting pages. While the file size was reduced each time it must have retained unessessary information when deleting pages. I assume the solution mentioned must clear whatever unused cache is in the document, resulting in the file size shrinking.
Example:
Largest chapter at: 26, 884 KB was reduced to 16,888 KB
2nd largest chapter at 25, 356 KB was reduced to 2,988 KB -
How to create a Jar with only class files?
Dear all,
I want to create a jar file with only classes.My class files and java files are in different folders under com .
say
com
in com there are two folders
folder 1 -- subfolder 1
folder 2 -- subfolder 2
like this.
If i want to create a jar file from com directory how should i give the jar command.Again my jar should contain only .class files.
Any help will be appreciated
Thanks
lekshmiIt doesn't work.Says "No such class or directory"
Any other way Or is it possible to do so?Read the link I posted and create the statement to make your structure. I was thinking you were inside the com directory but if you are above it you will need something like this instead:
jar -cf test.jar com\*.class com\subfolder1\*.class com\subfoler2\*.class
But either way don't just copy and past this. Think about what is does so that you can make it work for you.
Also, you might want to look into using Ant if you are going to be building this a lot. -
Premiere CS4 crashes with MXF XDCAM files
I have MXF files coming from MP4 XDCAM EX files (converted with Sony EX Browser) and MOV XDCAM EX files (converted with Convergent Design File Converter) both from JVC HM700. Premiere imports all files and if I have a simple timeline it works fine. As soon as the timeline gets longer Premiere stucks and eventually crashes.
Any idea?I use Clip Browser to convert footage done in MP4 but also Convergent Design's File Converter 1.3 to convert footage shot in MOV.
in Premiere on MAC both MXFs work fine is just that in long (over 15-20 minutes) projects and where there are 2 levels of timeline (I'm sincing the 2cameras) or when I do a simple scale effect (to see the level underneath) everything stucks, get very slow and eventually crashes.
Actually a single MXF file plays better than a MOV XDCAM file and almost the same than a MP4 XDCAM file.. but as I said.. when it gets to handle many together.. things don't work so good anymore -
How to compile and register a Java CFX tag with multiple class files?
All-
If this is the wrong forum for CFX questions, please let me
know.
I need to determine how to compile and register a Java CFX
tag that contains multiple class files. One class file implements
the CustomTag interface and the other class files implement various
supporting classes. All of the documentation that I have found
talks about using a single class file. I am assuming that a JAR
file will be involved, but I am not sure of the specifics.
Thanks in advance for your help.
-JoshYes, it will involve a jar. Use your java IDE (eclipse,
etcetera ..) to create a jar containing all of the classes. Check
your ide's documentation for how to create jar files. After you
have created the jar, place the jar in the CF class path so CF will
recognize it. For example the {cf_root}/WEB-INF/lib directory. CF
must be restarted before it will detect the new jar. After
restarting CF, register the CFX tag in the ColdFusion Administrator
using the name of the class that implements the CustomTag
interface.
Though it is worth noting you can also instantiate java
classes directly from ColdFusion (ie without using a CFX
tag). -
Need help with a class file!
How do you decompress or decompile a class file??? I just can't seem to get it...
One program is called JAD...
Also the jedit program has a plugin to decompile class files.
http://www.jedit.org
Uwe
Maybe you are looking for
-
How to use my macbook air as a dvr
I would like to use my MacBook Air as a DVR in this manner: I would bring up a flick that I missed and stream it (after the "live" broadcast"). I would like to record it to my "MacDVR" and play it back enabling me to Fast Forward thru the commercia
-
Mountain Lion Server VPN unable to route internet traffic
Hi! I have set up a VPN server on my home network specifically so that I could connect via a VPN client remotely and tunnel all internet traffic through my home network (It is a long story but I need to be able to access services that are specific to
-
ZEN VISION:M CHARGING PROBLEM - H
[color="#ff0000"]ZEN VISION:M MP3 PLAYER CHARGING PROBLEM?My MP3 player was charging perfectly for the first 4 weeks of its life with me. I usually charged using the USB port on my computer. When connected, the player would come to life and the CHARG
-
Button to open a seperate page
Hello All, Oracle 11g, Apex 3.1.2 i have a button with label - "Search Dictionary" when i click this button , it opens the url link in the same page - but i want to open as a seperate page . How to do so. Second thing is how to create a URL link on a
-
I cant synch to my ipod, but wane i plug in my ipod to the computer he sad that the songs are in the ipod. but wan i am yousing my ipod it dosent shoews the playlists and the songs. i have the latest vergion. (i have ipod video 30g). please help me!!