SQL Develper 3.0.04.34 doesn't start
Hello,
I have downloaded SQL Develper 3.0.04.34 and unzipped in an empty folder.
But, when I double clik on sqldeveloper.exe, nothing happens.
The application doesn't start, I don't get an error message and in the task manager, no process is shown.
I use Windows XP-SP3 German.
Is there any thin I have to configure on Windows side before it can work?
Thanks and best regards
Rolf
If you run from \sqldeveloper\bin\sqldeveloper.exe, do you get any output in the opened console when trying to run?
If still nothing happens, issue a CTRL-BREAK inside the console to get a stack trace.
Post the results here (or create a SR on Metalink/MOS to get guaranteed follow-up from Oracle) as they could help diagnosing the problem.
K.
Similar Messages
-
SQL-Plus on SuSE 6.2 doesn't start
hi there
i installed 8.0.5.1.0 on Linux 2.2.13. trying to run it says
1 $ sqlplus
Memory fault
2 $ :((
does anyone know something about it?
that'd be great.
thanks, felice
nullI have the exact same problem. Have you had any luck yet? Did you apply any kernel parameter changes/tuning yet? How much physical memory do you have on you oralce box? I have 128M. Please let me know if you solve this one.
Thanks,
Doug
[email protected] -
SAP NETWEAVER COMPOSITION ENVIRONMENT 7.1 EHP1 - System doesn't start
Hello,<br>
<br>
after i get the message the installation was succesfully and i start the server the proces jstart.exe<br>
<br>
doesn't start completely.<br>
<br>
in the trace file dev_jstart in find this error message:<br>
<br>
F Starting process: D:\usr\sap\CE1\SYS\exe\uc\NTI386\jstart.EXE<br>
F arg[ 1] = -nodeId=1000<br>
F arg[ 2] = pf=D:\usr\sap\CE1\SYS\profile\CE1_J00_sjodevb1<br>
F arg[ 3] = -DSAPINFO=CE1_00_collector<br>
F arg[ 4] = -hostvm<br>
F arg[ 5] = -nodeName=collector<br>
F arg[ 6] = -file=D:\usr\sap\CE1\SYS\exe\uc\NTI386\startup.properties<br>
F arg[ 7] = -jvmFile=D:\usr\sap\CE1\J00\work\jstart.jvm<br>
F arg[ 8] = -traceFile=D:\usr\sap\CE1\J00\work\dev_collector<br>
F arg[ 9] = -javaOutFile=D:\usr\sap\CE1\J00\work\jvm_collector.out<br>
F arg[10] = -clusterId=bootstrap<br>
F arg[11] = -exitcode<br><br>
F arg[12] = 503<br>
<br>
an in the tracefile log_bootstrap.0 this error message:<br>
<br>
[Nov 19, 2009 5:17:50 PM ] Exception of type com.sap.sql.log.OpenSQLException caught: Could not load class com.sap.dbtech.jdbc.DriverSapDB with class loader com.sap.engine.offline.FileClassLoader@6caf16..
[EXCEPTION]
com.sap.sql.log.OpenSQLException: Could not load class com.sap.dbtech.jdbc.DriverSapDB with class loader com.sap.engine.offline.FileClassLoader@6caf16.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:104)
at com.sap.sql.connect.factory.VendorConnectionFactory.createInstance(VendorConnectionFactory.java:210)
at com.sap.sql.connect.factory.VendorConnectionFactory.createVendorDriver(VendorConnectionFactory.java:43)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.<init>(DriverPooledConnectionFactory.java:31)
at com.sap.sql.connect.datasource.DataSourceManager.createPooledConnectionFactory(DataSourceManager.java:546)
at com.sap.sql.connect.datasource.DataSourceManager.createDataSource(DataSourceManager.java:505)
at com.sap.sql.connect.datasource.DataSourceManager.createDataSource(DataSourceManager.java:136)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getDataSource(OpenSQLDataSourceImpl.java:272)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:208)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:357)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:157)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:48)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:127)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:262)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:39)
at com.sap.engine.bootstrap.HelperImpl.getConfigurationHandlerFactory(HelperImpl.java:38)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:111)
at com.sap.engine.bootstrap.Bootstrap.initializeSynchronizer(Bootstrap.java:74)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
Caused by: java.lang.ClassNotFoundException: com.sap.dbtech.jdbc.DriverSapDB
at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:909)
at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:800)
at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:748)
at com.sap.sql.connect.factory.VendorConnectionFactory.createInstance(VendorConnectionFactory.java:206)
... 22 more
<br>
<br>
any idea?<br>
<br>
<br>
thank you for your help<br>
thomas<br>Hi Angie,
You will find the needed information here - http://service.sap.com/~form/handler?_EVENT=DISP_NEW&_APP=00200682500000001303&00200682500000002804=01200615320900001418
Release to Customer Available 09.05.2007
Default Release Available 14.12.2007
Good Luck!!!
GLM -
Help: Pointbase db doesn't start when launching SP4 portal
Hi,
I downloaded WL platform SP4 today and installed (before the installation I uninstalled SP2)in my laptop. When I launch the examples portal, the pointbase db doesn't start. I tried both SP2 and SP3 in my laptop and both worked. The error messages below are directly copied from the console. My understanding is the portal server startup will automatically start pointbase db (I didn't do any configuration yet). Anybody know the problem and solution?
My laptop config:
Win XP, SP2, 1.6 GHz, 1GB memory
I am the admin user.
Thanks a lot!!
Error messages from the launching console:
<Jul 6, 2005 6:00:54 PM PDT> <Warning> <JDBC> <BEA-001129> <Received exception w
hile creating connection for pool "cgPool": SQL-server rejected establishment of
SQL-connection. Pointbase Server may not be running on localhost at port 9093.>
<Jul 6, 2005 6:01:28 PM PDT> <Warning> <JDBC> <BEA-001129> <Received exception w
hile creating connection for pool "portalPool": SQL-server rejected establishmen
t of SQL-connection. Pointbase Server may not be running on localhost at port 90
93.>
<Jul 6, 2005 6:01:34 PM PDT> <Alert> <JMS> <BEA-040052> <JMSServer "cgJMSServer"
store failed to open java.io.IOException: JMS JDBC store, connection pool = <cg
JMSPool-nonXA>, prefix = <weblogic>: connection pool does not exist.
java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix
= <weblogic>: connection pool does not exist
at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:48
8)
at weblogic.jms.store.JDBCIOStream.checkPool(JDBCIOStream.java:1599)
at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:548)
at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
at weblogic.jms.backend.BEStore.open(BEStore.java:262)
at weblogic.jms.backend.BEStore.start(BEStore.java:151)
at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1290)
at weblogic.jms.JMSService.addJMSServer(JMSService.java:2260)
at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:337)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:597)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:575)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:754)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:733)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:509)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
60)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
28)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Rem
oteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:946)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
xy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
ServerMBean_Stub.java:7691)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
s(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
>The exception doesn't tell me much more than the DB connection / pool couldn't connect to the db.
Sometimes solving these types of problems where it should work, this works everywhere else, so what could be wrong here... Let me suggest that you install a new domain using a new root directory. IE c:\bea814 and not reuse c:\bea.
I'm guessing that an essential script or property file was not overwritten by the 814 install.
JBTW, 814 pointbase is a new version and is run on a new port from prior 8.x versions, the new port is 9093, where prior versions was 9092.
A diag. is after you start via, startWebLogic.cmd, to open a DOS window and run this command:
netstat -an
Look for a LISTEN on port 9093
This would confirm that 814's pointbase is started and there's a configuration issue with the connection pools.
Good luck, curt -
Oracle doesn't started when When I reboot the Server.
Dear All,
I have installed 10g using ASM and Oracle-managed files on a Windows Server 2003 (Second Edition , Service Pack 1 ) system . I have put no data in, and I take the defaults. It works fine - until the system reboots.
Oracle doesn't started when When I reboot the Server.
Here is what I get from sqlplus, following the instructions to start an ASM instance:
SQL*Plus: Release 10.1.0.2.0 - Production on Mon Oct 11 10:47:53 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA0/10g/spfile10g.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA0/10g/spfile10g.ora
ORA-15077: could not locate ASM instance serving a required diskgroup
Thanks for helping,
Debraj BanerjeeIt look like your ASM instance is not yet started. Try the following:
$>export ORACLE_SID=+ASM (set ORACLE_SID=+ASM if you are on Windows)
$>sqlplus /nolog
SQL>startupThen you start up your other instance. -
Cisco Works LMS 4.0 doesn´t start
Hello All
i have big trouble with me LMS 4.0 installation. I did an Upgrade from LMS 3.2 to LMS 4.0. After that the Works was running without any problems. After some days i´d tried to login on the LMS and it told me something like my lincens where corrupt or so. I´d tried to start the CiscoWorks Demon Manger but he didn´t start. OK after some investigation at the i-net i decided to perform a clean installation of the Server an Cisco Works.
So after i do thes i´d perform a restore of my old Data from LMS 3.2. Now i investicated that my ANI Server Falied to start. OK than i tried to restart the Works Demon ... f... and what will happend ?!?!?! The demon doesn´t start. Can someone help me ?!?! Please i will not perform a new istallation again.
C:\Windows\system32>net start crmdmgtd
The CiscoWorks Daemon Manager service is starting.
The CiscoWorks Daemon Manager service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
Thanks
Mario
Hi i have an update for this issues ... After i´d tried to start all Works- Services be hand ... all Services will start execpt the deamon ... When i loged in i get messages "License Server/Deamon Manager is down. Please check license.log for more information."
Thats the same situtaion befor the new installation.Hi Afroj
i´d just have an update for you and maybe for Martin. I´d checked the services and investigate that the ANIDatabase Engine
was not stoped. After i stoped the service "by Hand". I tried to reinalize the Database and see ... IT WORKS ...
D:\CiscoWorks\CSCOpx\bin>perl.exe dbRestoreOrig.pl dsn=ani dmprefix=ANI
WARNING: Existing contents of ani database will be lost.
Do you want to continue [y/n]?y
INFO: Starting the DataBase
Starting database engine aniEng
INFO: Process created
INFO: Started the Database engine : aniEng Retry 0
INFO: Started the Database engine : aniEng Retry 1
INFO: Started the Database engine : aniEng Retry 2
INFO: Started the Database engine : aniEng Retry 3
INFO: Started the Database engine : aniEng Retry 4
INFO: Started the Database engine : aniEng Retry 5
INFO: Started the Database engine : aniEng Retry 6
INFO: Started the Database engine : aniEng Retry 7
INFO: Started the Database engine : aniEng Retry 8
INFO: Started the Database engine : aniEng Retry 9
INFO: Getting message
INFO: Connect the database dsn=ani
INFO: Connected the Database
INFO: Command Executed
INFO: Connecting the Database ani
INFO: Company=Cisco Systems;Application=NMTG;Signature=010fa55157edb8e14d818eb4f
e3db41447146f1571g32125eb777a87cbf8b29a954f559d4221b792ff8
INFO: Preparing AUTH cmd
INFO: AUTH Executed
INFO: AUTH cmd finished
INFO: Stopping the Database engine ani
Stopping database engine aniEng
INFO: File not exists.SQL Anywhere Command File Hiding Utility Version 10.0.1.40
51
INFO: Database [ani] authenticated successfully.
ani database initialization is completed.
D:\CiscoWorks\CSCOpx\bin>
D:\CiscoWorks\CSCOpx\bin>pdshow ANIServer
Process= ANIServer
State = Running with busy flag set
Pid = 11136
RC = 0
Signo = 0
Start = 8/22/2011 1:01:29 PM
Stop = Not applicable
Core = Not applicable
Info = ANIServer started.
Many Thanks for your help ...
Regards
Mario -
FIM Synchronization Service doesn't start
Hi,
Recently we have migreated FIM database from the local SQL server to an SQL 2012 Cluster. I used the following guide to configure DB related settings. Things worked fine.
http://social.technet.microsoft.com/wiki/contents/articles/5465.fimilm-how-to-move-the-backend-sql-server-synchronization-service-database.aspx
However after I uninstalled local SQL and rebooted the server FIM service doesn't start. The error message is:
The Forefront Identity Manager Sychronization Service depends the following service: MSSQLSERVER. This service might not be installed. (Event ID 7003).
How to fix this problem?
Thank you for your help.I assume that you have uninstalled MS SQL Server, right? If so, please try the following:
Remove MSSQLServer from the DependOnService Value Name, a REG_MULTI_SZ data type
at HKLM\System\CurrentControlSet\Services\<ServiceKey>
Run as admin - it would remove dependency from FIMSynchronizationService.
Keep trying If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
Delete ASM disk - database doesn't start
Hi
For testing purpose, I have installed grid infrastructure for standalone server and database 11g on linux. Instead psyhical disks, I have several partitions for data as ASM in normal redundancy. I try simulate disk fail (ASM should load balance and still work). When in Enterprise Manager Database Control I mark disk as offline, it works. But when I delete partition by fdisk, database doesn't start (I change disk repair time to 0.0). I try:
oracleasm deletedisk ASMDISK02,
but it doesn't help.
I can't even startup database in nomount, I get error:
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu May 12 11:07:47 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/orcl/spfileorcl.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/orcl/spfileorcl.ora
ORA-15077: could not locate ASM instance serving a required diskgroup
SQL>
When I try startup ASM instance, I get errror:
SQL> startup
ORA-03113: end-of-file on communication channel
SQL> startup
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
Why I get errors, and how I could solve this problem?
Thanks awfully for help.
RegardsHi,
when your ASM instance/DB is down, when you delete a disk, then the diskgroup has to be mounted with the "force" option.
Now to be able to start ASM, he needs an spfile (or a local init.ora). Unfortunately your spfile is in the diskgroup he cannot mount at the moment (because disks are missing).
Start ASM with a local init.ora:
sqlplus / as sysasm
startup pfile=path_to_your_asm_init.ora
Then mount the diskgroup with force:
alter diskgroup <dg> mount force
After this drop the disk/repair the error.
Then you can restart the stack.
Regards
Sebastian -
DartaGuard doesn't start apply process
Hello everyone!
I suffer problem with deploying DataGuard on our infrastructure (Oracle 11R2 Database (no RAC or ASM) + SLES 11.2 OS)
I was trying to configure it reading this instrcution: http://www.oracle-base.com/articles/11g/data-guard-setup-11gr2.php
But now my apply process doesn't start.
On the standby server:
SQL> select max(sequence#) from v$log_history;
MAX(SEQUENCE#)
17
SQL>
SQL> SELECT RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS WHERE DEST_ID=2;
RECOVERY_MODE
IDLE
SQL>
on the primary one:
SQL> select max(sequence#) from v$log_history;
MAX(SEQUENCE#)
23
SQL>
SQL> SELECT RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS WHERE DEST_ID=2;
RECOVERY_MODE
IDLE
SQL>
alert_stb.log ending is:
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
Fri Apr 05 17:19:37 2013
Using STANDBY_ARCHIVE_DEST parameter default value as /db1/redo/arch_log/
Fri Apr 05 17:20:37 2013
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 17-17
DBID 3032961371 branch 811712090
FAL[client]: All defined FAL servers have been attempted.
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that's sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
and on the aler_primary.log there is something like:
Fatal NI connect error 12514, connecting to:
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.232.127.149)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=RCIRU1)(CID=(PROGRAM=oracle)(HOST=SecIBSO)(USER=oracle))))
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 08-APR-2013 09:33:50
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Error 12514 received logging on to the standby
can anybody help me with this?
Kind regards,
VSprimary
SQL> select dest_id, status, error from v$archive_dest;
DEST_ID STATUS
ERROR
1 VALID
2 ERROR
ORA-12514: TNS:listener does not currently know of service
requested in connect descriptor
3 INACTIVE
DEST_ID STATUS
ERROR
4 INACTIVE
5 INACTIVE
6 INACTIVE
DEST_ID STATUS
ERROR
7 INACTIVE
8 INACTIVE
9 INACTIVE
DEST_ID STATUS
ERROR
10 INACTIVE
11 INACTIVE
12 INACTIVE
DEST_ID STATUS
ERROR
13 INACTIVE
14 INACTIVE
15 INACTIVE
DEST_ID STATUS
ERROR
16 INACTIVE
17 INACTIVE
18 INACTIVE
DEST_ID STATUS
ERROR
19 INACTIVE
20 INACTIVE
21 INACTIVE
DEST_ID STATUS
ERROR
22 INACTIVE
23 INACTIVE
24 INACTIVE
DEST_ID STATUS
ERROR
25 INACTIVE
26 INACTIVE
27 INACTIVE
DEST_ID STATUS
ERROR
28 INACTIVE
29 INACTIVE
30 INACTIVE
DEST_ID STATUS
ERROR
31 INACTIVE
31 rows selected.
SQL>
SQL> select max(sequence#) from v$archived_log ;
MAX(SEQUENCE#)
36
SQL>
standby:
SQL> select max(sequence#) from v$archived_log ;
MAX(SEQUENCE#)
17
SQL> select max(sequence#) from v$archived_log where Applied='YES';
MAX(SEQUENCE#)
17
SQL> select process from v$managed_Standby;
PROCESS
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
PROCESS
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
PROCESS
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
MRP0
31 rows selected.
SQL>
SQL> Show parameter FAL_SERVER
NAME TYPE VALUE
fal_server string PRIMARY
SQL> -
Hi guys,
excuse me if i repeat a my old post,but now i have more clear ideas about problems.
I've developed an authorization filter in my jsf application that when a page is loaded try to find a visit object in the session,if it doesn't find show login page.
It's simple as concept,but in my application my filter doesn't start!
Can you help me?
My filter is very simple
package giu;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class AuthorizationFilter implements Filter
FilterConfig config = null;
ServletContext servletContext = null;
public AuthorizationFilter()
public void init(FilterConfig filterConfig) throws ServletException
config = filterConfig;
servletContext = config.getServletContext();
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException
Utils.log(servletContext, "Inside the filter");
HttpServletRequest httpRequest = (HttpServletRequest)request;
HttpServletResponse httpResponse = (HttpServletResponse)response;
HttpSession session = httpRequest.getSession();
String requestPath = httpRequest.getPathInfo();
Visit visit = (Visit)session.getAttribute("visit");
if (visit == null)
session.setAttribute("originalTreeId", httpRequest.getPathInfo());
Utils.log(servletContext, "redirecting to " + httpRequest.getContextPath() +
"/faces/Login.jsp");
httpResponse.sendRedirect(httpRequest.getContextPath() +
"/faces/Login.jsp");
else
session.removeAttribute("originalTreeId");
String role = visit.getUser().getRole(); }
Utils.log(servletContext, "Exiting the filter");
public void destroy()
}my Login.jsp and index.jsp pages are in WebContent folder,while the other pages are in the Webcontent/protected.
What i miss?
Here is my web.xml, i thing the error is here,it's how filter doesn't intercept the requests...can you help me?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<filter>
<filter-name>AuthorizationFilter</filter-name>
<filter-class>giu.AuthorizationFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>AuthorizationFilter</filter-name>
<url-pattern>/faces/protected/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/nomedb</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>and index.jsp
<jsp:forward page="/Login.jsf"/>Your web.xml looks fine. If it hasn't worked yet, try this.
1)
<filter>
<filter-name>AuthorizationFilter</filter-name>
<filter-class>giu.AuthorizationFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>AuthorizationFilter</filter-name>
<servlet-name>FacesServlet</servlet-name>
</filter-mapping>2) Modify your filter code to check for /faces/protected/* -
recently my phone updated to ios 7, it wont let me sign into my iphone app store to download apps,i click on an app i want and it just clicks but doesn't start to download, i can see thats its not signed in so i tried to re set up my account under the app store in settings , but its just a grey area and wont let me click to input any information. this happened right after i updated my phone, any help?
Hi SarahHannah,
If you are having trouble activating iMessage, this article contains relevant troubleshooting steps:
iOS: Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/ts4268
Take care,
- Ari -
How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
Please help
MarceloIf there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
Gray, Blue or White screen at boot, w/spinner/progress bar
Also take this time to backup your users files off the machine if possible.
Most commonly used backup methods
Sometime that won't work and you need to do more
..Step by Step to fix your Mac -
Chromium doesn't start and suspend, shutdown don't work occassionally
Hello,
I have this problem on my laptop but since chromium doesn't start on my desktop either, I don't think it's specific to laptops.
When I try to start chromium in a terminal, I get a blank window (I can tell because I use spectrwm):
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[25148:25148:0215/130205:ERROR:background_mode_manager_aura.cc(14)] Not implemented reached in virtual void BackgroundModeManager::EnableLaunchOnStartup(bool)
I temporarily resorted to using Firefox instead, but at times it just freezes up while opening some pages. After that point, even killing firefox doesn't help: the system load level keeps on rising. I used pidof to check if firefox is still running, but I had no output from pidof. After having firefox to freeze, shutdown, suspend, etc don't work. The laptop goes to a black screen state, but the power LED remains on indefinitely.
These might be two separate issues, but they started together on my laptop.
Thanks in advance!
Last edited by SgrA (2015-02-15 09:47:08)I also have issues wich starting up chromium (google-chrome and opera too).
Feb 15 10:09:58 localhost kernel: [ 102.301038] chromium[786]: segfault at 7ffffd294ff8 ip 00007fb4386962b2 sp 00007ffffd295000 error 6 in chromium[7fb43371e000+66c6000]
Feb 15 10:12:16 localhost kernel: [ 240.102784] chromium D 0000000000000000 0 786 1 0x00000104
Feb 15 10:12:16 localhost kernel: [ 240.102789] ffff8800c2d5bb68 0000000000000082 ffff8800c5635a90 0000000000013640
Feb 15 10:12:16 localhost kernel: [ 240.102793] ffff8800c2d5bfd8 0000000000013640 ffffffff81818540 ffff8800c5635a90
Feb 15 10:12:16 localhost kernel: [ 240.102796] ffff8800c2d5bb78 0000000000000246 ffffffff81a52047 ffff88042f5eeb08
Feb 15 10:12:16 localhost kernel: [ 240.102799] Call Trace:
Feb 15 10:12:16 localhost kernel: [ 240.102809] [<ffffffff8109e777>] ? try_to_wake_up+0x1e7/0x380
Feb 15 10:12:16 localhost kernel: [ 240.102814] [<ffffffff81551599>] schedule+0x29/0x70
Feb 15 10:12:16 localhost kernel: [ 240.102818] [<ffffffff81553e25>] rwsem_down_write_failed+0x175/0x360
Feb 15 10:12:16 localhost kernel: [ 240.102823] [<ffffffff812c0e63>] call_rwsem_down_write_failed+0x13/0x20
Feb 15 10:12:16 localhost kernel: [ 240.102827] [<ffffffff81553604>] ? down_write+0x24/0x40
Feb 15 10:12:16 localhost kernel: [ 240.102832] [<ffffffff8122c5cd>] do_coredump+0x16d/0xf30
Feb 15 10:12:16 localhost kernel: [ 240.102837] [<ffffffff81080524>] ? force_sig_info+0xd4/0xf0
Feb 15 10:12:16 localhost kernel: [ 240.102841] [<ffffffff8107e3d7>] ? __sigqueue_free.part.15+0x37/0x40
Feb 15 10:12:16 localhost kernel: [ 240.102846] [<ffffffff8108180c>] get_signal+0x38c/0x710
Feb 15 10:12:16 localhost kernel: [ 240.102852] [<ffffffff81014617>] do_signal+0x37/0x800
Feb 15 10:12:16 localhost kernel: [ 240.102855] [<ffffffff81550f08>] ? __schedule+0x3e8/0xa50
Feb 15 10:12:16 localhost kernel: [ 240.102859] [<ffffffff81014e48>] do_notify_resume+0x68/0xa0
Feb 15 10:12:16 localhost kernel: [ 240.102863] [<ffffffff81556322>] retint_signal+0x48/0x86
Feb 15 10:12:16 localhost kernel: [ 240.102871] Watchdog D 0000000000000004 0 794 1 0x00000104
Feb 15 10:12:16 localhost kernel: [ 240.102874] ffff880402757d40 0000000000000082 ffff8800c5632840 0000000000013640
Feb 15 10:12:16 localhost kernel: [ 240.102877] ffff880402757fd8 0000000000013640 ffff880418841420 ffff8800c5632840
Feb 15 10:12:16 localhost kernel: [ 240.102880] ffff880402757ce8 ffff880402757e70 00000000ffffff92 ffff880402757c98
Feb 15 10:12:16 localhost kernel: [ 240.102883] Call Trace:
Feb 15 10:12:16 localhost kernel: [ 240.102888] [<ffffffff810dbe32>] ? hrtimer_cancel+0x22/0x30
Feb 15 10:12:16 localhost kernel: [ 240.102893] [<ffffffff810ed4e6>] ? futex_wait+0x206/0x280
Feb 15 10:12:16 localhost kernel: [ 240.102897] [<ffffffff810dbbc0>] ? __run_hrtimer+0x250/0x250
Feb 15 10:12:16 localhost kernel: [ 240.102900] [<ffffffff81551599>] schedule+0x29/0x70
Feb 15 10:12:16 localhost kernel: [ 240.102903] [<ffffffff81553c65>] rwsem_down_read_failed+0xe5/0x130
Feb 15 10:12:16 localhost kernel: [ 240.102906] [<ffffffff810ed0d0>] ? futex_wake+0x80/0x160
Feb 15 10:12:16 localhost kernel: [ 240.102910] [<ffffffff812c0e34>] call_rwsem_down_read_failed+0x14/0x30
Feb 15 10:12:16 localhost kernel: [ 240.102913] [<ffffffff815535d7>] ? down_read+0x17/0x20
Feb 15 10:12:16 localhost kernel: [ 240.102918] [<ffffffff81060aed>] __do_page_fault+0x1ed/0x600
Feb 15 10:12:16 localhost kernel: [ 240.102923] [<ffffffff8110e7f9>] ? seccomp_phase1+0x99/0x210
Feb 15 10:12:16 localhost kernel: [ 240.102927] [<ffffffff81060f22>] do_page_fault+0x22/0x30
Feb 15 10:12:16 localhost kernel: [ 240.102930] [<ffffffff81557598>] page_fault+0x28/0x30
Feb 15 10:12:43 localhost kernel: [ 267.288947] chromium[920]: segfault at 7fff3faceff8 ip 00007fa90fcc62bc sp 00007fff3facf000 error 6 in chromium[7fa90ad4e000+66c6000]
It started happening after upgrade:
[2015-02-15 09:43] [ALPM] upgraded chromium (40.0.2214.94-1 -> 40.0.2214.111-1)
I was wondering if it has anything to do with some X-related upgrades:
[2015-02-15 09:42] [ALPM] upgraded xorg-server-common (1.16.3-2 -> 1.16.4-1)
[2015-02-15 09:43] [ALPM] upgraded xorg-server (1.16.3-2 -> 1.16.4-1)
[2015-02-15 09:48] [ALPM] upgraded xorg-server-devel (1.16.3-2 -> 1.16.4-1)
[2015-02-15 09:45] [ALPM] upgraded nvidia (346.35-5 -> 346.35-6)
I tried to downgrade chromimu to 40.0.2214.94-1 and it didn't help. I tried to downgrade nvidia, xorg-server and xorg-server-devel to previous versions, when everything worked and X chouldn't start.
Other observations are that if I start chromium, the ps command hangs and I have to reboot the system to be able to use ps command again.
Linux lisa 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:44:05 CET 2015 x86_64 GNU/Linux
It's worth mentioning that I also run spectrwm, like SgrA, however i don't have other issues with freezing on shutdown etc. -
Remote Update Manager on Yosemite doesn't start
Hi to all, I have recently updated my 15 iMac (year 2012) to Yosemite.
After the upgrade, the Adobe Remote Update Manager tool doesn't start, with an error 1.
In the console, I see these lines:
Any suggestions?
Many thanksSame problem here on my wife's mid-2012 Macbook Air. Really annoying.
-
Apple logo comes up but ipod doesn't start
When I turn on the device the Apple logo comes up but the ipod doesn't start and go to the menus it just stays with the logo. When I hold down the play/pause on the click wheel to put it to sleep a symbol of a triangle with an exclamation point in the center comes up along with "www.apple.com/support/ipod." I tried rebooting it with Menu/select but nothing happens.
Unfortunately, on a "classic" iPod that uses a hard drive for storage, the most likely cause is a faulty hard drive.
You can try putting the iPod into Disk Mode
http://support.apple.com/kb/HT1363
If that works, connect it to the computer and run iTunes. iTunes may prompt you to do a Restore. This will erase the iPod, re-install its software, and set it to default settings. If the cause is data corruption or a software issue (and the hard drive has no physical problem), the Restore should fix it.
Maybe you are looking for
-
How can I reset my iCloud ID for my Ipad 4 because they asked me to verify the password but I don't remember? Thank you!
-
Change the Apple ID for a game and not lose the progress made?
Short version of my question: can I change the apple id associated with a game to another one and not lose the progress made in the game thus far? Long version: when there were only a few iGadgets in the house, all games and music were downloaded thr
-
Hi guys, I posted this once before but don't know if anyone looked at it or not. I am getting "Jagged Edges" in .psd/ .jpg/ .tif/ .tga text files when I edit them in FCP5.1.4. What is going wrong? It is getting very frustrating for me at this point.
-
FMLE commandline via c++ and Preview
Hey Adobe Team and Adobe Users, what i like to do is to start FMLE in command line mode via c++. This is not a problem at all. But then i want to preview the input video in my c++ application. But this leads me to the problem that my webcam is in use
-
Frequent disconnect​s and low DSL speed.
The disconnects are back again and my speed has dropped from 2.9 to 2.8 to 2.5 to 2.1 to at this point 1.8. Why does this keep happening? My DSL modem is always on and when I come home from work the connection is down. At this point I have lost some