Problem in loading multiple textures
hi guys
i need some help form you in loading *.obj files into my scene. when i load a building into my scene only the white building is loading without any textures. when i tried to load a texture for eg: green...the whole building is in green color. i have some *.mtl files in the same folder but i dont know how to use them.
here is code :
ObjectFile file1 = new ObjectFile (ObjectFile.RESIZE);
Scene scene1 = null;
Scene scene2 = null;
scene2 = file1.load("model/street lamps/Lamp_Post_Ornate.OBJ");
tg_lamp.addChild(scene2.getSceneGroup());
Appearance appear_lamp=new Appearance();
TextureLoader loader_lamp = new TextureLoader("texture/building.png", this);
appear_lamp.setTexture(loader_lamp.getTexture());
BranchGroup branchGroup1 = scene2.getSceneGroup();
shape = (Shape3D) branchGroup1.getChild(0);
shape.setAppearance(appear_lamp);
obj_bg.addChild(tg_lamp);
hi venkat,
any way there is some problem with the models download from the net, now i have milkshape3d. i changed some textures and lights. and i export them to obj and mtl file.
i am developing a car game using javaRmi and java3d. almost my game is completed .(without graphical collisionw). i hva to submit on 21st to the collage.(its my final sem project).
when i load buildings ,,i got __heap memory issues__
so i want to add some gif files... will u please tell me where can i get them. and how to solve these heap memory problems
regards
satish
Similar Messages
-
Problem in Loading Multiple image in Single Sprite/MovieClip
Hi All,
I am having a killing problem in loading multiple images in single movie clip/sprite using a separate class.
Here is the ImageLoader.as class
package com.project.utils{
import com.project.*;
import com.project.utils.*;
import flash.events.EventDispatcher;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.display.Loader;
import flash.events.IOErrorEvent;
import flash.net.URLLoader;
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.display.Bitmap;
public class ImageLoader extends EventDispatcher {
public var imgloader:Loader;
public var imgMc:MovieClip;
public var imgObject:Object;
public var loaded:Number;
public function ImageLoader():void {
imgMc = new MovieClip();
imgObject = new Object();
imgloader = new Loader();
public function loadImage(imgHolder:MovieClip, imgObj:Object):void {
imgMc = new MovieClip();
imgObject = new Object();
imgloader = new Loader();
imgMc = imgHolder;
imgObject = imgObj;
imgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoad);
imgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onImgLoadProgress);
imgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,onImageLoadFailed);
imgloader.load(new URLRequest(imgObj.FilePath));
private function onImgLoad(Evt:Event):void {
var image:Bitmap = Bitmap(Evt.target.content);
try {
imgMc.removeChildAt(0);
} catch (error:Error) {
imgMc.addChild(image);
try {
if (imgObject.URL != undefined) {
imgMc.buttonMode = true;
imgMc.removeEventListener(MouseEvent.CLICK, onImageClicked);
imgMc.addEventListener(MouseEvent.CLICK, onImageClicked);
} catch (err:Error) {
dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD"));
private function onImageClicked(evt:MouseEvent):void {
trace("Image Attrs:"+imgObject.URL +" Target "+imgObject.Target);
private function onImgLoadProgress(Evt:ProgressEvent):void {
if (Evt.bytesLoaded>0) {
loaded = Math.floor((Evt.bytesLoaded*100)/Evt.bytesTotal);
dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_PROC",loaded));
private function onImageLoadFailed(Evt:IOErrorEvent):void {
trace("Image Loading Failed");
dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_FAIL"));
Here I am loading some images using the above class in a for loop, like
for (var i=0; i < 3; i++) {
//imgLoader=new ImageLoader;
imgLoader.addEventListener("CustomEvent.ON_IMGE_LOAD",onImageLoad);
var target:MovieClip=videolist_mc["list" + mcCount + "_mc"];
target.list_mc.visible=false;
var imgObj:Object=new Object;
imgObj.FilePath=list[i].Thumbnail;
imgObj.Url=list[i].Url;
imgObj.Target=list[i].Target;
target.list_mc.urlObj=new Object ;
target.list_mc.urlObj=imgObj;
imgLoader.loadImage(target.list_mc.imgholder_mc,imgObj);
target.list_mc.lable_txt.htmlText="<b>" + list[i].Label + "</b>";
target.list_mc.imgholder_mc.buttonMode=true;
target.list_mc.imgholder_mc.addEventListener(MouseEvent.CLICK,onItemPressed);
mcCount++;
In this case, the ImageLoader.as works only on the last movie clip from the for loop. For example, if i am trying to load three image in three movie clips namely img_mc1,img_mc2 and img_mc3 using the for loop and ImageLoader.as, I am getting the image loaded in the third movie clip only img_mc.
See at the same time, If i uncomment onething in the for loop that is
//imgLoader=new ImageLoader;
its working like a charm. But I know creating class objects in a for loop is not a good idea and also its causes some other problems in my application.
So, help to get rid out of this problem.
Thanks
-Varunpackage com.project.utils{
import com.project.*;
import com.project.utils.*;
import flash.events.EventDispatcher;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.display.Loader;
import flash.events.IOErrorEvent;
import flash.net.URLLoader;
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.display.Bitmap;
public class ImageLoader extends EventDispatcher {
public var imgloader:Loader;
public var imgMc:MovieClip;
public var imgObject:Object;
public var loaded:Number;
public function ImageLoader():void {
// better add you movieclip to the stage if you want to view anything added to it.
imgMc = new MovieClip();
imgObject = new Object();
imgloader = new Loader();
public function loadImage(filepath:String):void {
imgloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onImgLoad);
imgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onImgLoadPr ogress);
imgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,onImageLoadF ailed);
imgloader.load(new URLRequest(filepath));
private function onImgLoad(Evt:Event):void {
var image:Bitmap = Bitmap(Evt.target.content);
try {
imgMc.removeChildAt(0);
} catch (error:Error) {
imgMc.addChild(image);
try {
if (imgObject.URL != undefined) {
imgMc.buttonMode = true;
imgMc.removeEventListener(MouseEvent.CLICK, onImageClicked);
imgMc.addEventListener(MouseEvent.CLICK, onImageClicked);
} catch (err:Error) {
dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD"));
private function onImageClicked(evt:MouseEvent):void {
trace("Image Attrs:"+imgObject.URL +" Target "+imgObject.Target);
private function onImgLoadProgress(Evt:ProgressEvent):void {
if (Evt.bytesLoaded>0) {
loaded = Math.floor((Evt.bytesLoaded*100)/Evt.bytesTotal);
dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_PROC",loaded));
private function onImageLoadFailed(Evt:IOErrorEvent):void {
trace("Image Loading Failed");
dispatchEvent(new CustomEvent("CustomEvent.ON_IMGE_LOAD_FAIL"));
Here I am loading some images using the above class in a for loop, like
for (var i=0; i < 3; i++) {
var imgLoader:ImageLoader=new ImageLoader();
imgLoader.addEventListener("CustomEvent.ON_IMGE_LOAD",onImageLoad);
var target:MovieClip=videolist_mc["list" + mcCount + "_mc"];
target.list_mc.visible=false;
var imgObj:Object=new Object;
imgObj.FilePath=list[i].Thumbnail;
imgObj.Url=list[i].Url;
imgObj.Target=list[i].Target;
target.list_mc.urlObj=new Object ;
target.list_mc.urlObj=imgObj;
imgLoader.loadImage(pass the image file's path/name);
target.list_mc.lable_txt.htmlText="<b>" + list[i].Label + "</b>";
target.list_mc.imgholder_mc.buttonMode=true;
target.list_mc.imgholder_mc.addEventListener(MouseEvent.CLICK,onItemPressed);
mcCount++; -
Problem in loading multiple lev1 and multiple lev2 WBS elements in projects
Hi guys,
I've a requirement to load (from file) projects with multiple level 1 and multiple level 2 WBS elements. I'm using CJ01 recording to load projects in step 1 and it loads all the projects successfully.
Next I need to load WBS elements of level 1 & level 2 under each projects and also level 1 & level 2 must be linked correctly. Now in this step what I'm doing is that am doing the CJ02 recording to load WBS elements (irrespective of levels) under each projects. But as in the data file, the sequence of WBS records are not guarranteed to be in the exact sequence of hierarchy of WBS elements, what's happening is that though WBS elements are getting loaded successfully, but level 1 & 2 are not getting linked to each other correctly. So the hierarchy is broken. Please help how to resolve this issue like how to design the LSMW correctly.
Alternatively we can use CJ20N for loading the correct hierarchy but here we need to select correct project/level 1/leve2 etc which is difficult in case if a project doesn't have level 2 or level 1.
Please suggest the easiest design.
Cheers guys.Hi,
You have to use levels in recording.
I think using CJ01 only you can upload all the projects with hierarchy.
Just arrange the file records accordingly;
Level 1----
WBSE 1
Level 2----
WBSE 1.1
Level 2----
WBSE 1.2
Level 2----
WBSE 1.3
Level 1----
WBSE 2
Level 2----
WBSE 2.1
Level 2----
WBSE 2.2
Level 2----
WBSE 2.3
Now, hierarchy will be correct.
Regards,
Harsh. -
Hello folks...
I have some serious problem with loading multiple swfs in a
swfLoader whithin an application...
The problem is that... every time I load another swf in a
swfloader,
the memory that the Internet Explorer uses justs keeps going
up and up
and one time (maybe after 15 - 20 minutes) it just crashes...
To be more specific, my application loads a new swf in a
regular basis (every 30 seconds)
to make it like a slideshow...
and it also has fonts embedded in it
yet to minimize the total memory used by this application,
I've did somthing like this...
var sys:SystemManager = contentLoader.content as
SystemManager;
if (sys && sys.numChildren>0) {
sys.removeChildAt(0);
contentLoader.content.loaderInfo.loader.unload();
contentLoader.source= DisplayManager.convertToAppSWFName (
subAppID );
and every application has an removedEventHandler which
listens to removed Event,
and removes all listeners registered to it when it is removed
from this display list..
So I'm very curious why the memory usages just keeps
rising...
If you have any hints, they'd be greatly appreciated...
Thanks in advance!!!!Loading external swf containing code (even a single stop() !) is not allowed on iOS...
-
Loading Multiple excel sheets in to different tables in a DB
Hi All,
I have problem in loading multiple excel sheets data in to according to that excelsheets tables in a DB.
All the excel sheets are in a folder,from that folder i have to acces all excel sheets.
For this i am unsing script task and one dataflow task.
But the error is coming in script task i am not able to put the path in the script..
Is this the correct way to do like this? Or any other way?
Can u please tell me the solution for this..Thanks in advance who are responding to this mail...
Maruthi..Hi Vipin,
Here you go with this requirement
How to Load Multiple Sheets From Multiple Excel Files to Different Tables in SSIS Package?
ttps://www.youtube.com/watch?v=1WXKpkwjhX8&feature=youtu.be
I have other videos as well where you want to load all the sheets from file/s to same table
https://www.youtube.com/watch?v=F3sYO-S9icc&feature=youtu.be
Check out the last links on below links all related to Excel
http://sqlage.blogspot.com/search/label/SSIS%20Videos
How to Create Excel file with Date-time on Each Package Execution in SSIS Package?
How to Load Multiple Sheets to a SQL Server Table in SSIS Package?
How to Load Data Excel File to SQL Server Table and Solve Data Conversion Issues?
How to Load Multiple Sheets From Multiple Excel Files to Different Tables in SSIS Package?
How to Load Data to Pre-Formatted Excel Sheet (Excel Report) in SSIS Package?
All the best!
http://sqlage.blogspot.com/ -
Hi helpers !@
im trying to load multiple external png files from a folder. the path for the images comes from an xml attribute and i got no problem with the path. The error message pops on when i try to add the loader into an array for later use and then when im done remove each child i created. There is something in my pratice that is not ok , i meen i know im wrong with at some point ! Duh theres an Error message for each loader i create .. .
ReferenceError: Error #1069: Property Loader not found on flash.display.LoaderInfo and there is no default value.
here some code , pls guide me !
function affichageM(){
var nodeM:XML;
for each ( nodeM in listeM ){
var reqM:String = localLogoM + nodeM.attribute("icon_max2");
var imageLoaderJ = new Loader();
imageLoaderJ.contentLoaderInfo.addEventListener(Event.INIT,addM);
imageLoaderJ.load(new URLRequest(reqM));
// just counting for fun
iNodeM ++;
function addM(e:Event){
try { var l_img:Loader = Loader(e.currentTarget.Loader);
l_img.name = "imageLoaderJ" + mc_ArrayImg.length().toString() ;
l_img.visible = false;
mc_ArrayImg.push(l_img);
mc_Jour.addChild(l_img);
//calling the fucntion that will animate all img in the array and had some text to them.....
drawMyImg(mc_ArrayMImg.length()-1);
catch (error:Error) {
//just counting errors for fun
iErreurM++;
var errorMessage:TextField = new TextField();
errorMessage.autoSize = TextFieldAutoSize.LEFT;
errorMessage.textColor = 0xFF0000;
errorMessage.text = error.message + " " + mc_Jour.numChildren + " " + mc_ArrayImg.length;
errorMessage.x = 10*iErreurM;
addChild(errorMessage);
return;Hi, I'm not sure you are on the correct forum. This is the Flash Player forum. When you first open your thread, look to your right "More like This" and perhaps one of those forums would be helpful. Perhaps the Flash forum?
Thanks,
eidnolb -
I am having problems loading sampler patches into the exs24 sampler, when i got into edit menu and load multiple samples all the samples r greyed out and i cannot slect them, any help with this would be much appreciated
It is very difficult to offer troubleshooting suggestions when the "os version" you are using is unknown as each os has their own troubleshooting solutions.
How large is your hard drive and how much hard drive space do you have left? -
AIR 3.7 Problem Loading Multiple Similar SWFs On iOS
I'm running into an issue with loading multiple SWFs using AIR 3.7 on iOS. The exact same code works fine on Android.
The issue is that if I include 2 specific SWFs then neither of them will load correctly. When I include just one of the SWFs it works great. I've also tried including a second SWF which is pretty much empty and that also works. Additionally, I've been able to load a MovieClip out of the first SWF IF addChild() was first used on myswf1 and that works even when the main SWF did not. Lastly if I include 2 of the exact same SWFs (with different filenames) that also works.
So my question is what is it about the two SWFs that causes it not to work? They are effectively the same except each has custom assets and custom class naming.
Both of them subclass off one main class like this:
class myswf1 extends mymain
class mymain extends MovieClip
class myswf2 extends mymain
class mymain extends MovieClip
So both SWFs contain mymain seperately from each other. Could that be the issue? Like when it compiles all the code into the package SWF the
two mymain root classes clash?
In the past it seems like that should still work it just uses the first loaded class and that is it.
The errors that I get seem to happen on lines like this:
selectableHudOptions.bonustime.mouseEnabled = false;
Where selectableHudOptions.bonustime is basically null. However, when I just have 1 SWF this line works fine. If I loop through selectableHudOptions's children it is blank when I am loading the two SWFs but it shows all of the children when just loading the one SWF.
Another theory I have about it is that it seems like addChild() has to be used on the objects and frames have to go by before the children are visible. Like addChild() is being delayed somehow because of the multiple SWFs. Or addChild() is behaving asyncronously and my code is running syncronously.
I think Nimisha from Adobe has worked on these multiple SWF issues before.Yes, duplicate symbol conflict looks like the cause of your issue.
This is a known issue in AOT mode. For now, could you please try renaming mymain to something else when using it in the second swf?
Or you may place mymain into separate swc, and link one of your swfs with "merged into code" option, while the other one "externally", so that only one of the swfs has mymain defined and there is no clash.
Please do let us know if either of the solutions work for you. -
Texture:illegal image size problem with loading texture
i have used the method of loading an texture into a scene as shown in chapter 7 of java 3d tutorials. My image size is of the power 2. But why am i still getting the illegal image size error, pleeeeaaaase help, i will be greatful for any suggestions thank you. i have pasted the source code for the method of loading a texture below
Thank you
BranchGroup scene= new BranchGroup();
QuadArray plane = new QuadArray(4,GeometryArray.COORDINATES|GeometryArray.TEXTURE_COORDINATE_2);
Point3f p = new Point3f();
p.set(-1.0f,1.0f,0.0f);
plane.setCoordinate(0,p);
p.set(-1.0f,-1.0f,0.0f);
plane.setCoordinate(1,p);
p.set(1.0f,-1.0f,0.0f);
plane.setCoordinate(2,p);
p.set(1.0f,1.0f,0.0f);
plane.setCoordinate(3,p);
TexCoord2f q = new TexCoord2f();
q.set(0.0f,1.0f);
plane.setTextureCoordinate(0,0,q);
q.set(0.0f,0.0f);
plane.setTextureCoordinate(0,1,q);
q.set(1.0f,0.0f);
plane.setTextureCoordinate(0,2,q);
q.set(1.0f,1.0f);
plane.setTextureCoordinate(0,3,q);
TextureLoader loader = new TextureLoader("C:\\Documents and Settings\\Ozcan\\Desktop\\Java 3d\\examples\\texture\\brick.GIF",this);
ImageComponent2D image = loader.getImage();
Texture2D texture = new Texture2D();
texture.setImage(0,image);
Appearance appearance = new Appearance();
appearance.setTexture(texture);
Shape3D shape = new Shape3D(plane,appearance);
scene.addChild(shape);
return scene;GridBagLayout will make arrangements to display the JPanel at the size its layout manager says that it needs. To help the JPanels layout manager we can let it know that we need extra space to show the rendered image.
class tt extends JPanel{
Image pic1;
tt(){
public void paintComponent(Graphics comp){
public Dimension getPreferredSize() {
return new Dimension(pic1.getWidth(this), pic1.getHeight(this));
} -
Unable to load multiple files to Essbase using MaxL and wildcards
I have multiple data files to load:
Files:
Filename.txt
Filename_1.txt
Filename_2.txt
According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
However, when I try to run the following I receive the following error:
MaxL:
import database MyApp.DB data from server text data_file "../../MyApp/Filename*.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
Error:
ERROR - 1003027 - Unable to open file [DB01/oracleEPM/user_projects/epmsystem2/EssbaseServer/essbaseserver1/app/MyApp/DB/../../Filename*.txt].
ERROR - 1241101 - Unexpected Essbase error 1003027.
I can run the following fine without any problem, but this only deals with the first of several files, and I’d rather not hard-code multiple files since the number might vary in the future:
MaxL:
import database MyApp.DB data from server text data_file "../../MyApp/Filename.txt" using server rules_file "L_MyRule" on error append to "\\Server\Folder\L_MyRule.err";
Any ideas? And how about ASO databases?JamesD wrote:
According to the following link, Essbase is able to load multiple files to BSO databases via MaxL by using wildcards:
http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?launch.html
That is the tech ref for 11.1.2.2, are you on 11.1.2.2?
Import Data
11.1.2.2 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?maxl_imp_data.html
11.1.2.1 - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref_1112100/frameset.htm?maxl_imp_data.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Load multiple files using the same data load location
has anybody tried loading multiple files using the same load locations. I need to do this as the data in these multiple files will need to be exported from FDM as a single export file. the problem i am facing is more user related. since these files will be received at different points of time, users will need a way to tell them what has been loaded and what is yet to be loaded.
is it possible to throw a window on the web broser with OK and Cancel buttons from an event script?
any pointers to possible solutions will be helpfulwas able to resolve this. the implementation method is as follows
take a back up of previously imported data in the befcleardata event script. then in the beffileimport event append the data to the import file. there are many other intricacies but this is the broad implementation logic. it allowed my users to load multiple files without worrying about append or replace import type choices -
After I updated firefox to 6.0 today firefox has developed a problem loading multiple tabs. When I try to load 10+ tabs, either at the same time or by opening each tab separately, each tab is stuck trying to connect to the desired page. This continues if I close all the tabs and try to load a single page, the single page is unable to get pass connecting. In order to load a new page when this situation arises I must close down firefox and start again, and the program has no history of the previous session.
Other solutions
* https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_other-solutions
Do a MALWARE check with these Malware Scanning programs. You need to scan with all programs because each program detects different malware. Make sure that you UPDATE each program to get the latest version of their databases before doing a scan.
* Malwarebytes' Anti-Malware - http://www.malwarebytes.org/mbam.php
* SuperAntispyware - http://www.superantispyware.com/
* Windows Defender Home Page -
http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
* Spybot Search & Destroy - http://www.safer-networking.org/en/index.html
* Ad-Aware Free - http://www.lavasoft.com/products/ad_aware_free.php
There are also specialized forums for Malware Removal such as those listed below, where you might be able to get more help:
* Bleeping Computer Forums - http://www.bleepingcomputer.com/forums/
* Spyware Warrior Forums - http://www.spywarewarrior.com/index.php
* SWI Forums - http://www.spywareinfoforum.com/
Check and tell if its working. -
How to load multiple CSV files into oracle in one go.
Hi,
I have project requirement like: I'll be getting one csv file as one record for the source table.
So i need to know is there any way by which I can load multiple csv in one go. I have searched a lot on net about external table.(but problem is I can only use one consolidate csv at a time)
and UTL_FILE same thing consolidate file is required here to load.
but in my scenario I'll have (1000+) csv files(as records) for the table and it'd be hectic thing to open each csv file,copy the record in it and paste in other file to make consolidate one.
Please help me ..it's very new thing for me...I have used external table for , one csv file in past but here I have to user many file.
Table description given below.
desc td_region_position
POSITION_KEY NUMBER Primary key
POSITION_NAME VARCHAR2(20)
CHANNEL VARCHAR2(20)
LEVEL VARCHAR2(20)
IS_PARTNER CHAR(1)
MARKET_CODE VARCHAR2(20)
CSV file example:
POSITION_KEY|POSITION_NAME|CHANNEL|LEVEL|IS_PARTNER|MARKET_CODE
123002$$FLSM$$Sales$$Middle$$Y$$MDM2203
delimeter is -- $$my database version as follows:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
"CORE 10.2.0.5.0 Production"
TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
NLSRTL Version 10.2.0.5.0 - ProductionEdited by: 974253 on Dec 10, 2012 9:58 AMif your csv files have some mask, say "mask*.csv" or by file "mask1.csv" and "mask2.csv" and ...
you can create this.bat file
FOR %%c in (C:\tmp\loader\mask*.csv) DO (
c:\oracle\db\dbhome_1\BIN\sqlldr <user>@<sid>l/<password> control=C:\tmp\loader\loader.ctl data=%%c
)and C:\tmp\loader\loader.ctl is
OPTIONS (ERRORS=0,SKIP=1)
LOAD DATA
APPEND
INTO TABLE scott.td_region_position
FIELDS TERMINATED BY '$$' TRAILING NULLCOLS
( POSITION_KEY,
POSITION_NAME ,
CHANNEL,
LVL,
IS_PARTNER,
MARKET_CODE
)test
C:\Documents and Settings\and>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 10 11:03:47 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from td_region_position;
no rows selected
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Documents and Settings\and>cd C:\tmp\loader
C:\tmp\loader>dir
Volume in drive C has no label.
Volume Serial Number is F87F-9154
Directory of C:\tmp\loader
12/10/2012 10:51 AM <DIR> .
12/10/2012 10:51 AM <DIR> ..
12/10/2012 10:55 AM 226 loader.ctl
12/10/2012 10:38 AM 104 mask1.csv
12/10/2012 10:39 AM 108 mask2.csv
12/10/2012 10:57 AM 151 this.bat
4 File(s) 589 bytes
2 Dir(s) 4,523,450,368 bytes free
C:\tmp\loader>this.bat
C:\tmp\loader>FOR %c in (C:\tmp\loader\mask*.csv) DO (c:\oracle\db\dbhome_1\BIN\
sqlldr user@orcl/password control=C:\tmp\loader\loader.ctl data=%c )
C:\tmp\loader>(c:\oracle\db\dbhome_1\BIN\sqlldr user@orcl/password control=C
:\tmp\loader\loader.ctl data=C:\tmp\loader\mask1.csv )
SQL*Loader: Release 11.2.0.1.0 - Production on Mon Dec 10 11:04:27 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Commit point reached - logical record count 1
C:\tmp\loader>(c:\oracle\db\dbhome_1\BIN\sqlldr user@orcl/password control=C
:\tmp\loader\loader.ctl data=C:\tmp\loader\mask2.csv )
SQL*Loader: Release 11.2.0.1.0 - Production on Mon Dec 10 11:04:28 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Commit point reached - logical record count 1
C:\tmp\loader>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 10 11:04:46 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from td_region_position;
POSITION_KEY POSITION_NAME CHANNEL LVL I
MARKET_CODE
123002 FLSM Sales Middle Y
MDM2203
123003 FLSM1 Sa2les M2iddle Y
MDM22203
SQL> -
Problem in loading few jsp files
Hi,
I am facing problem in loading very few jsp pages. The situation is something like this.
Server: WebSphere
I have a top frame and bottom frame.
When the user keep on clicking the same link in the top frame, not giving time to get loaded in bottom frame,
on the server the error "Servlet Error: Connection reset by peer: socket write error: java.net.SocketException: Connection reset by peer: socket write error" was coming.
My bother is not on the server-side. but on the client side.
On the client side, the html of two requests are getting overlapped and displaying(see at the end for sample output of html). In this HTML, if you observe, you can find the line "Error 500: Connection reset by peer: socket write error
". Above to this is the half-content of the previous request and bellow is the actual page need to be loaded. And the output was a merge of actual page with the code of the previous request.
Is it the problem of Websphere or coding?
Can you help me resolving this problem?
thanks
naveen
Output HTML (for example):
Contract Name:</td>
<td class="Label" ><input type="text" id="contractName"
size="25" maxlength = "100"></td>
<td class="Label" >Owner:</td>
<td class="Label" colspan="2"><select id="owner" class="Label"
size="1" style="WIDTH:200px">
<option value="_______________">_____________</option>
</select></td>
</td>
Error 500: Connection reset by peer: socket write error
<html>
<head>
<title> welcome </title>
<link rel="STYLESHEET" type="text/css" href="Scripts/SSheet.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- This .js script files contains all components, which is used -->
.... and so on
</html>Hi
I have Observed that "java.net.SocketException: Connection reset by peer" is caused due to manual malfunction performed by the user in the browser like sending multiple request to the server stopping, moving forward, moving backward when a request is placed to the server and waiting for it to get it done.
More clearly if the User Selected an option from the browser and send a request to the server and followed by sending another request immediately to the server and by this time Server is processed the first request and is started writing the result to the JSP/Browser (Same client), by this time the 2nd reqest from the same Browser/Client is interrupted the first one and ohhhhhhh..... problem , you got an error "java.net.SocketException: Connection reset by peer".
If any one could figure out more Please update me too appreciate !
[email protected]
Sr. Software Architect -
Add multiple textures to a collada object
Hi,
I am trying to add textures and materials to a collada object. My problem is, that the collada-type only has one property for textures as a "string".
I need to know whether it is possible to add multiple texture files to a single collada object and - if it is - how to add them.
Thanks and regards,
MarcHello Marc,
in the backend the VBI application object has a method GET_INITIAL_ZIP_ARCHIVE. This method returns a Base64 encoded ZIP archive including an XML file and all required resources, e.g. DAE-Files. This ZIP archive needs also to include the Texture with the right path relative to the DAE-Files.
When calling this method you can specify additional resources to be added to the archive via table IT_ADDITIONAL_RESOURCES. This table holds resource entries with a name and the binary content. I checked it and you can just add the path to the name:
- Texture.jpg will be in the root of the ZIP archive
- Image/Texture.jpg will create a sub folder Image and place the texture there
Best regards,
Uwe
Maybe you are looking for
-
Hello guys, Can you kindly let me know if there is any FM to create a PO after the PR is created. Thanks.
-
Binding Error when creating a new publication
Hi i am fairly new to replication. My situation is that I dropped replication using the script that was generated from the publication. When I go through the publication wizard I get a error message on the first page 'New publication Wizard encounter
-
Upgrade to Mountain Lion OSX 10.8
Hi, Im currently running 10.7.5 mountain lion Macbook Pro and i wanted to upgrade to Mountain Lion 10.8. But how do i do that? When I search in appstore it's not in there. The only OSx i see is Yosemite (which btw i heard that it got issues). Where c
-
I just want to share music with other computers but the status bar is not popping up. The other libraries are but I can't do anything with their media and vice versa.
-
When I first create a WD ABAP application, a service (as seen in SICF) is created. However, if I delete the service in SICF, how do I recreate it. I have tried to re-activate the WD component and all its parts, but I do not see it in SICF again. Oddl