Filter does not work with *.jsp URL pattern???
Hi All,
I am, by no means, very good at JSF or Java. I have looked at various forum posts on here for ways to implement a security filter to intercept requests to pages that first require one to be logged in, and if not, redirect them to the login page. Yes, I know a lot of you have heard this many times before, and I'm sorry to bring it up again.
BUT, from the guidance of other posts, I have got a filter that works fine when the url pattern is set to "/faces/*" or "/<anything>/*", however it won't work for "*.jsp" or "*.<anything>"
My filter is as follows:
package test.security;
import javax.faces.context.FacesContext;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.http.HttpSession;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class SecurityFilter implements Filter{
/** Creates a new instance of SecurityFilter */
private final static String FILTER_APPLIED = "_security_filter_applied";
public SecurityFilter() {
public void init(FilterConfig filterConfig) {
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws java.io.IOException, ServletException{
HttpServletRequest req = (HttpServletRequest)request;
HttpServletResponse res = (HttpServletResponse)response;
HttpSession session = req.getSession();
String requestedPage = req.getPathTranslated();
String user=null;
if(request.getAttribute(FILTER_APPLIED) == null) {
//check if the page requested is the login page or register page
if((!requestedPage.endsWith("Page1.jsp")) /* This is the login page */
//set the FILTER_APPLIED attribute to true
request.setAttribute(FILTER_APPLIED, Boolean.TRUE);
//Check that the session bean is not null and get the session bean property username.
if(((test.SessionBean1)session.getAttribute("SessionBean1"))!=null) {
user = ((test.SessionBean1)session.getAttribute("SessionBean1")).getUsername();
if((user==null)||(user.equals(""))) {
// try {
// FacesContext.getCurrentInstance().getExternalContext().redirect("Page1.jsp");
// } catch (ServletException ex) {
// log("Error Description", ex);
res.sendRedirect("../Page1.jsp");
return;
//deliver request to next filter
chain.doFilter(request, response);
public void destroy(){
}My web.xml declaration for the filter is:
<filter>
<description>Filter to check whether user is logged in.</description>
<filter-name>SecurityFilter</filter-name>
<filter-class>test.security</filter-class>
</filter>
<filter-mapping>
<filter-name>SecurityFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
Note: I have also tried this with <url-pattern>*.jsp</url-pattern> for the filter mapping in place of the Faces Servlet
My web.xml declaration for the url pattern is:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>Which JSC/NetbeansVWP automatically creates a "JSCreator_index.jsp" which has:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page">
<jsp:forward page="Page1.jsp"/>
</jsp:root>When run, this causes an Error 500 in the browser and a NullPointerException in SecurityFilter.java on the line:
if((!requestedPage.endsWith("Page1.jsp")) /* This is the login page */I think I'm missing something that would be obvious to anyone who knows better than me. Any ideas?
Dear Ginger and Boris,
thanks for the information - the problem seems to ocur in EP7 as well, Boris told me it is fixed in SP15. We are on SP14 now, so there is hope !
actually the information in the oss note stated above is also true, as we have an Oracle DB. On a similar demo system (only difference is SQL DB) the hyphen search works !
best regards, thank you !
Johannes
Similar Messages
-
PHOTOSHOP C6 OIL PAINT FILTER DOES NOT WORKING
PHOTOSHOP C6 OIL PAINT FILTER DOES NOT WORKING
Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x32
Operating System: Windows 7 32-bit
Version: 6.1
System architecture: Intel CPU Family:6, Model:7, Stepping:10 with MMX, SSE Integer, SSE FP, SSE2, SSE3
Physical processor count: 2
Processor speed: 2095 MHz
Built-in memory: 3003 MB
Free memory: 1578 MB
Memory available to Photoshop: 1666 MB
Memory used by Photoshop: 100 %
Image tile size: 128K
Image cache levels: 4
The GPU Sniffer crashed on 9/7/2014 at 11:15:55 AM
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Basic
OpenGL Allow Normal Mode: False.
OpenGL Allow Advanced Mode: False.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: Intel
Video Card Renderer: Mobile Intel(R) 4 Series Express Chipset Family v2
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 768, right: 1366
Video Card Number: 2
Video Card: Mobile Intel(R) 4 Series Express Chipset Family v2
OpenCL Unavailable
Driver Version: 8.15.10.2869
Driver Date: 20121004000000.000000-000
Video Card Driver: igdumdx32.dll,igd10umd32.dll
Video Mode:
Video Card Caption: Mobile Intel(R) 4 Series Express Chipset Family v2
Video Card Memory: 1310 MB
Video Rect Texture Size: 4096
Video Card Number: 1
Video Card: Mobile Intel(R) 4 Series Express Chipset Family v2
OpenCL Unavailable
Driver Version: 8.15.10.2869
Driver Date: 20121004000000.000000-000
Video Card Driver: igdumdx32.dll,igd10umd32.dll
Video Mode: 1366 x 768 x 4294967296 colors
Video Card Caption: Mobile Intel(R) 4 Series Express Chipset Family v2
Video Card Memory: 1310 MB
Video Rect Texture Size: 4096
Serial number: 92628701192123445467
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6\
Temporary file path: C:\Users\ShAmRy\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 80.1G, 40.6G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6\Required\
Primary Plug-ins folder: C:\Program Files\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/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 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
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.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 7.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
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
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
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.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)
Mezzotint 13.0
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)
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
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
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.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
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: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEI am getting the same error, also when starting CS6 I receive a message that my graphic device driver is not officially supported. I have updated the drivers and have never had any issues with any other programs. It appears to be a bug in the program.
-
External USB HD does not work with HAL:
External USB HD does not work with HAL:
From the last 10 days the HAL auto-mount with ntfs-3g file system of my external hard drive does not woks.
But the manual mount procedure with the command mount -t ntfs-3g /dev/sdb* /mnt/XYZ works.
I've followed the instructions in the wiki: http://wiki.archlinux.org/index.php/HAL and the system has worked up to the last kernel or HAL update.
My fat32 usb-stick works without any problem.
If I try to open the device with KDE it appears an error popup wit this message:
TODO: have to rethink extra options
Error: kio_media_mount_helper
The log from the kernel.log is
Nov 6 22:03:16 myhost usb 5-1: new high speed USB device using ehci_hcd and address 4
Nov 6 22:03:16 myhost usb 5-1: configuration #1 chosen from 1 choice
Nov 6 22:03:17 myhost Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Nov 6 22:03:17 myhost ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Nov 6 22:03:17 myhost Initializing USB Mass Storage driver...
Nov 6 22:03:17 myhost scsi6 : SCSI emulation for USB Mass Storage devices
Nov 6 22:03:17 myhost usb-storage: device found at 4
Nov 6 22:03:17 myhost usb-storage: waiting for device to settle before scanning
Nov 6 22:03:17 myhost usbcore: registered new interface driver usb-storage
Nov 6 22:03:17 myhost USB Mass Storage support registered.
Nov 6 22:03:22 myhost scsi 6:0:0:0: Direct-Access WDC WD32 00JB-00KFA0 0811 PQ: 0 ANSI: 0
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
Nov 6 22:03:22 myhost sdb: sdb1
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Attached SCSI disk
Nov 6 22:03:22 myhost sd 6:0:0:0: Attached scsi generic sg2 type 0
Nov 6 22:03:22 myhost usb-storage: device scan complete
and the error.log is
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
Do you have some idea ....
Bye.I have done the following:
Downloaded the patched hal version.
used makepkg in /abs/local/trunk/ to create a pkg for pacman
used sudo pacman -U pkgname to install it.
used sudo nano /etc/hal/fdi/policy/preferences.fdi to create the fdi file with the following content:
saved the file and removed my ntfs entryes from fstab and rebooted. and still there is no automount off ntfs partitions.
have i done something wrong?
br fjodork
WARNING: what follows is a guide of what did work for me, I'm still in an early stage of learning linux, so please correct me if anything of what follows is wrong/dangerous/stupid. As I said, this worked for me, it's not pretty, since I was learning each step on the fly and I'm sure there are better ways to do this.
So fjodork, you seem to have done the the necessary steps, though i couldn't get it to work until i first removed hal without dependencies
pacman -Rd hal
it will give you some warning about the dependencies, ignore it since we are reinstalling hal in a few steps.
First i tried to follow Raymano's link, obviously it showed me nothing in the browser so I thought it might be a broken link.
So I downloaded the source tarball from here http://hal.freedesktop.org/releases/hal-0.5.10.tar.gz
unpacked it changed the /tools/hal-storage-mount.c as per Milfadoodle's instructions.
at first I tried to compile directly from source, the process would finish without a glitch though after reboot nothing changed, as if hal weren't
installed, i guess there were issues with paths. anyway read on
Then repacked the source in tarball, copied it to /var/abs/extra/system/hal and modified the PKGBUILD as follows
makedepends=('pkgconfig' 'gperf')
options=('!libtool')
install=hal.install
source=(${pkgname}-${pkgver}.tar.gz #removed url so makepkg looks in the current directory for the tarball
hal
hal-policy.patch
cryptsetup_location.patch
hal-0.5.9-hide-diagnostic.patch
ntfs3g-valid-options.patch)
md5sums=('6641c30a27c00485c6accac5110ff911' # replace with md5sum of your package's sourceball (run md5sum filename)
'882f67668cb14a0a9e4a27ef22278027'
'5ba8b610aa9763a5f42b9f7cbd7a86ad'
then makepkg (i had to add --asroot, don't ask why
and finally pacman -U hal-0.5.10-1-i686.pkg
another reboot and everything worked without a glitch!:D (yeah i know i still haven't got rid of the reboot mentality )
I have also put the policy files as per the wiki instructions.
PS: I know this is a dirty way to getting things done but as i said, I'm just starting
If anyone could comment/correct/explain this post I'd be more than happy, the automount issue was bothering me for about a month now (you'll say why do I need ntfs in the first place? well, I only recently switched for Linux as my primary OS, these are some relics of the M$ era -
Video Filter does not work.
Hello.
I have been using Final Cut Pro 4 for a while and it worked fine before. But recently, any function of Video Filter does not work. I apply them to the clip, but the image does not show any changes on Canvas.
Is the software's problem?
Thanks in advance.
YingFor a reason unknown to me, FCP's preference files (there's 3 of them) will sometimes become corrupted and need to be trashed. Usually the symptoms are things just not working as they did earlier, or weird issues like the 3 Way Color Corrector looks different than before ... stuff like that.
FCP Rescue is a freeware app (yes, you'll need to download it) that will create a backup set of preferences, thereby retaining all of your settings. Then when (not IF, but when) FCP's preferences become corrupted, you can run FCP Rescue to replace the bad set with a fresh new set.
Otherwise you can delete the files yourself (make sure FCP isn't open at the time) and the next time you launch FCP, it will revert back to the factory settings.
-DH -
Applet does not work with a proxy server.URgent
Hi,
I have an asp page being hosted from a IIS server.
The asp page has an applet which gets data from a server side component which is hosted as a service on the server side.For connection to the server I am using URLConnection object and trying to connect over a TCP connection.
The problem occurs when I use an proxy in the middle.
I have changed the browser settings to include the proxy.
The following is the error I recieve:
Full :http://172.25.11.63:4590/
<-------------------------------->
OPening input stream
in Run ::::
ERROR: Created data socket but can't open stream on
it.172.25.11.63:4590//
172.25.11.63:4590//
java.io.FileNotFoundException: 172.25.11.63:4590//
at com/ms/net/wininet/http/HttpInputStream.connect
at com/ms/net/wininet/http/HttpInputStream.<init>
at com/ms/net/wininet/http/HttpURLConnection.createInputStream
at com/ms/net/wininet/WininetURLConnection.getInputStream
at TalkClientApplet.rendezvous
at TalkClientApplet.actionPerformed1
at TalkClientApplet.start
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
...Disconnecting.
Following is my code.
url = new URL("http://" + host +":"+i);
urlconnection = url.openConnection();
urlconnection.setDoOutput(true);
urlconnection.setDoInput(true);
System.out.println("Successfully opened the URL connection at " + "http://" + host + ":" + i );
System.out.println ("Protocol: " + url.getProtocol());
System.out.println ("Host :" + url.getHost());
System.out.println ("Port :" + url.getPort());
System.out.println ("File :" + url.getFile() );
System.out.println ("Full :" + url.toExternalForm());
System.out.println ("<-------------------------------->");
os = new BufferedWriter(new OutputStreamWriter(urlconnection.getOutputStream()));
System.out.println("OPening input stream ");
// is = new DataInputStream(urlconnection.getInputStream());
System.out.println(urlconnection.getInputStream());
is = new DataInputStream(urlconnection.getInputStream());
The exact place where I get the error is whn i call URLConnection.openInputStream().
Usually this error comes with a malformed URL.But the same code words without a proxy.Also I am not making any changes to my code in both scenarios that is with or without proxy.
Please help.This is urgent and a showstopperThanks for your nice solution, but unfortunatelly it does not work with lines longer than 100 chars with Netscape. It works fine with IE and appletviewer too.
Example:
I use this code:
try {
URL url = new URL(protocol,hostName,portNumber,URLstring);
InputStream in = url.openStream();
BufferedInputStream bis = new BufferedInputStream(in);
StringBuffer input = new StringBuffer(60);
int c;
while ((c = bis.read()) != -1){
System.out.print((char)c);
input.append((char)c);
bis.close();
dataFromServer = input.toString();
catch(Exception ex) {
ex.printStackTrace();
}I use input file test.html with exactly 100 chars ('a')
Netscape Java Console:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadataFromServer : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaI use input file test.html with exactly 101 chars ('a')
Netscape Java Console:
?JL?yyxk?cedataFromServer : ? -
Question
better privacy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers? edit
DetailsAs a temporary workaround, I believe this Adobe management page allows you to clear your "Flash cookies": [http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html Adobe - Flash Player : Settings Manager - Website Storage Settings panel] (hosted on macromedia.com -- Macromedia was the original developer of Flash).
Regarding the script error, if I'm reading the script correctly, it is related to accessing your Flash cookies directory. It seems the publisher's support forum is not currently available for searching, but that might be a good next step.
In the meantime, could you check whether the script has the correct location for your Flash cookies directory? If you can't access Tool > BetterPrivacy, you could check here:
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste '''bpr''' and pause while the list is filtered
(3) There should be a bolded setting named '''extensions.bprivacy.DataDir''' which looks approximately like the following:
C:\Users\''yourWindowsUsername''\AppData\Roaming\Macromedia
Do you have a similar value? If you paste the path used by BetterPrivacy into a Windows Explorer window, does it open? Also, click a couple levels in the folder, can you see:
Flash Player \ #SharedObjects
If the value is wrong, right-click the wrong value and choose Reset. BetterPrivacy should update the value the next time you try to access it.
If the value is blank, you could try inserting a sensible value and see whether that helps.
Any luck? -
Microsof VX 3000 or 6000 Webcam does not work with Lync 2013 under Windows 8.1
Hi,
The problem is that i cannot use the Microsoft VX-3000 or VX-6000 with Lync 2013 under Windows 8.1.
If i go in settings under Video i can see the preview from the webcam just fine, so it works there no problem.
Wenn i try to enable my camera in a conference it does not work, i get an error: Your video cannot be started.
Now, there are no Windows 8.1 drivers for the Webcam so i installed the latest Windows 7 drivers. Because of that this webcam does not work with apps, that is fine i understand the driver problem and the way the new apps work.
But this Webcam works with skype under Windows 8.1 and it works with Lync 2010 client.
The same Webcam works just fine with Lync 2013 under Windows 7.
Is there anything i could do so that i get this Webcam to work with Lync 2013 desktop client under Windows 8.1?
ThanksHi,
According to your description, it may be caused by driver.
You can try to install the latest version of Display Driver to fix the display issue.
Since there is no driver for Windows 8.1, I suggest you wait for updating.
You can also post a case on Windows 8 forum, thank you for your understanding:
http://social.technet.microsoft.com/Forums/en-US/home?forum=W8ITProPreRel%2Cw81previtpro&filter=alltypes&sort=lastpostdesc
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
is it possible to download firefox version 4, because trend micro does not work with version 5 yet
Yes you can download them at Firefox's Archive on just chose your os
url:
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0/ -
In Photoshop CS6 Hue Saturation does not work with forground/background Jitter set at 100 percent no change in color is observed. I have Added a screen Shot of the Brush settings and a demonstration of what the brush produces.
I also notice That when I make a pattern of a single color, when I fill a selection with the pattern I get a rainbow of different colors.
I am running a 64 bit version of Photoshop from the CS6 Masters Collection
I am on a PC with a Intel i7 1366 4 physical cores and 8 threads, 24 Gig of DDR memory, A Crucial 512 Gig SSD and a NVIDIA GTX 570 with 2 Gig of memory.
The document size is 2100 by 1500 Pixels at 300 PPI only two layersIn Photoshop CS6 Hue Saturation does not work with forground/background Jitter set at 100 percent no change in color is observed. I have Added a screen Shot of the Brush settings and a demonstration of what the brush produces.
I also notice That when I make a pattern of a single color, when I fill a selection with the pattern I get a rainbow of different colors.
I am running a 64 bit version of Photoshop from the CS6 Masters Collection
I am on a PC with a Intel i7 1366 4 physical cores and 8 threads, 24 Gig of DDR memory, A Crucial 512 Gig SSD and a NVIDIA GTX 570 with 2 Gig of memory.
The document size is 2100 by 1500 Pixels at 300 PPI only two layers -
All my passwords are Norton identity safe protected. If firefox4 does not work with it I am forced to go back to IE. Previous versions had a patch. I only realized the problem after downloading the new update. I wish I never had.
Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have indicated that for Norton 360 they plan to release an update to Norton 360 to support Firefox 4 in early May - http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
I do not know about the time scale for updates for other Norton products. Pending the update by Symantec, if you want to use the Norton add-ons you will need to downgrade to Firefox 3.6.
To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles -
Liquid Layout does not work with extreme long pages
(Solution at the end)
Hi there.
I have a layout for iPad with a width of 1024 and variable height.
I now need an alternative layout for iPad HD. So I try to use liquid layout to alternate my layout to 2048 width and height x 2.
The maximum size in InDesign is 15552px. So I managed to get all my SD layouts below 7776px.
to sum things up:
iPad SD: 1024x7776
transform into
iPad HD: 2048x15552
Problem is, in this case the option to scale everything automatically gets completely ignored.
Another layout, which uses only text and no images, boxes or multimedia gets transformed correctly.
Does anybody have a tip for me how I can work around it?
Thanks in advance.
p.s.: Adobe, please increase the maximum sizes for documents
Solution:
Aaaand I just got it. Specify a new preset for your document-sizes: 2048x15552. Now if you use the page tool just click the new (in my case) "iPad HD" and choose liquid layout: scale.
Works like a charmI am using Automator to find files with the .pages
extension and then copy them to another folder, which
lists the copied Pages files by name but with Zero
KB! The files will not open - error: the index.xml
file is missing.
Any ideas on how to get a Pages file to copy with
Automator?
Hi Kurt
To answer the title of your message: no, Pages does not work with Automator.
But that's not really what you're asking. You really want to know how to copy Pages documents using Automator.
To help you we need to know what Actions you're using in Automator and the parameters you're using eg the Filter Finder Items action (using a pages file extension) and the Copy Finder Items actions. Pls let us know how you're doing this and we'll try to help.
Thanks. -
I have recently upgraded my iMac Intel G5 iSight (iMac5,1) to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old system parts. I have zapped PRAM. The blue indicator in system audio panel will appear for a second as I slide the bar for internal mic but then it disappears. Is there a fix?
The sound seems very faint but can here static on playback.
-
Flash player does not work with new ICS Android 4.0.4 OS. Has this problem been addressed? I am using Firefox Beta for android and I also tried just Firefox.
Please check the Play Store app for any Flash updates and install them if present.
-
Flash player does not work with Ie or Firefox with win 8.1?
Flash player does not work with Ie or Firefox with win 8.1 64, If i try and play a video I get the message to install Flashplayer.
If I try and install it it says it is already installed. Your onsite installer says it is not applicable to my machine.
I have followed all the normal steps re enabling addons and active filters etc.
all to no avail Pc is Dell 6 months old, Flashplayer has never worked on this machine. Last MS update mid Dec 2014.
Version of flashplayer is 15....03.......Flash Player is a built-in component of Internet Explorer. There's nothing separate to download or install.
Firefox requires a different version of Flash Player (the NPAPI plug-in), which will be served to you if you go here: http://get.adobe.com/flashplayer using Firefox; however, there are some unique stability issues related to Firefox on Win8.1, and you're probably better off using Google Chrome if you want a more optimal experience with Flash Player.
For problems where IE isn't being detected by sites that require Flash:
First, confirm that ActiveX Filtering is configured to allow Flash content:
https://forums.adobe.com/thread/867968
Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
You can try to work around these issues by using Compatibility View:
http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11 -
My Time Capsule does not work with existing WiFi
Following a question solved on March 24 by LaPastenague, but gone bad again.
Apple AirPort Time Capsule
I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured, but then it works.
The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
So, I am curious if you have any idea ?
I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?I can deal with the last question first and easily.
I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
Open the airport utility .. go to the disk tab and select erase.
When you select erase you will get mulitiple options.
Quick removes the file table but does not delete the files,, it takes 2min or less.
A Zero out data is the secure way,, by writing 0 ie low level drive format.
It can take several hours..
7 pass will take a week.. not recommended..
35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
The fact that it did work and has now failed might point to faulty unit.
The only way to tell is reset it properly to factory and start over.
Universal Factory Reset.. any model TC or AE.
Unplug your TC/AE from power or turn off at the power point.
Hold in reset. and power the TC/AE back on.. all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
Note..
Be Gentle! Feel the switch click on. It has a positive feel.. add no more pressure after that.
TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
Remember to keep all names short, no spaces and pure alphanumeric.
Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.
Maybe you are looking for
-
Hi.... Help me with this situation: I have a project in: Flex Builder 4. My AIR is 2.6 I have Acrobat Reader X (Version 10.0.1.434) MX + Spark project SDK 4.1.0 If mi error from this code: if(HTMLLoader.pdfCapability == HTMLPDFCapabil
-
Error during Extraction in RSA3.
Hi, I have activated the datasource 0JOB_ATTR in R3 site. I can see it in RSA6 but when I try to extract data from RSA3 it is giving an error message like : Errors occurred during the extraction.. Any help on this highly appreciated.. Regards Uday
-
How do you apply a black and white image sequence as an alpha layer to another image sequence
I have a 3D render I'm compositing in AE CS3. Everything is rendered as image sequences, and I have an alpha pass. How do I apply it to my master layer?
-
About Installation of Solaris 9 OE x86...
Dear Experts, I am a newbie on Solaris. When I use the suninstall to install the Solaris on my system, it occurs an error of my VGA. I am using the GeForce 4. How can I install the Solaris correctly? Thanks.
-
WLAN Security, Is Apple OSX Safer at public sites?
Hi, I am opening this up for a technical discussion for people that actually know the answers, Apple Techs please! In the article http://www.lanarchitect.net/Articles/Wireless/SecurityRating/ It leads you to believe only WEP enabled WLAN connections