Spring / OC4J / JMX - Unauthorized access from application publishing mbean
I get the following when my Spring app tries to publish mbeans to the OC4J MBeanServer.
My app works fine in JBoss, i.e. JBoss doesn't throw a security exception.
What file do I have to configure in OC4J for this to be allowed?
java.lang.SecurityException: Unauthorized access from application: ice-crem to MBean: bean:name=portalConfig
at oracle.oc4j.admin.jmx.shared.UserMBeanServer.checkRegisterAccess(UserMBeanServer.java:873)
at oracle.oc4j.admin.jmx.shared.UserMBeanServer.registerMBean(UserMBeanServer.java:400)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.registerMBean(LocalizationFilterMBeanServer.java:341)
It looks like you are trying to access MBeans in the bean: domain from an application called ice-crem.
OC4J enforces a security proxy for MBeans. By default an application specific MBean
can only access MBeans within the same application -- so the ice-crem application can only see MBeans in the ice-crem domain.
If an application creates its own Custom MBeanServer, then the security proxy intercepto does not come into play since there are no OC4J System MBeans in it. Any application can access an applications Custom MBeanServer.
What I found when using Spring with JMX was to configure it to use a Custom MBeanServer.
<bean id="customMBeanServer"
class="org.springframework.jmx.support.MBeanServerFactoryBean">
<property name="defaultDomain" value="customMBeanServer"/>
<property name="locateExistingServerIfPossible" value="false"/>
<property name="registerWithFactory" value="true"/>
</bean>
and then put all the Spring exported MBeans in that.
<bean id="exporter"
class="org.springframework.jmx.export.MBeanExporter">
<property name="beans">
<map>
<entry key="bean:name=bean1"
value-ref="bean1"/>
<entry key="bean:name=bean2"
value-ref="bean2"/>
</map>
</property>
<property name="server" ref="customMBeanServer"/>
</bean>
If you want to disable the JMX security proxy, so you can do what you are currently trying to do and what works in JBoss, then you nee dto start OC4J with this System property:
java -Doc4j.jmx.security.proxy.off=true -jar oc4j.jarDoing that exposes the OC4J System MBeans to all deployed applications, so its not something you really want to run in production unless you then go and apply a Java2 policy style restriction on the oc4j:* mbeans.
cheers
-steve-
Similar Messages
-
Getting ORA-00376 while accessing from application
Hi,
Application team is getting below error while accessing the database.
“ERROR: SQLException, while closing
connection, exception is ==ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf'
Later we renamed the datafile from tblspcsmarts01.dbf to tblspcsmarts_01.dbf, and still getting the same error while accessing the application.
And, the datafiles are in online and READ WRITE mode.
File Status:
SQL> select file#,name,status,ENABLED,CHECKPOINT_CHANGE#,to_char(CHECKPOINT_TIME,'dd-mon-yy hh24:mi:ss') from v$datafile;
FILE# NAME STATUS ENABLED CHECKPOINT_CHANGE# TO_CHAR(CHECKPOINT
1 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf SYSTEM READ WRITE 94950500 23-oct-13 15:41:40
2 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
3 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
4 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
5 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
6 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
7 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
SQL> select FILE_ID,TABLESPACE_NAME,FILE_NAME,BYTES/1024/1024,status from dba_data_files;
FILE_ID TABLESPACE_NAME FILE_NAME BYTES/1024/1024 STATUS
1 SYSTEM /dborafiles/nGTA/oradata01/smartsgs/system01.dbf 1024 AVAILABLE
5 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf 7000 AVAILABLE
3 SYSAUX /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 1024 AVAILABLE
4 USERS /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 2048 AVAILABLE
6 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf 6144 AVAILABLE
7 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf 2048 AVAILABLE
2 UNDOTBS1 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 1024 AVAILABLE
File permissions at OS level.
[oracle@apt3vl05 smartsgs]$ pwd
/dborafiles/nGTA/oradata01/smartsgs
[oracle@apt3vl05 smartsgs]$ ls -lrt
total 29057944
-rw-r----- 1 oracle dba 7340040192 Oct 23 10:37 tblspcsmarts01.dbf_old
-rw-r----- 1 oracle dba 1073750016 Oct 23 12:37 temp01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 users01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 tblspcsmarts_03.dbf
-rw-r----- 1 oracle dba 6442459136 Oct 23 15:41 tblspcsmarts02.dbf
-rw-r----- 1 oracle dba 7340040192 Oct 23 15:41 tblspcsmarts_01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:05 sysaux01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 undo02.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 system01.dbf
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control02.ctl
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control01.ctl
Even i am able to do switch logfile and every thing fine. Below is the excerpt from alert log.
Wed Oct 23 10:29:59 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /dboracle/orabase/product/10.2.0.4/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
timed_statistics = TRUE
shared_pool_size = 159383552
large_pool_size = 16777216
java_pool_size = 159383552
streams_pool_size = 16777216
control_files = /dborafiles/nGTA/oradata01/smartsgs/control01.ctl, /dborafiles/nGTA/oradata01/smartsgs/control02.ctl, /dboracle/admin/smartsgs/control03.ctl
db_block_size = 8192
db_cache_size = 16777216
compatible = 10.2.0.4
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
O7_DICTIONARY_ACCESSIBILITY= TRUE
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = smartsgs
job_queue_processes = 10
background_dump_dest = /dboracle/admin/smartsgs/bdump
user_dump_dest = /dboracle/admin/smartsgs/udump
core_dump_dest = /dboracle/admin/smartsgs/cdump
sort_area_size = 524288
db_name = smartsgs
open_cursors = 800
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2, OS id=9173
PSP0 started with pid=3, OS id=9178
MMAN started with pid=4, OS id=9180
DBW0 started with pid=5, OS id=9187
LGWR started with pid=6, OS id=9194
CKPT started with pid=7, OS id=9200
SMON started with pid=8, OS id=9202
RECO started with pid=9, OS id=9204
CJQ0 started with pid=10, OS id=9206
MMON started with pid=11, OS id=9208
MMNL started with pid=12, OS id=9210
Wed Oct 23 10:30:01 2013
ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
Setting recovery target incarnation to 1
Wed Oct 23 10:30:06 2013
Successful mount of redo thread 1, with mount id 765417449
Wed Oct 23 10:30:06 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
ALTER DATABASE OPEN
Wed Oct 23 10:30:06 2013
Thread 1 opened at log sequence 855
Current log# 3 seq# 855 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 855 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 855 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Successful open of redo thread 1
Wed Oct 23 10:30:06 2013
SMON: enabling cache recovery
Wed Oct 23 10:30:07 2013
Successfully onlined Undo Tablespace 6.
Wed Oct 23 10:30:07 2013
SMON: enabling tx recovery
Wed Oct 23 10:30:07 2013
Database Characterset is WE8ISO8859P15
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 2
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=9246
Wed Oct 23 10:30:10 2013
Completed: ALTER DATABASE OPEN
Wed Oct 23 10:37:38 2013
alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:37:38 2013
Completed: alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:43:58 2013
alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:43:58 2013
Completed: alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:44:14 2013
alter tablespace TBLSPCSMARTS online
Wed Oct 23 10:44:15 2013
Completed: alter tablespace TBLSPCSMARTS online
Wed Oct 23 15:02:00 2013
Thread 1 advanced to log sequence 856 (LGWR switch)
Current log# 1 seq# 856 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 856 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 856 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:06:11 2013
Thread 1 advanced to log sequence 857 (LGWR switch)
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Thread 1 cannot allocate new log, sequence 858
Checkpoint not complete
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 858 (LGWR switch)
Current log# 3 seq# 858 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 858 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 858 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 859 (LGWR switch)
Current log# 1 seq# 859 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 859 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 859 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:09:00 2013
Thread 1 advanced to log sequence 860 (LGWR switch)
Current log# 2 seq# 860 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 860 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 860 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:09:02 2013
Thread 1 advanced to log sequence 861 (LGWR switch)
Current log# 3 seq# 861 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 861 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 861 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:37:37 2013
alter database datafile 5 online
Wed Oct 23 15:37:37 2013
Completed: alter database datafile 5 online
Wed Oct 23 15:37:58 2013
alter database datafile 7 online
Wed Oct 23 15:37:58 2013
Completed: alter database datafile 7 online
Wed Oct 23 15:41:09 2013
Thread 1 advanced to log sequence 862 (LGWR switch)
Current log# 1 seq# 862 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 862 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 862 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:41:10 2013
Thread 1 advanced to log sequence 863 (LGWR switch)
Current log# 2 seq# 863 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 863 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 863 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Please advice how can we troubleshoot what could be the issue.
Thanks,
DasarathOutput of the requested commands.
SQL> select * from v$datafile_header;
FILE# STATUS ERROR FORMAT REC FUZ CREATION_CHANGE# CREATION_ TABLESPACE_NAME TS# RFILE# RESETLOGS_CHANGE# RESETLOGS CHECKPOINT_CHANGE# CHECKPOIN CHECKPOINT_COUNT BYTES BLOCKS NAME SPACE_HEADER LAST_DEALLOC_SCN
1 ONLINE 0 NO YES 8 23-JUL-09 SYSTEM 0 1 1 23-JUL-09 94978106 24-OCT-13 913 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf
2 ONLINE 0 NO YES 94828823 22-OCT-13 UNDOTBS1 6 2 1 23-JUL-09 94978106 24-OCT-13 37 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 8388610
3 ONLINE 0 NO YES 7545 23-JUL-09 SYSAUX 2 3 1 23-JUL-09 94978106 24-OCT-13 912 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 12582914
4 ONLINE 0 NO YES 170715 23-JUL-09 USERS 4 4 1 23-JUL-09 94978106 24-OCT-13 907 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 16777218
5 ONLINE 0 NO YES 94891412 22-OCT-13 TBLSPCSMARTS 5 5 1 23-JUL-09 94978106 24-OCT-13 30 7340032000 896000 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 20971522
1.dbf
6 ONLINE 0 NO YES 94891511 22-OCT-13 TBLSPCSMARTS 5 6 1 23-JUL-09 94978106 24-OCT-13 28 6442450944 786432 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02 25165826
.dbf
7 ONLINE 0 NO YES 94891933 22-OCT-13 TBLSPCSMARTS 5 7 1 23-JUL-09 94978106 24-OCT-13 29 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 29360130
3.dbf
7 rows selected.
SQL> select * from v$recover_file;
no rows selected
Thanks,
Dasarath -
Data access from Application Server - Seeking Opinion
I am working on a fairly large scale ERP application that is written in Java both on the front end, and middle tier ( using a JBoss application server ).
All of the database access happens in my app server, and when I wanted to get peoples opinions on the best way to extract and pass data to and from the database from the app server, and of course to and from the client.
I am using JDBC to make database calls and extra data from the database. This is of course pretty trivial. And I first started writing POJO that represent tables in my database. I then wrote a faily length method that uses reflection to call the setting methods and pass in the objects returned from the database result set. This of course becomes tricky when you start to join multiple tables together. And often you only need a small subset of columns in a table and don't require an object with all the columns from the table ( some set, and some as null objects ).
So then I decided I was use a combination of ArrayList objects and HashMap's to store the data. If a result set returned multiple rows, it would return an ArrayList of HashMap objects. Each hash map would contain the data for that row, and the hash map keys are the column names.
This seems to work pretty well and resolves the problem of joining multiple tables together and keeping track of which columns get stored in which objects.
Does anyone have a different solution or idea as to how to handle this? And thoughts or ideas would be greatly appreciated.bryano wrote:
Let me pose a quick Hibernate question as well.Let me recommend that you not be so thin-skinned about responses.
>
If you had a table that had 40 columns in it and say 1000 rows. And you needed to run a query that returned all 1000 rows, but you only needed two out of the
40 columns. Would it be better to extract those two columns into the HashMap / ArrayList collection I mentioned in my original post? Or would using something like Hibernate and a class that mapped all of the columns in the table be okay?Why not just map the columns you needed in Hibernate? Who said you had to map all 40 and have them be null?
My concern is on efficiency,
and I was wondering if building 1000 objects that each have 40 members that only 2 are populated is the most efficient way of extracting the data.Doesn't sound very efficient.
I will admit, my knowledge of Hibernate is limited at best so I may be missing a component of Hibernate that would allow you to only extract the columns you required, but you are still working with an object that has 38 null value objects for the columns you didn't require.I don't believe you're required to map every column in a table.
% -
Protecting remote CFCs from unauthorized access
Now that I'm working with Flex I've discovered that I no
longer have session variables to maintain access to a site. How do
I protect my Coldfusion CFC's from unauthorized access?
I'm working on a site that requires user authentication.
While the actual user authentication in flex is easy, this doesn't
protect my Coldfusion CFCs from someone that knows how to hook up
directly to my site which would bypass the interface security.
I'm also coding an Adobe Air application to go along with the
website.
TIA.One of my task involved publishing a secured web service to
be consumed by any client/platform. Best and secured way, and
you'll agree that this is what Amazon and Google use as well, is
that you assign every client an application-id and security-key.
And here's how client should make requests:
1. SoapHeaders or HTTP_Cookie is sent with every request.
Information it will contain is an encryted text (token) and client
id.
Header or cookie will appear something like this:
applicationid=3456&token=wJDKD93o34%^&*$2de4390
2. Encrytion is done by the client using the security-key
provided by the server. Text which is encrypted must contain
datetime. Example normal text could be: myMethod\20080612
3. The security-key itself is never transferred over the
network
4. At the server side, the token header value is decrypted
using the key for that applicationid (pick it up from the server.)
5. Server checks, after decryption of token, that the
datetime is in proper format and methodName is same as the method
called. And if this is true, client is authenticated.
In simple words, go on encryting any client variable before
sending to the server. If server can decrypt it and finds expected
string, respond or else throw security error.
Why you must also allow access using HTTP_COOKIE? You dont
want to write your own WSDL files. ColdFusion can not generate a
WSDL which can tell consumers what SoapHeaders your service is
expecting. Not allowing cookies based authentication will
eventually lead to a situation where .NET developers wont be able
to consume your service. Its impossible for most .NET pros to write
a code to send custom soap headers - there is so much dependency on
VS Studio web service code stubs.
Sam
Adobe Certified Flash and Adv. ColdFusion Developer
http://www.samunplugged.com
mumbai users, join other mumbai cf enthsiasts:
http://in.groups.yahoo.com/group/cfexpress/ -
Error accessing web application in OC4J-reg.
Hi All,
We deployed a web application into oc4j 903.
We got the ERROR 1 when trying to access the application. Then we replaced the jaxb-rt-1.0-ea.jar & jaxp.jar in oc4j with the latest
version from jwsdk1.1. Then we got the ERROR 2. This error is thrown because it is trying to use JXDocumentBuilderFactory from
xmlparserv2.jar in oc4j instead of DocumentBuilderFactory in jaxp.jar. Then we tried to uncomment the tag "<web-app-class-loader
search-local-classes-first="true" include-war-manifest-class-path="true" />" in orion-web.xml file. This ensures the use of jaxp.jar
instead of xmlparserv2.jar but we got the ERROR 3. Now we don't know how to proceed further. Are we going in the right direction or
are we missing anything?
I will appreciate if any of you can provide any inputs.
Please reply to me directly.
ERROR 1:
500 Internal Server Error
ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading failed.
at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
at
ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Unknown Source)
Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException:
Initialization of modules mappings source failed.
at
ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
... 11 more
Caused by: javax.xml.bind.JAXBException: Provider
com.sun.xml.bind.ContextFactory could not be instantiated:
java.lang.IncompatibleClassChangeError: Implementing class - with
linked exception:[java.lang.IncompatibleClassChangeError: Implementing
class]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:118)
at
javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:233)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:153)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)
at
ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:228)
... 12 more
ERROR 2:
500 Internal Server Error
ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading
failed.
at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
at
ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Unknown Source)
Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException:
Initialization of modules mappings source failed.
at
ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
... 11 more
Caused by: java.lang.IllegalArgumentException
at
oracle.xml.jaxp.JXDocumentBuilderFactory.setAttribute(JXDocumentBuilderFactory.java:133)
at
ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:235)
... 12 more
ERROR 3:
500 Internal Server Error
ee.wm.jwlf.module.ModuleManagerException: Modules mappings loading failed.
at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:54)
at ee.wm.jwlf.controller.MainServlet.getModuleManager(MainServlet.java:432)
at ee.wm.jwlf.controller.MainServlet.init(MainServlet.java:72)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:536)
Caused by: ee.wm.jwlf.module.mapping.ModuleMappingDAOException: Initialization of modules mappings source failed.
at ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:255)
at ee.wm.jwlf.module.BaseModuleManager.init(BaseModuleManager.java:49)
... 11 more
Caused by: java.lang.ClassCastException
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:139)
at ee.wm.jwlf.module.mapping.ModuleMappingJAXBDAOImpl.initializeSource(ModuleMappingJAXBDAOImpl.java:231)
... 12 more
Thanks & Regards,
YogaThanks Avi -- I did have a JDK versioning problem when first deploying in OC4J 9.0.4 -- but when I used JDK1.4.1 things worked. The problem appears to be that some classes are present in several different JAR files in the JDev libraries. Can anyone tell me about the dependencies out there between these JAR files? I can run the application in JDeveloper's OC4J container but cannot get it to deploy on 9.0.4 standalone.
1) I had this error for a bit... the problem was caused by bc4jmt.jar and mc4jct.jar in my MT deployment.
java.lang.IncompatibleClassChangeError
at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:418)
2) now I get this error -- looks like another version incompatibility. Can anyone shed light on this??
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.LinkageError, msg=Class oracle/jbo/ApplicationModule violates loader constraints
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:532) -
BI publisher - Unauthorized Access: please contact the administrator
I am getting an error message in BI publisher - Unauthorized Access: please contact the administrator
when trying to enter the shared folders
after installing the Oracle BI EE 10.1.3.4.1
try to connect to the biee - works
try to create a report - works
try to connect to the BIP - works
try to create a report - works
able to see the bi catalog from the bip - works
change the biee to work with LDAP
try to connect to the biee - works
try to create a report - works
try to connect to the BIP - works
try to enter into the shared folder in the BIP - error "publisher
Unauthorized Access: please contact the administrator"
can't create a report - there is no link "create report"/"create folder"
able to see the bi catalog from the bip - bi catalog is emptyHi
I am working with tleiba.
We have tried to work as described above
BI Server ==> LDAP <== XMLP Server (BI PUB)
and maybe because we are using Microsoft Active Directory it didn't worked (I am not sure it is related to which A/D or LDAP mechanism we are using, but it failed we kept getting configuration error)
so we gave up (anyone succeeded with MS A/D ?)
now we are working with the local publisher security and creating local users and permissions (and of course this is working)
all but one thing:
When we are trying to create new report in the "Data Model" -> NEW and in the TYPE we choose "ORACLE BI Answers".
in the details when we try opening the Catalog we are getting :
"Oracle BI Catalog
BI Catalog Home
Empty catalog.
regarding configuration in :Admin>Oracle BI Presentation Services under Integration we have used the following:
Server Protocol - http
Server Version - v4
* Server - <full server name with domain >
* Port - 80
* Administrator Username <we have used the correct Administrator username>
Administrator Password <we have used the correct Administrator password>
URL Suffix analytics/saw.dll
Session Timeout 90
any idea ? -
Is there a way to play an mp4 file at the beginning of a published project only when the project is accessed from a specific site?
A little background info. I use Captivate 7 and currently have over 100 projects that I maintain on a quarterly basis. I publish using the SWF format and upload the swf/htm files to a server where they are then accessed from a few locations (within our online documentation, in our software product, on two different websites). Many of the projects are linked so some will be viewed as a series and others viewed as a standalone video. Each video uses the same template and includes an intro and end slide. Now my organization wants to implement a new intro to all videos (those I publish and those from several groups across the organization). My current intros provide overview material for the specific video so the new intro, which is an animation with audio in mp4 format, would need to be placed at the start of each project. The issue is, the intro adds 9 seconds to every video and in many cases doesn’t add any value (say, if a user accesses the video from within our product or views the videos as a series). I’ve talked it over with my boss and we want to try to add the intro only to videos accessed from site X, not any other location. So now to my question. Is there a way to play an external mp4 file (intro) only when the published project is accessed from a specific site, therefore eliminating the need to update each project? Maybe there's a way to add a parameter or variable to the URL or the html code?
Thanks in advance for your suggestions. Please let me know if you need additional information.AimeeLove,
I have a solution for you. You may have to modify the code a little bit based on how long the timeline animation is for your clock. I based mine on 3 seconds to complete a minute hand sweep around the clock.
Milliseconds for each point on the clock:
12 = 0
1 = 250
2 = 500
3 = 750
4 = 1000
5 = 1250
6 = 1500
7 = 1750
8 = 2000
9 = 2250
10 = 2500
11 = 2750
In the mouseover section for 12 o' clock, put this code...
myVar = setInterval(function(){
var pos = sym.getPosition();
if (pos > 0 && pos < 50){
sym.stop(0);
clearInterval(myVar);
},10);
When you point to the time, the setInterval method loops every 100th of a second and checks the current position of the timeline. When the timeline reaches the range between 0 and 50 milliseconds (almost impossible to hit 1 specific point), the timeline will stop at 0. Also, the clearInterval will be fired to stop the loop.
In the mouseout section, put this...
sym.play();
clearInterval(myVar);
It start the clock again, and it also clears the loop in case you mouseout before you reach the range.
Make sure that myVar is a global variable so you can clear it from the mouseout section.
Repeat this for each point on the clock. To avoid potential conflicts, you may want to use my12, my1, my2, etc. instead of myVar. I put the milliseconds at the top that you would use as the beginning of the range. 50 milliseconds should be enough to catch it. So, for 5 o' clock, you would make your range between 1250 and 1300.
Let me know if you have any questions. Thanks!
Fred -
Unauthorized Access: please contact the administrator. for BI publisher rep
Hi experts,
I am able to see the BI publisher as admin.But when i login with user it is giving the following error:
Unauthorized Access: please contact the administrator.
But analysis reports are working.only problem with BI publisher reports.any extra setting required for BI publisher reports
for implementing the object level security ?
Regards
BiruduVerify whether your userid is added in the developer group. Ask the person who has admin proviledges or tech Arch team.
Thanks,
Biindu H -
Why can't access my application from different IP region.
I use the default configuration in the installation process.
software package is as_windows_x86_101300_disk1.zip
All the servers have IP address like 10.37.71.***
after i deploy my application server, local machine can access my application and other servers can access it.
But the users with ip 10.37.88.*** can't access my application and internet users can't access it too. They only can access the default home page of ias, and can't access em too.
I don't know what the problem is.
Another problem is that, if i change the defaultWebApp from "default" to "myApp", the service can't be started. I want to know how to set myapp as the default application.I installed the oracle application server 10g using default configuration. and didn't modify any configuration file.
The installation package is downloaded from oracle web-site without license. has it any difference from the package delivered by oracle. -
Protecting iPad data from unauthorized access
When somebody connects my iPad to his computer with installed iTunes (not my computer, not my iTunes), he is able to view my videos and hear my music as well as delete my data by syncing his own data to my iPad.
My iPad is protected by the 4 digit code and locked, but this does not prevent iTunes from syncing data from an unauthorized computer.
Is there any way to protect the iPad data against unauthorized access?Ok, I was able to test this on a new computer, iTunes asks you to unlock the iPad by typing the PIN code on the iPad before it starts syncing.
The previous computer where I encountered the problem was originally used to register the iPad as it had no PIN code, so it remembered the iPad as a "known" one, even if I uninstalled and reinstalled iTunes on that computer.
So I must be careful not to connect my iPad to computers others than mine in unlocked status, otherwise the person which owns the computer will be able to get data from my iPad at a later point even when my iPad is locked. In my opinion this is a security problem. -
Each time I access my Applications folder via Finder, a bunch of ejectable windows or previously downloaded programs open up on the desktop. I have ejected each one or placed it in the trash, but it still happens. How do I stop this from happening?
I asked the same question on Yahoo! Answers, and I was advised to reinstall Firefox, which I have just done (with version 3.6.8). The problem seems to be solved. Prior to doing this, I attempted to uninstall my previous version, but Control Panel wouldn't let me do this, nor would Windows Explorer allow me to send the whole Mozilla Firefox folder to the Recycle Bin. I went to Plan C, which was to delete all the subfolders in the main folder, followed by the leftover files, and finally empty the Recycle bin. Then I used Internet Explorer to download the newer version of Firefox, and installed it. No more extra home pages, so far.
-
Hello folks,
Can LabVIEW application properties such as "Callees" be accessed from C++?
Best Regards,
Chrischassan wrote:
Hello folks,
Can LabVIEW application properties such as "Callees" be accessed from C++?
Best Regards,
Chris
You can enable the ActiveX interface in LabVIEW and use its Automation server interface. This interface exports a subset of the VI Server interface to ActiveX. A subset becauseof security concerns. You do not want an arbitrary ActiveX client (possibly remotely) to look at your entire project and change about anything they like.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Moving a published access database application to another domain
Is it possible to move a published access database application to another sharepoint domain? Have built an application that works fine. Another organisation wants to use it, hence the need to move the application to
another domain. Using Sharepoint 2013 online version.Hi,
For your issue, please take steps as below:
1.Save Access app as a snapshot:
2.Upload your .app file to your new environment:
Reference:
https://support.office.com/en-us/article/Create-an-Access-app-package-5c409c03-ded9-4a41-82c3-fdd490a91b42
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Accessing desktop applications from the portal
Has anyone tried to access desktop applications
from the portal? Any ideas would be appreciated.
Thanks,
SuzanneI'm highly interested in this too!
So far, all pointers on portalcatalog.oracle.com to the NFuse portlet has just referred to the Citrix website where NO information can be found!
Anyone know where to find the Citrix NFuse portlet(s) for Oracle Portal?!?
Regards,
Haakon -
Cannot access to JDBC Resource from application client
Hello!
I have created a Connection Pool to my PostgreSQL database and a JDBC Resource via Admin Console in SJSAS 9.1_02. I can ping the connection pool ok.
I can get a Connection from a Stateless session Bean:
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("jdbc/pgDS");
Connection c = ds.getConnection();
//working with c
c.close();It works fine.
But when I try to do the same from client application (created with netbeans template "Enterprise Application Client"), I get an exception on this line: Connection c = ds.getConnection();
The Exception:
28.10.2008 20:09:10 com.sun.gjc.common.DataSourceObjectBuilder getDataSourceObject
SEVERE: RAR5099 : Wrong class name or classpath for Datasource Object
java.lang.ClassNotFoundException: org.postgresql.ds.PGSimpleDataSource
at com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:741)
at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:631)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.sun.gjc.common.DataSourceObjectBuilder.getDataSourceObject(DataSourceObjectBuilder.java:251)
at com.sun.gjc.common.DataSourceObjectBuilder.constructDataSourceObject(DataSourceObjectBuilder.java:106)
at com.sun.gjc.spi.ManagedConnectionFactory.getDataSource(ManagedConnectionFactory.java:970)
at com.sun.gjc.spi.DSManagedConnectionFactory.getDataSource(DSManagedConnectionFactory.java:139)
at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:93)
at com.sun.enterprise.resource.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:68)
at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:891)
at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1752)
at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:917)
at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResourcePool.java:225)
at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:516)
at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:443)
at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
at converter.Main.doConversion(Main.java:56)
at converter.Main.main(Main.java:29)
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:597)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
at com.sun.enterprise.appclient.Main.main(Main.java:200)
28.10.2008 20:09:10 com.sun.enterprise.resource.LocalTxConnectorAllocator createResource
WARNING: RAR5038:Unexpected exception while creating resource for pool vlkvPostgresPool. Exception : Class name is wrong or classpath is not set for : org.postgresql.ds.PGSimpleDataSource
28.10.2008 20:09:10 com.sun.enterprise.connectors.ConnectionManagerImpl internalGetConnection
WARNING: RAR5117 : Failed to obtain/create connection from connection pool [ vlkvPostgresPool ]. Reason : Class name is wrong or classpath is not set for : org.postgresql.ds.PGSimpleDataSource
28.10.2008 20:09:10 com.sun.gjc.spi.base.DataSource getConnection
WARNING: RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : org.postgresql.ds.PGSimpleDataSource]
Caught an unexpected exception!
java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : org.postgresql.ds.PGSimpleDataSource
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
at converter.Main.doConversion(Main.java:56)
at converter.Main.main(Main.java:29)
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:597)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
at com.sun.enterprise.appclient.Main.main(Main.java:200)
Please help me, I'm trying to solve it all day long...the issue is right in the exception trace. obviously, your client code does not have the "org.postgresql.ds.PGSimpleDataSource" class in its classpath.
note, generally DataSources are not something you would access from a remote client.
Edited by: jtahlborn on Oct 28, 2008 4:18 PM
Maybe you are looking for
-
I have following data in the cube. Material qty M1 20 M2 30 M3 -20 M4 50 And Master data - Material Hierarchy is Material Hierarchy Mgrp 1 M1 M2 M3 M4 I need to display only quantities with positive
-
I'm running Mac OS 10.5.8. I want to update to 10.7 or later so I can run iTunes 11 with my new iphone 5C. What update should I download?
-
ITunes movies moved to external hard drive
Hi! I moved my movies that were in iTunes to my external hard drive since my iMac was running out of space. I have a couple of questions for you: 1. Now that they've been moved, do I delete them from my iTunes? 2. Is it possible to watch the movies o
-
How to fast color the current mouse-hovered row in MultiColumnBox
Hi, I'm trying to color in a very efficient way the current mouse-hovered row in MutliColumnBox... however, it turns out to be pretty slow...? Any idea about how to make it (much) faster? Find attached my current way of achieving this purpose... a bi
-
Ive made an excel spreadsheet on microsoft excel 2011 for mac. Tried emailing it to my ipad and when opening it would say importing... then seconds later crash. next thing i opened the same file with Numbers on my mac pro laptop. aded a number to the