Invalid Configuration Location
Hi,
I have used AAMEE to create an MSI install for our Adobe Creative Suite 6 Master Collection.
I have followed the instructions to install Acrobat, then the main packages then the other exceptions.
I am now testing with a standard user account on our school network.
When the test user attempts to run Adobe Flash Builder 4.6 the following error occurs:
INVALID CONFIGURATION LOCATION:
The configuration area at \\servername\desktops\shared student desktop area\Adobe Flash Builder 4.6\cascaded\335153\configuration could not be be created. Please choose a writable location using the " -configuration" command line option...
Please help...
The only reference to the path I have found is here:
C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\configuration\config.ini the ini file containing the following code... #This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equino x.EquinoxFwConfigFileParser
#Fri Jun 15 15:56:15 BST 2012
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.java
[email protected]/Adobe Flash Builder 4.6
osgi.framework=file\lugins/org.eclipse.osgi_3.7.0.v20110613.jar
equinox.use.ds=true
eclipse.buildId=I20100608-0911
osgi.bundles=reference\:file\rg.eclipse.equinox.simpleconfigurator_1.0.200.v201 10502-1955.jar@1\:start
[email protected]/Adobe Flash Builder 4.6/cascaded/335153/configuration
org.eclipse.equinox.simpleconfigurator.configUrl=f ile\rg.eclipse.equinox.simpleconfigurator/bundles.info
osgi.configuration.cascaded=true
eclipse.product=com.adobe.flexbuilder.standalone.p roducte36
osgi.framework.extensions=reference\:file\rg.eclipse.osgi.nl1_3.7.0.v20110716043402.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=file\:/C\:/Program Files (x86)/Adobe/Adobe Flash Builder 4.6/p2/
eclipse.application=com.adobe.flexbuilder.standalo ne.FlashBuilderApplication
osgi.shared.configuration.area=file\:configuration Does anyone know how I can rewrite the line:
[email protected]/Adobe Flash Builder 4.6/cascaded/335153/configuration So I can point it at the users H:\ drive?
Similar Messages
-
Invalid Configuration Location error on startup
I have just installed Flash Builder 4.5 on my Windows 7 Enterprise edition. I installed this using my username (not Administrator), which has local administrative rights. When I start the program, I'm getting the error
Invalid Configuration Location
The configuration area at 'C:\Users\Administrator\Adobe Flash Builder 4.5\cascaded\308971\configuration' could not be created. Please choose a writable location using the '-configuration' command line option.
OK
Any reason for this error and what's the workaround?Hey there!
Found a woraround to your problem...
Go to your Flash Bulder install directory and then navigate to the eclipse folder (something like <FB_install_dir>\eclipse\...)
There you will find a config file with the following lines (at the end of the file):
[email protected]/Documents/Adobe Flash Builder 4.5/cascaded/<build_number>/configuration
osgi.shared.configuration.area=file\:configuration
osgi.configuration.cascaded=true
What you do is simply remove them. Afterwords when you start the Flash Builder again you will be prompted to enter a new directory to your workspace and everything will run smothly after that.
Cheers! -
ORA-22275: invalid LOB locator specified
Hello,
I use Oracle 11.2.0.3. APEX 4.2.2... Listener 2.0.3 .... Glassfish server 4.0.
When I run this procedure ( that is used in this tutorial )
I get ORA-22275: invalid LOB locator specified.
The error persists over Glass fish 3.0.2, Listener 2.0.1 and 2.0.2.
Also, I installed this patch 16803775, but to not avail.
declare
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIMETYPE, CONTENT, filename,DBMS_LOB.GETLENGTH(content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM image
WHERE id = 70;
htp.init;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
-- close the headers
owa_util.http_header_close;
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end ;
Any help pls, in getting that procedure works ?
Regards,
Fatehreplace this statement
select empty_clob() into c_xml from dual for update;
with
dbms_lob.createtemporary(c_xml, TRUE); -
ORA-22275 :invalid LOB locator specified error while loading BLOBs/CLOBS.
Hello All,
I am trying to load BLOB/CLOB data from a client oracle DB to the oracle db on our side,we are using ODI version 10.1.3.5.6,which reportedly has the issue of loading BLOB/CLOBS solved.I am using
The extraction fails in the loading stage when inserting data into the C$ table with the following error.
"22275:99999 :java.sql.BatchUpdateException:ORA-22275:Invalid LOB locator specified".
Kindly let me know how I can resolve this issue as the requirement to load this data is very urgent.
Thanks,
JohnOne alternate way can be done out of ODI as ODI is still not able to resolve this issue. You can trim these fields (CLOB/BLOB) and push this data as separate fields into ODI and at the reporting end you can again concatenate them.
May be this may solve your problem ....it solved mine.
--XAT -
ORA-22275: invalid LOB locator specified on trigger
I have a trigger which copies a blob on insert to one table to another.
CREATE OR REPLACE TRIGGER SWZTPRO.TSWTMPI_BEFORE_INSERT
BEFORE INSERT
ON SWZTPRO.TO_TSWTMPI
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
discriminator TO_TSWCRUL.BTC_DIS%TYPE;
discriminator:=:NEW.BTC_DIS;
insert into .....
If using after insert this triggerworks, but if the trigger fails for any reason, the client does not recieve the error.
If using before insert this fails:
insert into table, use before insert trigger
ORA-22275: invalid LOB locator specified
ORA-06512: at "SWZTPRO.TSWTMPI_BEFORE_INSERT", line 108
ORA-22275: invalid LOB locator specified
ORA-04088: error during execution of trigger 'SWZTPRO.TSWTMPI_BEFORE_INSERT'
Any help would be appreciatedI have also used a varaiation tirgger to do an instead of on insert on a view and I get the following error:
ORA-25008: no implicit conversion to LOB datatype in instead-of trigger -
I've tried to append couple of BLOB fields from one table and then update it to a record in another table. I got the following error. Does anyone know why?
CHECK POINT 1
begin
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified:
ORA-22275
ORA-06512: at "SYS.DBMS_LOB", line 753
ORA-06512: at "RBSSDEV.PG_TB_COMMENT_DETAIL", line 57
ORA-06512: at line 2
My store procedure is :
PROCEDURE SP_Insert_Comment_Detail
( v_CommentOID IN TB_COMMENT_DETAIL.COMMENTOID%TYPE ,
v_DBName IN TB_COMMENT_DETAIL.DBNAME%TYPE ,
v_ApplicationOID IN TB_COMMENT_DETAIL.APPLICATIONOID%TYPE ,
v_Comments IN TB_COMMENT_DETAIL.COMMENTS%TYPE ,
v_Created IN TB_COMMENT_DETAIL.CREATED%TYPE ,
v_UserID IN TB_COMMENT_DETAIL.USERID%TYPE
IS
lv_CommentsBlob BLOB := EMPTY_BLOB;
lv_CommentBlob BLOB := EMPTY_BLOB;
lv_NewComment VARCHAR2(1) := 'N';
CURSOR CommentDetail_cur IS
SELECT Comments
FROM TB_COMMENT_DETAIL
WHERE CommentOID = v_CommentOID
ORDER BY RecDate, DBName;
CURSOR Comment1_cur IS
SELECT Comments
FROM COMMENT1
WHERE CommentOID = v_CommentOID FOR UPDATE;
BEGIN
DBMS_LOB.CreateTemporary(lv_CommentBlob, TRUE, DBMS_LOB.CALL);
OPEN CommentDetail_cur;
FETCH CommentDetail_cur INTO lv_CommentBlob;
IF CommentDetail_cur%NOTFOUND THEN
lv_NewComment := 'Y';
END IF;
CLOSE CommentDetail_cur;
INSERT INTO TB_COMMENT_DETAIL
(CommentOID, RecDate, DBName, ApplicationOID,
Comments, Created, UserID)
VALUES
(v_CommentOID, SYSDATE, v_DBName, v_ApplicationOID,
v_Comments, v_Created, v_UserID);
IF lv_NewComment = 'Y' THEN
INSERT INTO Comment1
VALUES (v_CommentOID, v_ApplicationOID, v_Comments, v_Created, v_UserID);
COMMIT;
ELSE
DBMS_LOB.CreateTemporary(lv_CommentBlob, TRUE, DBMS_LOB.CALL);
DBMS_LOB.CreateTemporary(lv_CommentsBlob, TRUE, DBMS_LOB.CALL);
OPEN Comment1_cur;
FETCH Comment1_cur INTO lv_CommentsBlob;
-- Empty the Comments field of the Comment1 table
IF Comment1_cur%FOUND THEN
DBMS_OUTPUT.PUT_LINE('CHECK POINT 1');
DBMS_LOB.TRIM(lv_CommentsBlob, 0);
DBMS_OUTPUT.PUT_LINE('CHECK POINT 2');
END IF;
OPEN CommentDetail_cur;
LOOP
FETCH CommentDetail_cur INTO lv_CommentBlob;
EXIT WHEN CommentDetail_cur%NOTFOUND;
DBMS_OUTPUT.PUT_LINE('CHECK POINT 3');
DBMS_LOB.APPEND(lv_CommentsBlob, lv_CommentBlob);
DBMS_OUTPUT.PUT_LINE('CHECK POINT 4');
END LOOP;
COMMIT;
CLOSE Comment1_cur;
CLOSE CommentDetail_cur;
END IF;
END SP_Insert_Comment_Detail;Sorry about that, error came from elsewhere...
Thanks anyway
Best regards
Neil. -
DBMS_LOB.CONVERTTOBLOB invalid LOB locator specified: ORA-22275
Hi all,
the following code has been working great on 11g (and apex.oracle.com)
now when I try to use this function under 10g XE
I get following error :
ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275
ORA-06512: at "SYS.DBMS_LOB", line 696
ORA-06512: at "RIGHTSHOP.C2B", line 14line 14 being the line with DBMS_LOB.CONVERTTOBLOB
any ideas ?
CREATE OR REPLACE FUNCTION c2b( p_clob IN CLOB )
RETURN BLOB
is
temp_blob BLOB;
dest_offset NUMBER := 1;
src_offset NUMBER := 1;
amount INTEGER := dbms_lob.lobmaxsize;
blob_csid NUMBER := dbms_lob.default_csid;
lang_ctx INTEGER := dbms_lob.default_lang_ctx;
warning INTEGER;
BEGIN
DBMS_LOB.CREATETEMPORARY(lob_loc=>temp_blob, cache=>TRUE);
DBMS_LOB.CONVERTTOBLOB(temp_blob, p_clob,amount,dest_offset,src_offset,blob_csid,lang_ctx,warning);
return temp_blob;
END;Kr
MartinCan't reproduce
SQL> CREATE OR REPLACE FUNCTION c2b( p_clob IN CLOB )
RETURN BLOB
is
temp_blob BLOB;
dest_offset NUMBER := 1;
src_offset NUMBER := 1;
amount INTEGER := dbms_lob.lobmaxsize;
blob_csid NUMBER := dbms_lob.default_csid;
lang_ctx INTEGER := dbms_lob.default_lang_ctx;
warning INTEGER;
BEGIN
DBMS_LOB.CREATETEMPORARY(lob_loc=>temp_blob, cache=>TRUE);
DBMS_LOB.CONVERTTOBLOB(temp_blob, p_clob,amount,dest_offset,src_offset,blob_csid,lang_ctx,warning);
return temp_blob;
END; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 /
Function created.
SQL> declare
2 b blob;
3 c clob;
4 begin
5 c := 'x';
6 b := c2b (c);
7 end;
8 /
PL/SQL procedure successfully completed.
SQL> and my version (also XE)
SQL> select *
2 from v$version
3 /
BANNER
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production -
DBMS_LOB.ISOPEN throws the error ora-22275 invalid lob locator
DBMS_LOB.ISOPEN throws the error below error.
ora-22275 invalid lob locator
The below assume that i am getting the v_lob_length as empty. But i am getting error when it comes to DBMS_LOB.ISOPEN.
Please correct me if i am wrong.
here is my code:
DBMS_LOB.createtemporary(v_xml_clob, TRUE);
DBMS_LOB.open(v_xml_clob, DBMS_LOB.lob_readwrite);
SELECT DBMS_XMLGEN.getxml ('SELECT object_name, object_type from dba_objects where rownum <= 5')
INTO v_xml_clob
FROM DUAL;
v_lob_length := NVL(DBMS_LOB.getlength(v_xml_clob),0);
v_index := 1;
fnd_file.put_line(fnd_file.log,'v_lob_length : '||v_lob_length);
WHILE v_index <= v_lob_length
LOOP
v_read_cnt := 32767;
DBMS_LOB.read (
v_xml_clob,
v_read_cnt,
v_index,
v_chunk
fnd_file.put(fnd_file.output,v_chunk);
v_index := v_index + v_read_cnt;
END LOOP;
IF DBMS_LOB.ISOPEN(v_xml_clob) = 1
THEN
DBMS_LOB.close(v_xml_clob);
DBMS_LOB.freetemporary(v_xml_clob);
END IF;Most likely v_xml_clob is NULL so you'd rather check IF v_xml_clob IS NOT NULL AND DBMS_LOB.ISOPEN(v_xml_clob) = 1
THENbye
TPD -
ORA-22275 Invalid lob locator when using CLOB from a view
Hi,
I am having problems when passing a CLOB from a "Union all" view to a function. I get an ORA-22275 error when trying to construct an XmlType from the CLOB and
the CLOB originates from a view. If the CLOB originates from a table, eveyting works fine. Here is the code, that reproduces the problem
CREATE TABLE testclob
(field1 CLOB)
-- insert some data
insert into testclob values ('<a/>');
-- Define a clob view over some tables
create or replace view v_testclob
(field1)
as
select field1 from testclob
union all
select field1 from testclob; -- in reallity I use different tables
-- Creat a functions that proceses the CLOB
CREATE OR REPLACE
function MyFunction(v_myClob clob) return VARCHAR2
IS
myXML XMLTYPE;
BEGIN
select xmltype(v_myClob) into myxml from dual; -- the view crashes ** HERE **
-- code ommited
return 'some data';
END;
-- Try to use the function:
-- Selecting from a table works OK
select myfunction(field1) from testclob;
-- Selecting from the view crashes
select myfunction(field1) from v_testclob;
Error: ORA-22275: invalid LOB locator specified ORA-22275: invalid LOB locator specified ORA-06512: at "D_TEST.MYFUNCTION", line 6
-- I using the following version:
select * from v$version;
-- Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
-- PL/SQL Release 9.2.0.1.0 - Production
-- CORE 9.2.0.1.0 Production
-- TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
-- NLSRTL Version 9.2.0.1.0 - Production The only workaround I have found is to use substr
select xmltype(dbms_lob.substr(v_myClob)) into myxml from dual; -- workaround.. but this mght trucnate my data.
What am I doing wrong?
MatejYou need to apply the latest patchset for your version of the database on your version of the operating system:
SQL> CREATE TABLE testclob
2 (field1 CLOB)
3
SQL> /
Table created.
SQL>
SQL> -- insert some data
SQL> insert into testclob values ('<Data>Testing</Data>')
2 /
1 row created.
SQL>
SQL> -- Define a clob view over some tables
SQL>
SQL> create or replace view v_testclob
2 (field1)
3 as
4 select field1 from testclob
5 union all
6 select field1 from testclob
7 /
View created.
SQL>
SQL> -- Creat a functions that proceses the CLOB
SQL>
SQL> CREATE OR REPLACE
2 function MyFunction(v_myClob clob) return VARCHAR2
3 IS
4 myXML XMLTYPE;
5 BEGIN
6
7 select xmltype(v_myClob) into myxml from dual; -- the view crashes ** HERE **
8 -- code ommited
9 return 'some data';
10 END;
11
12 /
Function created.
SQL> -- Try to use the function:
SQL> -- Selecting from a table works OK
SQL> select myfunction(field1) from testclob;
MYFUNCTION(FIELD1)
some data
SQL>
SQL>
SQL> -- Selecting from the view crashes
SQL> select myfunction(field1) from v_testclob;
MYFUNCTION(FIELD1)
some data
some data
SQL> disconnect
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL> -
Error: Invalid configuration for the JMS adapter
Hi!
I'm doing a test with CEP to get messages from a JMS WebLogic queue but I'm getting the following error:
<BEA-2045010> <The application context "Teste" could not be initialized: org.springframework.beans.FatalBeanException: Error in initialization context lifecycle; nested exception is java.lang.IllegalArgumentException: Invalid configuration for the JMS adapter, you must Bean or specify a converter or a type of event.
Teste.context.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.bea.com/ns/wlevs/spring
http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
http://www.oracle.com/ns/ocep/jdbc
http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
http://www.oracle.com/ns/ocep/spatial
http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
<wlevs:event-type-repository>
<wlevs:event-type type-name="Pet">
<wlevs:class>testewithprotobuf.MyPet$Pet</wlevs:class>
</wlevs:event-type>
</wlevs:event-type-repository>
<wlevs:adapter id="pet_messageAdapter" provider="jms-inbound">
<wlevs:listener ref="pet_inputChannel" />
<wlevs:instance-property name="converterBean"
ref="PetMessageConverter" />
</wlevs:adapter>
<wlevs:channel id="pet_inputChannel" event-type="Pet">
<wlevs:listener ref="pet_messageProcessor" />
</wlevs:channel>
<bean id="PetMessageConverter" class="testewithprotobuf.PetMessageConverter" />
<bean id="PetBean" class="testewithprotobuf.PetBean" />
<wlevs:processor id="pet_messageProcessor">
<wlevs:listener ref="pet_outputChannel" />
</wlevs:processor>
<wlevs:channel id="pet_outputChannel" event-type="Pet">
<wlevs:listener ref="PetBean" />
</wlevs:channel>
</beans>
My converter class:
import java.util.Collections;
import java.util.List;
import javax.jms.BytesMessage;
import javax.jms.JMSException;
import javax.jms.Message;
import testewithprotobuf.MyPet.Pet;
import com.bea.wlevs.adapters.jms.api.InboundMessageConverter;
import com.bea.wlevs.adapters.jms.api.MessageConverterException;
import com.google.protobuf.InvalidProtocolBufferException;
public class PetMessageConverter implements InboundMessageConverter {
@SuppressWarnings("rawtypes")
@Override
public List convert(Message message) throws MessageConverterException,
JMSException {
BytesMessage bytesMessage = (BytesMessage) message;
long bodyLen = bytesMessage.getBodyLength();
byte[] buffer = new byte[(int) bodyLen];
bytesMessage.readBytes(buffer);
try {
Pet pet = Pet.parseFrom(buffer);
return Collections.singletonList(pet);
} catch (InvalidProtocolBufferException e) {
throw new MessageConverterException(e);
Please, what's wrong?
Thanks!This error usually indicates that you have both event type and converter bean specified or neither specified. In your case, that doesn't appear to the case from looking at the spring file. Could you also paste the contents of your configuration file from META-INF/wlevs directory?
-
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
I use the procedure to convert the documents if it is not already converted before using procedure as follows
PROCEDURE "STARDOC"."HTMLOUTPUT" (
"DOCID" IN NUMBER) IS
mklob clob;
doccount number;
errorcode number;
errormessage varchar2(200);
BEGIN -- executable part starts here
SELECT COUNT(document_id) INTO doccount FROM docviewhtml where document_id=docid;
--dbms_output.put_line(doccount);
if doccount=0 then
dbms_output.put_line('Document Not Found: Converting '||docid);
--If document is not found run document coversion routine
ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);
COMMIT;
elsif doccount=1 then
--return;
dbms_output.put_line('Document Found');
--if document id found then return the document content
null;
else
--dbms_output.put_line('Error occured');
--need to deal with duplicate documents
null;
end if;
dbms_lob.freetemporary(mklob);
EXCEPTION
--rollback when an exception occurs
WHEN OTHERS THEN
errorcode:=SQLCODE;
errormessage:=SQLERRM;
dbms_output.put_line(sqlcode || ':' ||sqlerrm);
ROLLBACK;
LOGERROR(errorcode,errormessage);
END "HTMLOUTPUT";
i get the error when i convert large documents
"ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275"
what is wrong. please help!"ORA-06502: PL/SQL: numeric or value error: invalid
LOB locator specified: ORA-22275"
PROCEDURE "STARDOC"."HTMLOUTPUT" (
"DOCID" IN NUMBER) IS
mklob clob;
ctx_doc.filter('idxdocuments',docid, mklob,FALSE);
INSERT INTO docviewhtml(document_id, html) VALUES (docid, mklob);I think You forget to initialize variable mklob.
You can do it, assigning the empty_clob(). -
Invalid configuration for catalog/Web dispatcher (Fiori Smart Business Cockpit)
Hi all,
For our smart business cockpits, we have following issue in our administration (launchpad):
Invalid configuration for catalog/Web dispatcher
Title
SAP: KPI Catalog for SAP Smart Business
ID
X-SAP-REMOTE:SAP_KPIFRW_TC_R
Remote ID
HANA_CATALOG
System alias
HANA
Base URL
/sap/hba/apps/kpi/s/odata/hana_chip_catalog.xsodata/
Type
REMOTE
When I check our console client, the only error that we see is following message:
2014-08-04 14:33:16 Base URL '/sap/hba/apps/kpi/s/odata/hana_chip_catalog.xsodata' already registered - sap.ui2.srvc.Factory
Does someone already saw this issue before? I noticed that we only have those issues on REMOTE CATALOGS.
Thx!
Regards,
Hans
Tags edited by: Michael ApplebyUse SAP_KPIFRW_TC_R role (I think you already did).
(https://<WEBDISPhostname>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-client=xxx&sap-language=EN#/Catalog/X-SAP-REMOTE:SAP_KPIFRW_TC_R)
However, to be able to access this catalog, the HANA user needs the role sap.hba.apps.kpi.s.roles::SAP_SMART_BUSINESS_RUNTIME
If the user has to model KPIs, they need sap.hba.apps.kpi.s.roles::SAP_SMART_BUSINESS_MODELER.
Regards,
Kiran -
We have a single user that is experiencing an error when attempting to open Project Pro 2010 with the default PROD connection to Project Server 2010. The error is an invalid cache location. I have seen another unanswered post regarding this issue
and wanted to try a new post to see if any help is available.
Thank you -
lbrHi LBR21,
Check in the file/options/save menu that the cache location is something like :
C:\Users\userid\AppData\Roaming\Microsoft\MS Project\14\Cache
Then try
this procedure to repair the cache.
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Org.hibernate.MappingException: invalid configuration in hibernate
hi,
i am new to hibernate.
while i am executing small program, below error occur.
what can i do to solve this problem, plz help me.
Error Code
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Exception occur:invalid configuration
org.hibernate.MappingException: invalid configuration+
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1493)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1434)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1420)
at FirstExample.main(FirstExample.java:12)
Caused by: org.xml.sax.SAXParseException: Document is invalid: no grammar found.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1490)
... 3 more
Exception in thread "main" java.lang.NullPointerException
at FirstExample.main(FirstExample.java:26)Thank u .
I did all configuration properly by some guideline.
But i got new error in my program.
please reply me.
This is my program
*{color:#3366ff}Test.java{color}*
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import event.Sample;
public class Test {
public static void main(String a[])throws HibernateException
Session session=null;
try
SessionFactory sessionFactory=new Configuration().configure().buildSessionFactory();
session=sessionFactory.openSession();
System.out.println("Insert record ");
Sample s=new Sample();
s.setId(3);
s.setName("Sundar");
session.save(s);
System.out.println("Sucessfully Saved");
}catch(Exception e)
System.out.println("Exception occur:"+e.getMessage());
e.printStackTrace();
}finally
session.flush();
session.close();
*{color:#3366ff}Java Bean Sample.java{color}*
package event;
public class Sample {
private int id;
private String name;
public int getId() {
return id;
public void setId(int id) {
this.id = id;
public String getName() {
return name;
public void setName(String name) {
this.name = name;
*{color:#3366ff}{color:#ff0000}hibernate.cfg.xml file{color}*
*<?xml version="1.0" encoding="utf-8"?>*
*<!DOCTYPE hibernate-configuration PUBLIC*
*"-//Hibernate/Hibernate Configuration DTD 3.0//EN"*
*"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">*
*<hibernate-configuration>*
* <session-factory>*
* <!-- local connection properties -->*
* <property name="hibernate.connection.url">*
* jdbc:mysql://localhost:3306/test*
* </property>*
* <property name="hibernate.connection.driver_class">*
* com.mysql.jdbc.Driver*
* </property>*
* <property name="hibernate.connection.username">root</property>*
* <property name="hibernate.connection.password">server</property>*
* <!-- property name="hibernate.connection.pool_size"></property -->*
* <!-- dialect for MySQL -->*
* <property name="dialect">*
* org.hibernate.dialect.MySQLDialect*
* </property>*
* <property name="hibernate.show_sql">false</property>*
* <property name="hibernate.transaction.factory_class">*
* org.hibernate.transaction.JDBCTransactionFactory*
* </property>*
* <mapping resource="event/Sample.hbm.xml" />*
* </session-factory>*
*</hibernate-configuration>*
*{color:#ff0000}{color:#000000}Sample.hbm.xml file{color}*
*<?xml version="1.0" encoding="utf-8"?>*
*<!DOCTYPE hibernate-mapping PUBLIC*
* "-//Hibernate/Hibernate Mapping DTD//EN"*
* "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >*
*<hibernate-mapping package="event">*
* <class name="Sample" table="sample" >*
* <meta attribute="sync-DAO">true</meta>*
* <property name="Id" column="id" type="integer" not-null="false" length="11" />*
* <property name="Name" column="name" type="string" not-null="false" length="50" />*
* </class>*
*</hibernate-mapping>*
*{color}{color}*
*{color:#3366ff}
This is my error.{color}*
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
Exception occur:Could not parse mapping document from resource event/Sample.hbm.xml
org.hibernate.InvalidMappingException: Could not parse mapping document from resource event/Sample.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:575)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1593)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1561)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1540)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1514)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1434)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1420)
at Test.main(Test.java:15)
Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from invalid mapping
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:508)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:572)
... 7 more
Caused by: org.xml.sax.SAXParseException: The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,resultset*,(query|sql-query)*)".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:505)
... 8 more
Exception in thread "main" java.lang.NullPointerException
at Test.main(Test.java:29) -
Use module configuration location
Hi,
i tried in the configuration of a sql loader mapping the "Use module configuration location" option for the location of the control file. The problem is that i can select that value but it's not possibile to check. I can only select a location from the combo box.
Is there a particular configuration for this choice?
Thanks,
LucaYes, I can view and modify all the locations. The "problem" is that with OWB 11 I don't know how to set a default location for a module (I think that every mapping can use the default value). In OWB 10 I must not define a location for control files (there was a default value).
Any ideas?
Thanks,
Luca
Maybe you are looking for
-
Creating a new "Link to a Document" opens Word document or upload document dialog - plus more!
The Link to Document content type seems to be corrupted at root. When I attempt to create a new Link, either Word opens with a blank document or the "Upload" document dialog opens. It's been changing as I investigate. One things I've noticed is that
-
Why doesn't my audio output work?
Hi everyone - my macbook pro speakers don't work. I've looked at other posts and tried plugging the headphones in and out. When I play with them a few times, the sound comes back for a split second and then goes away. Any advice for fixing? Thanks
-
Unable to update firmware in my Acrobat X standard
I've purchase my Acrobat X standard from your web site and downloaded it onto my computer. After installing the software, it requested that i update my software. i tried downloading the software but everytime after downloading, a error message came u
-
Good .rm to .mp4 converter?
I have some Real pLayer movie files, whats a good, free converter that I can DL to make them good iPod quality .mp4 videos?
-
Transferring iMovie project from Intel Mac to g5
I have been working on my Intel Macbook Pro since I travel quite abit, but I want to be able to transfer everything back onto my G5 and continue working and adding transitions, effects, etc. since Intel doesn't support GeeThree effects currently. I h