Unable to calculate a request signature: Algorithm HmacSHA1 not available
I develop one javaFx application.
which upload the files on amazon s3 server.
The application work fine when the executable jar of the application is made.
But when the native packaging of the application is done. The .msi file is created and after installing this .msi the application started correctly but at the time of uploading file on s3 the "Unable to calculate a request signature: Algorithm HmacSHA1 not available" error occur in log file and files are not uploaded.
The creation of the jar and native application is done by the com.zenjava maven plugin.
Got the solution.After creating native bundle the bundle have its own private copy of jre this private jre does not contain "ext" folder which is present in regular jre.
This causes the problem of cryptography which is the reason for above problem.
Similar Messages
-
Please resolve the maps issue on iO6 as it is not working properly resolution is very bad not getting correct locations direction are not available appears while calculating route
Please resolve the maps issue on iO6 as it is not working properly resolution is very bad not getting correct locations direction are not available appears while calculating route
-
NoSuchAlgorithmException : Algorithm DESede not available
Hi,
Could any one tell me why this error comes
The particular method which throws the Exception is
SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DESede");
The Exception stackTrace is
java.security.NoSuchAlgorithmException: Algorithm DESede not available
at javax.crypto.SunJCE_b.a(DashoA6275)
at javax.crypto.SecretKeyFactory.getInstance(DashoA6275)
at com.orbitech.armor.syncd.server.ArmorKeyTabFile.ReadKeyTabFile(ArmorK
eyTabFile.java:173)
at com.orbitech.armor.syncd.server.OracleRegistryPlugin.init(OracleRegis
tryPlugin.java:210)
at ArmorSystemServlet.processPrnInfo(ArmorSystemServlet.java:194)
at ArmorSystemServlet.doPost(ArmorSystemServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRun
ner.java:533)
com.orbitech.armor.syncd.server.ArmorException: Error in Reading Keytab file
at com.orbitech.armor.syncd.server.ArmorKeyTabFile.ReadKeyTabFile(ArmorK
eyTabFile.java:212)
at com.orbitech.armor.syncd.server.OracleRegistryPlugin.init(OracleRegis
tryPlugin.java:210)
at ArmorSystemServlet.processPrnInfo(ArmorSystemServlet.java:194)
at ArmorSystemServlet.doPost(ArmorSystemServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRun
ner.java:533)
Im trying to use JCE api's in a servlet running under a iplanet ssl server. Also my classpath setting contains the jce jars as well.
I am able to see very well the SunJCE provider and the algorithm are installed. The code I used too see them is
System.out.println("Cipher algorithms : ");
Object[] o = Security.getAlgorithms("Cipher").toArray();
for (int i=0; i<o.length; i++) {
System.out.println((String) o[ i ]);
Cipher algorithms :
BLOWFISH
DESEDE
PBEWITHMD5ANDTRIPLEDES
DES
PBEWITHMD5ANDDES
System.out.println("MessageDigest algorithms : ");
o = Security.getAlgorithms("MessageDigest").toArray();
for (int i=0; i<o.length; i++) {
System.out.println((String) o[ i ]);
MessageDigest algorithms :
MD5
SHA
System.out.println("Signature algorithms : ");
o = Security.getAlgorithms("Signature").toArray();
for (int i=0; i<o.length; i++) {
System.out.println((String) o[ i ]);
Signature algorithms :
MD2WITHRSA
MD5WITHRSA
SHA1WITHDSA
SHA1WITHRSA
System.out.println("Mac algorithms : ");
o = Security.getAlgorithms("Mac").toArray();
for (int i=0; i<o.length; i++) {
System.out.println((String) o[ i ]);
Mac algorithms :
HMACSHA1
HMACMD5
System.out.println("Keystore algorithms : ");
o = Security.getAlgorithms("Keystore").toArray();
for (int i=0; i<o.length; i++) {
System.out.println((String) o[ i ]);
Keystore algorithms :
PKCS12
JCEKS
JKS
System.out.println("Providers : ");
Provider p[] = Security.getProviders();
for(int i = 0; i<p.length; i++) {
System.out.println( p.getName());
Providers :
SUN
SunJSSE
SunRsaSign
SunJCE
SunJGSS
Thanks in advance
regds........jptry this...it worked for me......
put all four JCE jar files in the ext folder buried deep inside ur program files ...I have it in >> "C:\Program Files\Java\j2re1.4.1_02\lib\ext" folder .Now edit the file "C:\Program Files\Java\j2re1.4.1_02\lib\security\java.security" and add register ur provider by adding the line>> security.provider.2=com.sun.crypto.provider.SunJCE
save the file and rerun the program..the exception should vanish..
Sanjit R
US Software Pvt Ltd
Technopark,
Trivandrum
Kerala
India -
On a Mac, in Adobe Photoshop CC 2014, when adding audio to an edit, i get the message "Could not complete your request, because Dynamiclink is not available".
When performing the exact same operation in Adobe Photoshop CC, i can add audio in the same way, no error message. Any ideas to solve this, anyone? Would be greatly appreciated.I tried to update and it keeps telling me to get the Application Manager. And this is what happens
Adobe Application Manager failed and it told me to download the Adobe Support Advisor.
Adobe Support Advisor told me that there was an issue:" cpsid_82829s1: "A restart is pending," bootstrapper error has occurred. "Token Number: 40-87772-063201122012
I followed the instructions it gave me to correct this issue:
If you receive the error "Installer has detected that a machine restart is pending. It is recommended that you quit the installer, restart try again," do the following:
#Restart the computer and try the installation again.
#If the installation fails, delete the InProgress registry key:
Disclaimer: This procedure involves editing the Windows registry. Adobe doesn't provide support for editing the registry, which contains critical system and application information. Make sure to back up the registry before editing it. For more information about the registry, see Windows registry information for advanced users on the Microsoft support site, or contact Microsoft.
Launch Windows Registry Editor.
(Windows XP) Choose Start > Run, type regedit in the Open text box and click OK.
(Windows Vista/ Windows 7) Choose Start, type regedit in the Search box, and press Enter.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
Delete the InProgress key.
I was not able to find the "InProgress" key. -
I am trying to open a video to edit in CS6 and I get this error: Could not complete your request because DynamicLink is not available
I read on one of these formus that I should uninstall and reinstall the program.
I tried to uninstall the program and it told me to use the Adobe Application Manager.
Adobe Application Manager failed and it told me to download the Adobe Support Advisor.
Adobe Support Advisor told me that there was an issue:" cpsid_82829s1: "A restart is pending," bootstrapper error has occurred. "Token Number: 40-87772-063201122012
I followed the instructions it gave me to correct this issue:
If you receive the error "Installer has detected that a machine restart is pending. It is recommended that you quit the installer, restart try again," do the following:
#Restart the computer and try the installation again.
#If the installation fails, delete the InProgress registry key:
Disclaimer: This procedure involves editing the Windows registry. Adobe doesn't provide support for editing the registry, which contains critical system and application information. Make sure to back up the registry before editing it. For more information about the registry, see Windows registry information for advanced users on the Microsoft support site, or contact Microsoft.
Launch Windows Registry Editor.
(Windows XP) Choose Start > Run, type regedit in the Open text box and click OK.
(Windows Vista/ Windows 7) Choose Start, type regedit in the Search box, and press Enter.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
Delete the InProgress key.
I was not able to find the "InProgress" key.
I just want to be able to edit video using my CS6!!! Please help!
My system info:
Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x32
Operating System: Windows 7 64-bit
Version: 6.1
System architecture: Intel CPU Family:6, Model:14, 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: 1729 MHz
Built-in memory: 4027 MB
Free memory: 1810 MB
Memory available to Photoshop: 3255 MB
Memory used by Photoshop: 60 %
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 GT 330M/PCI/SSE2
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 768, right: 1366
Video Card Number: 1
Video Card: NVIDIA GeForce GT 330M
OpenCL Unavailable
Driver Version: 8.16.11.8988
Driver Date: 20100505000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1366 x 768 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GT 330M
Video Card Memory: 1024 MB
Video Rect Texture Size: 8192
Serial number: 91190138603683837940
Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\
Temporary file path: C:\Users\Ainge\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 452.7G, 265.3G free
Required Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Required\
Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/01/18-15:07:40 66.492997 66.492997
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/02/09-16:00:02 4.0.93 66.496052
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/01/18-15:07:40 66.492997 66.492997
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 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/01/18-15:07:40 66.492997 66.492997
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/01/18-15:07:40 66.492997 66.492997
BIBUtils.dll BIBUtils 2012/01/18-15:07:40 66.492997 66.492997
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/01/18-15:07:40 66.492997 66.492997
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
libeay32.dll The OpenSSL Toolkit 0.9.8g
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
msvcp71.dll Microsoft® Visual Studio .NET 7.10.3077.0
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
msvcr71.dll Microsoft® Visual Studio .NET 7.10.3052.4
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 (32 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
shfolder.dll Microsoft(R) Windows (R) 2000 Operating System 5.50.4027.300
ssleay32.dll The OpenSSL Toolkit 0.9.8g
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:
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 7.1
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Collada 13.0 (13.0 20120315.r.428 2012/03/15: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 (13.0 20120315.r.428 2012/03/15: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
Difference Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Embed Watermark 4.0
Extrude 13.0
FastCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
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
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Measurement Core 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mezzotint 13.0
MMXCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0 (13.0 20120315.r.428 2012/03/15: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 (13.0 20120315.r.428 2012/03/15:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Picture Package Filter 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Pinch 13.0
Pixar 13.0 (13.0 20120315.r.428 2012/03/15: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 (13.0 20120315.r.428 2012/03/15:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0 (13.0 20120315.r.428 2012/03/15: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
Shear 13.0
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Sumi-e 13.0
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variations 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
WIA Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Wind 13.0
Wireless Bitmap 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
ZigZag 13.0
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEI tried to update and it keeps telling me to get the Application Manager. And this is what happens
Adobe Application Manager failed and it told me to download the Adobe Support Advisor.
Adobe Support Advisor told me that there was an issue:" cpsid_82829s1: "A restart is pending," bootstrapper error has occurred. "Token Number: 40-87772-063201122012
I followed the instructions it gave me to correct this issue:
If you receive the error "Installer has detected that a machine restart is pending. It is recommended that you quit the installer, restart try again," do the following:
#Restart the computer and try the installation again.
#If the installation fails, delete the InProgress registry key:
Disclaimer: This procedure involves editing the Windows registry. Adobe doesn't provide support for editing the registry, which contains critical system and application information. Make sure to back up the registry before editing it. For more information about the registry, see Windows registry information for advanced users on the Microsoft support site, or contact Microsoft.
Launch Windows Registry Editor.
(Windows XP) Choose Start > Run, type regedit in the Open text box and click OK.
(Windows Vista/ Windows 7) Choose Start, type regedit in the Search box, and press Enter.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
Delete the InProgress key.
I was not able to find the "InProgress" key. -
Could not complete your request because DynamicLink is not available
I am trying to open a video to edit in CS6 and I get this error: Could not complete your request because DynamicLink is not available
I read on one of these formus that I should uninstall and reinstall the program.
I tried to uninstall the program and it told me to use the Adobe Application Manager.
Adobe Application Manager failed and it told me to download the Adobe Support Advisor.
Adobe Support Advisor told me that there was an issue:" cpsid_82829s1: "A restart is pending," bootstrapper error has occurred. " Token Number: 40-87772-063201122012
I followed the instructions it gave me to correct this issue:
If you receive the error "Installer has detected that a machine restart is pending. It is recommended that you quit the installer, restart try again," do the following:
Restart the computer and try the installation again.
If the installation fails, delete the InProgress registry key:
Disclaimer: This procedure involves editing the Windows registry. Adobe doesn't provide support for editing the registry, which contains critical system and application information. Make sure to back up the registry before editing it. For more information about the registry, see Windows registry information for advanced users on the Microsoft support site, or contact Microsoft.
Launch Windows Registry Editor.
(Windows XP) Choose Start > Run, type regedit in the Open text box and click OK.
(Windows Vista/ Windows 7) Choose Start, type regedit in the Search box, and press Enter.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
Delete the InProgress key.
I was not able to find the "InProgress" key.
I just want to be able to edit video using my CS6!!! Please help!
My system info:
Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x32
Operating System: Windows 7 64-bit
Version: 6.1
System architecture: Intel CPU Family:6, Model:14, 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: 1729 MHz
Built-in memory: 4027 MB
Free memory: 1810 MB
Memory available to Photoshop: 3255 MB
Memory used by Photoshop: 60 %
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 GT 330M/PCI/SSE2
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 768, right: 1366
Video Card Number: 1
Video Card: NVIDIA GeForce GT 330M
OpenCL Unavailable
Driver Version: 8.16.11.8988
Driver Date: 20100505000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1366 x 768 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GT 330M
Video Card Memory: 1024 MB
Video Rect Texture Size: 8192
Serial number: 91190138603683837940
Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\
Temporary file path: C:\Users\Ainge\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 452.7G, 265.3G free
Required Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Required\
Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/01/18-15:07:40 66.492997 66.492997
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/02/09-16:00:02 4.0.93 66.496052
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/01/18-15:07:40 66.492997 66.492997
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 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/01/18-15:07:40 66.492997 66.492997
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/01/18-15:07:40 66.492997 66.492997
BIBUtils.dll BIBUtils 2012/01/18-15:07:40 66.492997 66.492997
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/01/18-15:07:40 66.492997 66.492997
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
libeay32.dll The OpenSSL Toolkit 0.9.8g
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
msvcp71.dll Microsoft® Visual Studio .NET 7.10.3077.0
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
msvcr71.dll Microsoft® Visual Studio .NET 7.10.3052.4
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 (32 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
shfolder.dll Microsoft(R) Windows (R) 2000 Operating System 5.50.4027.300
ssleay32.dll The OpenSSL Toolkit 0.9.8g
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:
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 7.1
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Collada 13.0 (13.0 20120315.r.428 2012/03/15: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 (13.0 20120315.r.428 2012/03/15: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
Difference Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Embed Watermark 4.0
Extrude 13.0
FastCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
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
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Measurement Core 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mezzotint 13.0
MMXCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0 (13.0 20120315.r.428 2012/03/15: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 (13.0 20120315.r.428 2012/03/15:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Picture Package Filter 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Pinch 13.0
Pixar 13.0 (13.0 20120315.r.428 2012/03/15: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 (13.0 20120315.r.428 2012/03/15:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0 (13.0 20120315.r.428 2012/03/15: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
Shear 13.0
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Sumi-e 13.0
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variations 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
WIA Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Wind 13.0
Wireless Bitmap 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
ZigZag 13.0
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEThis forum is for suite specific questions only. Yours appears to be application specific and if I was sure which one I would move this there.
There are several video apps so please post this in the appropriate one where the experts are far more likely to see it.
Bob -
Java.security.NosuchAlgorithmException: Algorithm DESede not available
Dear All,
I have created an adapter module using 3DES encryption/decryption algorithm for File/FTP adapter configuration and have deployed it at J2EE server of respective XI system.
The alogorithm and adapter module are working fine in DEV & QA environments but in Mirror system(which is similar to Prod), I have been encountering Error:-
java.security.NosuchAlgorithmException: Algorithm DESede not available
Code snippet for reference:-
// Convert the raw bytes to a secret key
DESedeKeySpec keyspec = new DESedeKeySpec(rawkey);
SecretKeyFactory keyfactory = SecretKeyFactory.getInstance("DESede");SecretKey key = keyfactory.generateSecret(keyspec);
return key;
Can you please suggest what could be issue here? Any inputs will be highly appreciated.
Thanks and Best Regards
Prashant RajaniHi prometheuzz,
Thanks for your inputs.
Please find below the results we received on comparing the files on QA & mirror systems:-
GXB - QA
baup22g0:gxbdb:gxbadm 13> ls -lrt
total 104
-rwxr-xr-x 1 bin bin 2212 May 12 2004 local_policy.jar
-rwxr-xr-x 1 bin bin 2199 May 12 2004 US_export_policy.jar
-rwxr-xr-x 1 bin bin 6593 Oct 16 19:49 java.security
-rwxr-xr-x 1 bin bin 2652 Oct 16 19:49 java.policy
-rwxr-xr-x 1 bin bin 30337 Oct 16 19:49 cacerts
GXC-Mirror
bauc52g0:gxcdb:gxcadm 2> ls -lrt
total 104
-rwxr-xr-x 1 bin bin 2212 May 12 2004 local_policy.jar
-rwxr-xr-x 1 bin bin 2199 May 12 2004 US_export_policy.jar
-rwxr-xr-x 1 bin bin 6593 Oct 16 19:49 java.security
-rwxr-xr-x 1 bin bin 2652 Oct 16 19:49 java.policy
-rwxr-xr-x 1 bin bin 30337 Oct 16 19:49 cacerts
bauc52g0:gxcdb:gxcadm 3>
The results seem identical. Can you please let us know where we should target exactly?
Thanks & Best Regards
Prashant -
Hi, i use Myfaces and Tomcat. Sometimes there is error : The requested resource (/test/) is not available. This is regarding war file. How can i check where there is the error? Sometimes the files are allmost same, i think. But in one time it works, in other no. I use Eclipse to edit and create files. Is it possible to check the errors before creating of war file? Thanks in advance!!!!!!!!!!
Hi, i use Myfaces and Tomcat. Sometimes there is error : The requested resource (/test/) is not available. This is regarding war file. How can i check where there is the error? Sometimes the files are allmost same, i think. But in one time it works, in other no. I use Eclipse to edit and create files. Is it possible to check the errors before creating of war file? Thanks in advance!!!!!!!!!!
-
"The requested resource (/hello) is not available" Error of Servlet
Hello all,
I get HTTP STATUS 404 Error which states "The requested resource (/hello) is not available" even thought according to me I am doing everything perfectly.
Here is more information. If you can find out where the proble might be please
let me know because I am working on this for more than 9 hours.
I AM USING-<br>
TOMCAT 5.5.26 <br>
JRE 6 <br>
J2SDK 1.4.0 <br>
</B>
<BR><BR>
SYSTEM VARIABLES :<br>
<B>
CLASSPATH
</B>
C:\apache-tomcat-5.5.26\common\lib\servlet-api.jar <BR>
<B> JAVA_HOME</B> D:\j2sdk1.4.0
<BR>
<B>JRE_HOME</B> C:\Program Files\Java\jre6
<BR>
<B>TOMCAT_HOME </B>C:\apache-tomcat-5.5.26
<BR>
<P>
I have placed my hello.class file inside
<b>C:\apache-tomcat-5.5.26\webapps\ROOT\WEB-INF\classes</b>
also, i have modified web.xml file as<br>
<b>
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>hello</servlet-name>
<url-pattern>hello</url-pattern>
</servlet-mapping>
</b><br><br>
But still I am not able to access my servlet when i type
http://localhost:8080/hello
I get the error I mentioned above.Hi..Thanks for all those who have replied earlier. I feel I should add some more information.
I dont know what PACKAGE NAME you are talking about
I am pasting contents of my XML file located in :
**apache-tomcat-5.5.26\webapps\ROOT\WEB-INF\web.xml**
-->
- <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<display-name>Welcome to Tomcat</display-name>
<description>Welcome to Tomcat</description>
- <!-- JSPC servlet mappings start
-->
- <servlet>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<servlet-class>org.apache.jsp.index_jsp</servlet-class>
</servlet>
- <servlet-mapping>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
- <!-- JSPC servlet mappings end
-->
</web-app>
web.xml file located in
apache-tomcat-5.5.26\webapps\servlets-examples\WEB-INF
is given below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version
2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Servlet 2.4 Examples</display-name>
<description>
Servlet 2.4 Examples.
</description>
<!-- Define servlet-mapped and path-mapped example filters -->
<filter>
<filter-name>Servlet Mapped Filter</filter-name>
<filter-class>filters.ExampleFilter</filter-class>
<init-param>
<param-name>attribute</param-name>
<param-value>filters.ExampleFilter.SERVLET_MAPPED</param-value>
</init-param>
</filter>
<filter>
<filter-name>Path Mapped Filter</filter-name>
<filter-class>filters.ExampleFilter</filter-class>
<init-param>
<param-name>attribute</param-name>
<param-value>filters.ExampleFilter.PATH_MAPPED</param-value>
</init-param>
</filter>
<filter>
<filter-name>Request Dumper Filter</filter-name>
<filter-class>filters.RequestDumperFilter</filter-class>
</filter>
<!-- Example filter to set character encoding on each request -->
<filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>EUC_JP</param-value>
</init-param>
</filter>
<filter>
<filter-name>Compression Filter</filter-name>
<filter-class>compressionFilters.CompressionFilter</filter-class>
<init-param>
<param-name>compressionThreshold</param-name>
<param-value>10</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
</filter>
<!-- Define filter mappings for the defined filters -->
<filter-mapping>
<filter-name>Servlet Mapped Filter</filter-name>
<servlet-name>invoker</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>Path Mapped Filter</filter-name>
<url-pattern>/servlet/*</url-pattern>
</filter-mapping>
<!-- Example filter mapping to apply the "Set Character Encoding"
filter
to all requests processed by this web application -->
<!--
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-->
<!--
<filter-mapping>
<filter-name>Compression Filter</filter-name>
<url-pattern>/CompressionTest</url-pattern>
</filter-mapping>
-->
<!--
<filter-mapping>
<filter-name>Request Dumper Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
-->
<!-- Define example application events listeners -->
<listener>
<listener-class>listeners.ContextListener</listener-class>
</listener>
<listener>
<listener-class>listeners.SessionListener</listener-class>
</listener>
<!-- Define servlets that are included in the example application
-->
<servlet>
<servlet-name>CompressionFilterTestServlet</servlet-name>
<servlet-class>compressionFilters.CompressionFilterTestServlet</servlet
-class>
</servlet>
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>hello</servlet-class>
</servlet>
</servlet>
<servlet>
<servlet-name>HelloWorldExample</servlet-name>
<servlet-class>HelloWorldExample</servlet-class>
</servlet>
<servlet>
<servlet-name>RequestInfoExample</servlet-name>
<servlet-class>RequestInfoExample</servlet-class>
</servlet>
<servlet>
<servlet-name>RequestHeaderExample</servlet-name>
<servlet-class>RequestHeaderExample</servlet-class>
</servlet>
<servlet>
<servlet-name>RequestParamExample</servlet-name>
<servlet-class>RequestParamExample</servlet-class>
</servlet>
<servlet>
<servlet-name>CookieExample</servlet-name>
<servlet-class>CookieExample</servlet-class>
</servlet>
<servlet>
<servlet-name>SessionExample</servlet-name>
<servlet-class>SessionExample</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CompressionFilterTestServlet</servlet-name>
<url-pattern>/CompressionTest</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>HelloWorldExample</servlet-name>
<url-pattern>/servlet/HelloWorldExample</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RequestInfoExample</servlet-name>
<url-pattern>/servlet/RequestInfoExample/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RequestHeaderExample</servlet-name>
<url-pattern>/servlet/RequestHeaderExample</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RequestParamExample</servlet-name>
<url-pattern>/servlet/RequestParamExample</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CookieExample</servlet-name>
<url-pattern>/servlet/CookieExample</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SessionExample</servlet-name>
<url-pattern>/servlet/SessionExample</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>hello</servlet-name>
<url-pattern>/servlet/hello</url-pattern>
</servlet-mapping>
<security-constraint>
<display-name>Example Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<!-- Define the context-relative URL(s) to be protected -->
<url-pattern>/jsp/security/protected/*</url-pattern>
<!-- If you list http methods, only those methods are
protected -->
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area
-->
<role-name>tomcat</role-name>
<role-name>role1</role-name>
</auth-constraint>
</security-constraint>
<!-- Default login configuration uses form-based authentication -->
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Example Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/jsp/security/protected/login.jsp</form-login-page>
<form-error-page>/jsp/security/protected/error.jsp</form-error-page>
</form-login-config>
</login-config>
<!-- Security roles referenced by this web application -->
<security-role>
<role-name>role1</role-name>
</security-role>
<security-role>
<role-name>tomcat</role-name>
</security-role>
<!-- Environment entry examples -->
<!--env-entry>
<env-entry-description>
The maximum number of tax exemptions allowed to be set.
</env-entry-description>
<env-entry-name>maxExemptions</env-entry-name>
<env-entry-value>15</env-entry-value>
<env-entry-type>java.lang.Integer</env-entry-type>
</env-entry-->
<env-entry>
<env-entry-name>minExemptions</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<env-entry-value>1</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>foo/name1</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>value1</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>foo/bar/name2</env-entry-name>
<env-entry-type>java.lang.Boolean</env-entry-type>
<env-entry-value>true</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>name3</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<env-entry-value>1</env-entry-value>
</env-entry>
<env-entry>
<env-entry-name>foo/name4</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<env-entry-value>10</env-entry-value>
</env-entry>
</web-app>
My program hello.java is given below
import java.io.*;
import javax.servlet.http.*;
import javax.servlet.*;
public class hello extends HttpServlet {
public void doGet (HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException
PrintWriter out = res.getWriter();
out.println("Hello, world!");
out.close();
} -
The requested resource (/Webtest) is not available.
--context.xml--
<Context path="/WebApplication1">
<ResourceLink global="jdbc/myoracle2" name="jdbc/myoracle2" type="javax.sql.DataSource"/>
</Context>
---web.xml---
<servlet>
<servlet-name>WebServlet</servlet-name>
<servlet-class>WebServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WebServlet</servlet-name>
<url-pattern>/WebServlet</url-pattern>
</servlet-mapping>
----HTML-----
<HTML>
<HEAD>
<TITLE>Example</TITLE>
</HEAD>
<BODY BGCOLOR="WHITE">
<TABLE BORDER="2" CELLPADDING="2">
<TR><TD WIDTH="275">
<FORM METHOD="POST" ACTION="/Webtest">
<p>
<INPUT NAME="ADMIN_USERNAME" TYPE="TEXT" id="ADMIN_USERNAME" SIZE=30>
</p>
<p>
<INPUT NAME="ADMIN_PASSWORD" TYPE="TEXT" id="ADMIN_PASSWORD" SIZE=30>
</p>
<P>
<INPUT TYPE="SUBMIT" VALUE="Click Me">
<INPUT TYPE="RESET">
</FORM>
</TD></TR>
</TABLE>
</BODY>
</HTML>
----JAVA SERVLET-----
import java.sql.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Webtest
extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException,
IOException {
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
String sourceURL = "jdbc/myoracle2";
Connection databaseConnection = DriverManager.getConnection(sourceURL);
Statement stmt = databaseConnection.createStatement();
String jname = request.getParameter("ADMIN_USERNAME");
String jemail = request.getParameter("ADMIN_PASSWORD");
String sqlInsertString ="INSERT INTO administrator (ADMIN_USERNAME,ADMIN_PASSWORD) VALUES ('" + jname +"', '" +jemail + "')";
stmt.executeUpdate(sqlInsertString);
databaseConnection.commit();
databaseConnection.close();
catch(ClassNotFoundException cnfe)
System.err.println("Error loading Driver");
catch (SQLException sqle){
System.err.println("SQL Error");
[/code
can you help me. above example code has error message, the requested resource /webtest is not available... I do not know where is problem. but I am sure that database connection is o.k. I already test other example.
thank you so much
Message was edited by:
jin412there is no problem to retrieve data from database.
but I have a problem to add the record.Does it generate an exception? Try adding a line to print the stack trace in the exception block.
sqle.printStackTrace(); -
The requested resource (/Admin) is not available.
Hello ,
I am developing one small project. I am using struts,EJB and Hibernate to develop this project.
My project name is Admin. It has two sub-modules:- AdminWeb and AdminEJB.
In the sub-module AdminWeb, i am writing all the struts related stuff like Action classes,form bean classes, I have struts-config inside WEB-INF folder along with web.xml and other tlds. From the action class i am takinf the lookup of session bean which is in the another sub-module name as AdminEJB. and invoking the business method from of that bean class.
In the sub-module AdminEJB, I wrote all my Home Interface, Remote Interface and Session Bean class.From the session bean class i am firing a HQL query to interact with Database. I create Hibernate.cfg.xml and also mapping xml file needed to map with the database.Then i created ejb-jar.xml file.
I created EAR file name as Admin. And deployed in My JBoss server.
Now when i am running my project from web browser. then the following message is coming on the screen:-
The requested resource (/Admin) is not available.
Can anyone help me plz to recitify this problem.
Thanks with regard,
sanjay KumarHello Again ,
The below the stack
16:13:59,189 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
16:13:59,189 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
16:14:00,439 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
16:14:01,017 INFO [A] Bound to JNDI name: queue/A
16:14:01,017 INFO Bound to JNDI name: queue/B
16:14:01,033 INFO [C] Bound to JNDI name: queue/C
16:14:01,033 INFO [D] Bound to JNDI name: queue/D
16:14:01,033 INFO [ex] Bound to JNDI name: queue/ex
16:14:01,064 INFO [testTopic] Bound to JNDI name: topic/testTopic
16:14:01,064 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
16:14:01,064 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
16:14:01,064 INFO [testQueue] Bound to JNDI name: queue/testQueue
16:14:01,142 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
16:14:01,189 INFO [DLQ] Bound to JNDI name: queue/DLQ
16:14:01,439 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
16:14:01,611 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MyOracleDS' to JNDI name 'MyOracleDS'
16:14:01,705 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
16:14:03,220 INFO [EARDeployer] Init J2EE application: file:/E:/jboss-4.2.1/server/default/deploy/Admin.ear
16:14:22,250 INFO [EjbModule] Deploying DiscountDetailBean
16:14:22,688 INFO [ProxyFactory] Bound EJB Home 'DiscountDetailBean' to jndi 'Holiday_Cottage_Group/AdminEjb/ejbModule/com/discountEjbs/InsertDiscountDetailHome'
16:14:22,688 INFO [EJBDeployer] Deployed: file:/E:/jboss-4.2.1/server/default/tmp/deploy/tmp62976Admin.ear-contents/AdminEJB.jar
16:14:22,719 INFO [TomcatDeployer] deploy, ctxPath=/AdminWeb, warUrl=.../tmp/deploy/tmp62976Admin.ear-contents/AdminWeb-exp.war/
16:14:22,891 INFO [WebappClassLoader] validateJarFile(E:\jboss-4.2.1\server\default\.\tmp\deploy\tmp62976Admin.ear-contents\AdminWeb-exp.war\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
16:14:22,922 INFO [WebappClassLoader] validateJarFile(E:\jboss-4.2.1\server\default\.\tmp\deploy\tmp62976Admin.ear-contents\AdminWeb-exp.war\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
16:14:23,578 INFO [EARDeployer] Started J2EE application: file:/E:/jboss-4.2.1/server/default/deploy/Admin.ear
16:14:23,719 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
16:14:23,750 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:14:23,766 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 50s:810ms
Thanks with regards,
Sanjay Kumar -
The requested resource (/apex/) is not available
I installed oracle 10g,but when i try to open my home page that time i got this error,i don'nt know how to fix it.
it automaticaly reaches to this address-
http://127.0.0.1:8080/apex/
and now i got this error.
HTTP Status 404 - /apex/
type Status report
message /apex/
description The requested resource (/apex/) is not available.
Apache Tomcat/5.5.28
Please can you help me,what to do next. and how to handle this error.......
Regards
Deepak SharmaHi,
Your Tomcat is running also in port 8080.
Change Tomcat or EPG port
This might help change XE EPG port
http://daust.blogspot.com/2006/01/xe-changing-default-http-port.html
Regards,
Jari -
The requested resource (/ShowParameters) is not available.
hi
hope someone can help me cause i'm looking for hours and cannot find my error :(
I use a from.jsp with the following action:
<form action="/ShowParameters" method="post">as soon as i click on the submit button i do get the following error message:
The requested resource (/ShowParameters) is not available.I structured my tomcat webapp as followed:
webapp called test:
webapp\test\form.jsp
webapp\test\WEB-INF\web.xml
webapp\test\WEB-INF\classes\coreservlets\ShowParamaters.class
my web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<servlet>
<servlet-name>ShowParameters</servlet-name>
<servlet-class>coreservlets.ShowParameters</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ShowParameters</servlet-name>
<url-pattern>/ShowParameters</url-pattern>
</servlet-mapping>
</web-app>and finally my ShowParameters.java
package coreservlets;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
public class ShowParameters extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String title = "Reading All Request Parameters";
out.println(ServletUtilities.headWithTitle(title) +
"<BODY BGCOLOR=\"#FDF5E6\">\n" +
"<H1 ALIGN=CENTER>" + title + "</H1>\n" +
"<TABLE BORDER=1 ALIGN=CENTER>\n" +
"<TR BGCOLOR=\"#FFAD00\">\n" +
"<TH>Parameter Name<TH>Parameter Value(s)");
Enumeration paramNames = request.getParameterNames();
while(paramNames.hasMoreElements()) {
String paramName = (String)paramNames.nextElement();
out.print("<TR><TD>" + paramName + "\n<TD>");
String[] paramValues =
request.getParameterValues(paramName);
if (paramValues.length == 1) {
String paramValue = paramValues[0];
if (paramValue.length() == 0)
out.println("<I>No Value</I>");
else
out.println(paramValue);
} else {
out.println("<UL>");
for(int i=0; i<paramValues.length; i++) {
out.println("<LI>" + paramValues);
out.println("</UL>");
out.println("</TABLE>\n</BODY></HTML>");
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
so that's my simple webapp but still i cannot find the error :(
another questions: in general, would you suggest to use a controller.jsp instead of the servlet?hi
1) i compiled the .java by using eclipse and did not get any error message
2) my directory structure:
webapp\test\form.jsp
webapp\test\WEB-INF\web.xml
webapp\test\WEB-INF\classes\coreservlets\ShowParamaters.class
webapp\test\WEB-INF\classes\coreservlets\ServletUtitlities.class
do i have to add the ServletUtilities.class also in the web.xml?
thanks for helping cannot find any error :( -
The requested resource (/ciscopca) is not available
I am trying to acces the mailbox via web url and getting the error
The requested resource (/ciscopca) is not available
using cisco unity connection
System version: 8.0.3.23031-1David,
I had it at 1024 and I bumped it up to 2048 and now it works.
Thank you very much!
Jim -
The requested resource (/hello) is not available
Hi,
I keep getting the message:
http status 404
The requested resource (/hello) is not available
when i'm trying to access http://localhost:8080/hello
i've created the war file using the deployment tool you get downloading J2EE 1.4. I've also tried the quickstart example copying the hello.war file to the autodeplay folder and it does genereate the hello.war_deployed file, but i keep getting the same message.
i can make it work using the admin console for deploying. then i can get it to launch. why does the other methods not work and how do i get them to work?
hope somebody is able to help. thank you.
PiaHi,
I keep getting the message:
http status 404
The requested resource (/hello) is not available
when i'm trying to access http://localhost:8080/hello
i've created the war file using the deployment tool you get downloading J2EE 1.4. I've also tried the quickstart example copying the hello.war file to the autodeplay folder and it does genereate the hello.war_deployed file, but i keep getting the same message.
i can make it work using the admin console for deploying. then i can get it to launch. why does the other methods not work and how do i get them to work?
hope somebody is able to help. thank you.
Pia
Maybe you are looking for
-
Flash Object is not working in Mozilla firefox 3.6 and safari
Hi All , I am facing issue in Flash , my Flash application functionality is working fine in IE all versions and Chorme , but it is not working properly in mozilla Firefox and safari as well . The Problem is when i am using mousewheel scroll at the ce
-
Photoshop cs5 crashes on open. Use to crash type tool but now wont open at all.
Hey just bought a MacBook Pro 2 weeks ago. Installed CS 5. Worked for 1 week. and now Photoshop will not open. Have not tried the other sw yet. Please help. Thanks Process: Adobe Photoshop CS5 [914] Path: /Applications/Adobe Photos
-
My voice command keeps turning on by itself even when my siri is disabled.
my voice command feature keeps popping up in the middle of anything im doing, even when my siri is disabled. My ipod also plays music randomly and the time on my screen blinks a few times. Has anyone else had any of these problems?
-
Gensplashutils removed from [community], initscripts-gensplash is next
gensplashutils has been removed from [community] and is replaced by the gensplash package. initscripts-gensplash will also be removed shortly . The initscripts packages, for safety reasons, will not auto-replace so this must be done manually. I su
-
Opportunity Team Assignment Rule and Automated Task Owner
Hi, We have a requirement that when an Opportunity is created, the Opportunity Team assigned will be based on the Owner of the record. We created a "test" assignment rule wherein the: * Team Assignment: (Example) John Locke (Manager), Jack Shephard (