Coder Social home page Coder Social logo

Comments (8)

ShockwaveNN avatar ShockwaveNN commented on June 4, 2024

This is correct behavior. Compiled DocumentServer do not include any frontend for storing files

You should setup it separate from this repo:
https://github.com/ONLYOFFICE/document-server-integration/

Better use nodejs example, since it's most feature reach

from build_tools.

1205469665 avatar 1205469665 commented on June 4, 2024

Hello, excuse me, Java is used for document-server-integration/ access
image
[2021-08-23T14:16:09.374] [ERROR] nodeJS - error downloadFile:url=http://172.16.30.7:8080/OnlineEditorsExampleJava_war_exploded/app_data/172.16.30.7/new%20%281%29.docx;attempt=3;code:null;connect:null;(id=-1663177208)
Error: Error response: statusCode:404 ;body:
<!doctype html><title>HTTP status 404 - Not found</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

HTTP status 404 - Not found


Type Status report

Message
The requested resource [/OnlineEditorsExampleJava_war_exploded/app_data/172.16.30.7/new%20%281%29.docx] unavailable < / p > < p > < b > description < / b >
The source server was unable to find the representation of the target resource or was unwilling to expose an existing representation of the resource.


Apache Tomcat/7.0.107


at Request._callback (/snapshot/server/build/server/Common/sources/utils.js:0:0)
at Request.init.self.callback (/snapshot/server/build/server/Common/node_modules/request/request.js:185:22)
at Request.emit (events.js:198:13)
at Request. (/snapshot/server/build/server/Common/node_modules/request/request.js:1154:10)
at Request.emit (events.js:198:13)
at IncomingMessage. (/snapshot/server/build/server/Common/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:286:20)
at IncomingMessage.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
[2021-08-23T14:16:10.375] [DEBUG] nodeJS - ExitCode (code=0;signal=null;error:-81;id=-1663177208)
[2021-08-23T14:16:10.376] [DEBUG] nodeJS - output (data={"cmd":{"withAuthorization":true,"c":"open","id":"-1663177208","userid":"uid-1","format":"docx","url":"http://172.16.30.7:8080/OnlineEditorsExampleJava_war_exploded/app_data/172.16.30.7/new%20%281%29.docx","title":"new (1).docx","outputformat":8192,"outputpath":"Editor.bin","embeddedfonts":false,"status_info":-81,"lcid":9,"nobase64":true}};id=-1663177208)
[2021-08-23T14:16:10.376] [DEBUG] nodeJS - postProcess (id=-1663177208)
[2021-08-23T14:16:10.376] [DEBUG] nodeJS - deleteFolderRecursive (id=-1663177208)
Hello, may I ask why this has been unable to visit, thank you

from build_tools.

ShockwaveNN avatar ShockwaveNN commented on June 4, 2024

This error on screenshot mean that DocumentServer host cannot download file from run Java example

This may be firewall\network or any other reasons

Try to download file from DocumentServer host using wget and see for any error

But those are general advices - I'm not very good at Java

from build_tools.

1205469665 avatar 1205469665 commented on June 4, 2024

I have already known the problem. I need to modify the URL method by myself. There seems to be some problems in the way of obtaining doc

from build_tools.

ShockwaveNN avatar ShockwaveNN commented on June 4, 2024

If you make some docker-compose file to reproduce this problem - I think we can fix it or find why this happen

from build_tools.

1205469665 avatar 1205469665 commented on June 4, 2024

This is an error in the Java demo of document-server-integration, which has nothing to do with onlyOffice Docker

from build_tools.

ShockwaveNN avatar ShockwaveNN commented on June 4, 2024

I understand that, but there is a lot of configuration properties in Java example, so reliable test case will be to setup docker-compose of Java example and connect it to DocumentServer docker image

from build_tools.

ShockwaveNN avatar ShockwaveNN commented on June 4, 2024

Closing this issue since it's not a problem with compilation per-se, but problem with setting up Java example

And also - no responce

from build_tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.